[jQuery] Re: Tabs not working... NEED HELP!!!

2010-01-29 Thread Erik
Thank you nathan!! You got yourself free skin care!!! Thank you. Erik On Jan 29, 3:03 pm, Nathan Klatt wrote: > On Fri, Jan 29, 2010 at 4:19 PM, Erik wrote: > >                var activeTab = $(this).find("a").attr("href"); //Find the > > rel > > Delete the find("a") bit and you're good. > >

[jQuery] Re: Tabs not working... NEED HELP!!!

2010-01-29 Thread Erik
Nathan, Thanks for your help. I'm really stumped!! Initially when it loads, it look s right, but when I click on the either tab, I loose the content. Erik On Jan 29, 2:26 pm, Nathan Klatt wrote: > On Fri, Jan 29, 2010 at 4:19 PM, Erik wrote: > >                var activeTab = $(this).find("

[jQuery] Re: Tabs not working... NEED HELP!!!

2010-01-29 Thread Erik
www.naturalskin.com/test.htm it's the right side panel... Erik On Jan 29, 2:26 pm, Nathan Klatt wrote: > On Fri, Jan 29, 2010 at 4:19 PM, Erik wrote: > >                var activeTab = $(this).find("a").attr("href"); //Find the > > rel > > attribute value to identify the active tab + conte

[jQuery] Re: tabs in one line, on small resolution

2010-01-13 Thread bill
just set the width of the containing div, not the min-width, as that is all that is required to prevent the collapsing and is supported by almost every browser available, including good ole IE6. @Greg to stop supporting IE6 means stop supporting the people who use IE6. many businesses rightly feel

[jQuery] Re: tabs in one line, on small resolution

2010-01-13 Thread Greg Tarnoff
Another option is using the CSS min-width to set a minimum width in case they make the window smaller, this will prevent the block from wrapping.. this will mean two things: 1) Side scrolling in 800x600, but let's be real you shouldn't have to support that these days anyway. 2) Min-width does

[jQuery] Re: tabs not working (initializing) in IE6

2009-12-10 Thread MorningZ
It's difficult to help when you provide nothing but "doesn't work"... the tabs definitely *do* work in IE6, but apparently you do not have it coded correctly On Dec 10, 1:46 pm, xelflex wrote: > Hello all! > > I'm working on a project that uses jquery tabs, which are cool and > all, but they don

[jQuery] Re: Tabs - Fade and Rotate

2009-09-10 Thread -e-train
that worked great. thanks so much. is there somewhere int he documentation that explains this? i looked up fade and it just talk about using slow, medium, fast, etc in the write up, but it doesn't show how to daisy chain the parameters... On Sep 9, 4:08 pm, Mr Speaker wrote: > Any extra optio

[jQuery] Re: Tabs - Fade and Rotate

2009-09-09 Thread Mr Speaker
Any extra options for the toggle can go where the opacity option is: { fx: { opacity: 'toggle', duration: 1000 } } On Sep 10, 7:27 am, -e-train wrote: > All - > > I have a set of tabs that I have gotten to rotate through via this > scipt: > > $(document).ready(function(){ >           $("#tabs")

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-08-05 Thread chris_huh
I have fixed it. In the end i used the original code: $(function() { $("#tabs").tabs({ fx: { opacity: 'toggle' } }).tabs ('rotate', 5000); }); But turned off the fade between items as that seems to have been the cause. So now i am using: $(function() {

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-08-02 Thread chris_huh
duh. thanks. but i also realise it is missing the auto rotate thing that could be set up using the tabs function. Is there not a way to use the tabs function with a return false. On Aug 2, 12:27 pm, waseem sabjee wrote: > In the code above you are using hide() instead of fadeOut() etc > > On Su

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-08-02 Thread waseem sabjee
In the code above you are using hide() instead of fadeOut() etc On Sun, Aug 2, 2009 at 12:42 PM, chris_huh wrote: > > I tried that and it didn't work. > > The second code i pasted above works (doesn't jump to top of page) but > it loses the fading ability. > Where as the first bit of code has th

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-08-02 Thread chris_huh
I tried that and it didn't work. The second code i pasted above works (doesn't jump to top of page) but it loses the fading ability. Where as the first bit of code has the fadign but jumps to the top, i don't know where to put the return false statement in that bit of code to prevent it doing tha

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-08-02 Thread waseem sabjee
return false is the standard method and will work no problem :) there is an alternative as well $(document).ready(function(e){ // function becomes function(e) e.preventDefault(); // prevent default behavior and ensure the click is canceled. $('#tabs div').hide(); $('#tabs div:first').show(); $('#

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-08-02 Thread chris_huh
Thanks. I don't know javascript much. Where would i put the return false I have: $(function() { $("#tabs").tabs({ fx: { opacity: 'toggle' } }).tabs('rotate', 5000); }); And i am not using onclick events. I tried using: $(document).ready(function(){ $('#tabs d

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-07-30 Thread kalyan Chatterjee
Just try to writereturn false on tab click event. On Jul 29, 6:53 pm, chris_huh wrote: > Thanks but I can't find jquery.history_remote.pack.js. I am using > jquery 1.7.1 and the tabs thing that comes with JQuery UI. > > On Jul 29, 2:25 pm, rupak mandal wrote: > > > Hi, if you remove the "jq

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-07-30 Thread Rodi
you have to return false; on click. On Jul 29, 6:53 am, chris_huh wrote: > Thanks but I can't find jquery.history_remote.pack.js. I am using > jquery 1.7.1 and the tabs thing that comes with JQuery UI. > > On Jul 29, 2:25 pm, rupak mandal wrote: > > > Hi, if you remove the "jquery.history_remot

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-07-29 Thread chris_huh
Thanks but I can't find jquery.history_remote.pack.js. I am using jquery 1.7.1 and the tabs thing that comes with JQuery UI. On Jul 29, 2:25 pm, rupak mandal wrote: > Hi, if you remove the "jquery.history_remote.pack.js" then I think it works > properly. > > On Wed, Jul 29, 2009 at 5:50 PM, chri

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-07-29 Thread chris_huh
Thanks but I can't find jquery.history_remote.pack.js. I am using jquery 1.7.1 and the tabs thing that comes with JQuery UI. On Jul 29, 2:25 pm, rupak mandal wrote: > Hi, if you remove the "jquery.history_remote.pack.js" then I think it works > properly. > > On Wed, Jul 29, 2009 at 5:50 PM, chri

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-07-29 Thread rupak mandal
Hi, if you remove the "jquery.history_remote.pack.js" then I think it works properly. On Wed, Jul 29, 2009 at 5:50 PM, chris_huh wrote: > > At the moment my page will jump to the top (because of the #) whenever > a new tab is clicked or when it automatically rotates to one. > > Is there a way to

[jQuery] Re: tabs and ajax

2009-06-11 Thread nextpulse
I reported this before - since you can easily reproduce it with the sample code. But someone removed the thread, so here the archive link: http://www.nabble.com/bugs-with-multiple-fast-tab-clicks-tp23785806s27240p23785806.html On Jun 11, 4:01 am, cwiese wrote: > I have the SAME ISSUE -  SAME

[jQuery] Re: tabs and ajax

2009-06-11 Thread cwiese
I have the SAME ISSUE - SAME VERSIONS - my tabs worked prior to upgrading to Jquery UI 1.7. Now, when using REMOTE (ajax) tabs - if a user click a tab - while another is loading the Ajax does get called, and the DIV gets populated but the CLASS that determines which tab is visible does not every

[jQuery] Re: tabs and ajax

2009-06-10 Thread nextpulse
jquer - 1.3.2 jqueryui - 1.7.1 On May 30, 3:01 am, Klaus Hartl wrote: > Which version are you using? I've fixed a similiar bug (if not the > same) bug a while ago... > > --Klaus > > On 28 Mai, 19:30, nextpulse wrote: > > > I have 3 tabs that each loads using ajax (via href). > > The problem i

[jQuery] Re: tabs with cycle crashes in ie6

2009-06-09 Thread waseem sabjee
Degrading is an options if browser is IE6 tabs will not be dynamic. you can use php or ASP to load content on postback however the above method is a last ditch solution On Tue, Jun 9, 2009 at 10:22 PM, Mauricio Vargas wrote: > Hi Everybody, > > i'm doing a site that uses tabs and cycle together

[jQuery] Re: tabs are not created

2009-06-08 Thread Charlie
not much to work from here but sure sounds like script isn't activating did you include jQuery.js and jQueryUI.js files? are paths to these files correct? is order correct? did you intitiate $("#tabs).tabs(); ? is syntax correct? more code or link would help, markup alone doesn't tell a lot

[jQuery] Re: tabs and ajax

2009-05-30 Thread Klaus Hartl
Which version are you using? I've fixed a similiar bug (if not the same) bug a while ago... --Klaus On 28 Mai, 19:30, nextpulse wrote: > I have 3 tabs that each loads using ajax (via href). > The problem i am having is that while a tab is loading - the user can > click on another tab (as they

[jQuery] Re: tabs and ajax

2009-05-29 Thread Gustavo Salomé
U may remove the href attr and set it into another attribute in the beforeSend function and then restore it on complete function. Hope ive helped []'s 2009/5/28 nextpulse > > I have 3 tabs that each loads using ajax (via href). > The problem i am having is that while a tab is loading - the user

[jQuery] Re: Tabs Custom HTML

2009-05-09 Thread Klaus Hartl
Not really. You have to meet only one condition - the list to tabify has to be nested in a container. You can then put your panels whereever you want. Of course you can't ask for Themeroller support in that case. --Klaus On 9 Mai, 17:31, "kim...@gmail.com" wrote: > Hi everyone, > > With the la

[jQuery] Re: tabs collapsed by default on open

2009-04-17 Thread robintrain...@yahoo.com
THANK YOU SO SO MUCH! On Apr 16, 7:29 pm, Klaus Hartl wrote: > On 16 Apr., 20:38, "robintrain...@yahoo.com" > wrote: > > > Hello everyone. Is there a way to have tabs created in jQuery that are > > collapsed when the page loads? I use this: > > > $(document).ready(function(){ > > $("#tabs").tab

[jQuery] Re: tabs collapsed by default on open

2009-04-16 Thread Klaus Hartl
On 16 Apr., 20:38, "robintrain...@yahoo.com" wrote: > Hello everyone. Is there a way to have tabs created in jQuery that are > collapsed when the page loads? I use this: > > $(document).ready(function(){ > $("#tabs").tabs({ collapsible: true > > }); > }); > > to allow the user to click on the tab

[jQuery] Re: Tabs and tables

2009-03-25 Thread MorningZ
any valid HTML can go inside those 's that are the content tabs Your breakage has absolutely nothing to do with the tabs plugin but rather with your HTML usage On Mar 24, 11:14 pm, Joe Tseng wrote: > Currently I am working on an entry form that I've realized has become too > long and would li

[jQuery] Re: tabs into tabs

2009-03-22 Thread David
Thanks Mauricio ... made me feel noob again, as a php programmer i just started to use jquery.

[jQuery] Re: tabs into tabs

2009-03-22 Thread Mauricio (Maujor) Samy Silva
Hi Davi, It is not allowed to have more than one div#tabs ID's values must be unique in a document. Regards, Maurício -Mensagem Original- De: "David" Para: "jQuery (English)" Enviada em: domingo, 22 de março de 2009 09:55 Assunto: [jQuery] tabs into tabs Hi, probably a simple

[jQuery] Re: Tabs dont work.

2009-03-18 Thread MorningZ
You thought incorrectly as for getting help, there is a dedicated jQueryUI mailing list (http://groups.google.com/group/jquery-ui?hl=en&lnk=), you'll get more focused help there I took some time to try to get your tabs working yesterday, but the HTML was too messy/overly complex... sorry O

[jQuery] Re: Tabs dont work.

2009-03-18 Thread Spence
okey, but i thought the way to make the tabs hasnt changed? Does anyone else have something i can try? maybe someone who has had simular problems?

[jQuery] Re: Tabs dont work.

2009-03-17 Thread MorningZ
"The thing is that it worked on the old version of jquery, and tabs" and the code has since changed from old to new, so just because it worked before means nothing On Mar 17, 10:16 am, Spence wrote: > Thanks for the answer, but it dont work, a get the same problem. > The thing is that it worke

[jQuery] Re: Tabs dont work.

2009-03-17 Thread Spence
Thanks for the answer, but it dont work, a get the same problem. The thing is that it worked on the old version of jquery, and tabs. I`m not sure where i found the example for the wireing, but it worked, and that is the thing that pisses me off.

[jQuery] Re: Tabs dont work.

2009-03-17 Thread MorningZ
I'm not sure where you got your example code of how to wire up the tabs, but you have $(".meny").tabs() and your HTML is: ... links ... the selector for tabs is going to look for a UL right under the selected item (which your HTML is

[jQuery] Re: Tabs, how to find what kind of object....

2009-02-18 Thread Aleem B
The examples and pasted snippets are way too complex to get my head around--16 files in 5 folders. Maybe if you simplified it to one or two files with everything in it, people here might have a better chance understanding the problem. you could also try irc for some quicker guidance @ #jQuery on i

[jQuery] Re: Tabs, how to find what kind of object....

2009-02-18 Thread m.ugues
The problem is that I can access any element from the iframe to the parent iframe (even the tabs). I can hide tabs div, I can show it, but when i call specific properties on tabs element something goes wrong. I made a simple test case explained here. http://groups.google.com/group/jquery-en/brow

[jQuery] Re: Tabs, how to find what kind of object....

2009-02-18 Thread Aleem B
> I got this problem > > var $tabs = parent.$('#operativitaframe').contents().find > ('#tabsContainer').tabs(); > alert($tabs); > > This prints [object Object]; > how can I know if this is the tabs object instead of something else? $tabs is actually a jQuery object. tabs() may add some additional

[jQuery] Re: Tabs, how to find what kind of object....

2009-02-18 Thread mkmanning
Get Firebug. Not meaning to sound flippant, but debugging with alerts is painful and living in the past. Firebug will allow you to see inside the object by doing console.log($tabs). To save you some frustration, if you try and log a string plus the object to the Firebug console you'll get [object

[jQuery] Re: tabs, ajax mode, spinner not removed

2009-02-15 Thread over.nine.k
The CSS workaround workd for me. The class was just wrong use: .ui-tabs-loading em instead of: .ui-tabs-load em and: .tabs({ spinner: '.'}); (used a dot so the text will hide behind the image) On Feb 10, 7:08 pm, brian wrote: > On Tue, Feb 10, 2009 at 4:12 PM, Klaus Hartl > wrote: > > > As

[jQuery] Re: tabs, ajax mode, spinner not removed

2009-02-15 Thread over.nine.k
The CSS workaround worked for me, the class was just wrong. Use: .ui-tabs-loading em Instead of: .ui-tabs-load em set your tab selector to: .tabs({ spinner: '.'}); (a dot, so the image covers it. Or just use better CSS) On Feb 10, 7:08 pm, brian wrote: > On Tue, Feb 10, 2009 at 4:12 PM,

[jQuery] Re: tabs, ajax mode, spinner not removed

2009-02-11 Thread brian
On Wed, Feb 11, 2009 at 5:16 AM, Klaus Hartl wrote: > > Thanks for this information. I'm about to rewrite this stuff a bit > anyway due to some other bug, and I'll take your findings into > account. Thanks again. No problem. I'll try again to get logged into Trac, create a new UID, if necessary,

[jQuery] Re: tabs, ajax mode, spinner not removed

2009-02-11 Thread Klaus Hartl
Thanks for this information. I'm about to rewrite this stuff a bit anyway due to some other bug, and I'll take your findings into account. Thanks again. What I really wonder about is, that this code used to work actually. This is why this whole logic with filtering an images in there... It surely

[jQuery] Re: tabs, ajax mode, spinner not removed

2009-02-10 Thread brian
On Tue, Feb 10, 2009 at 4:17 PM, Klaus Hartl wrote: > > I've created the ticket aready: > http://dev.jqueryui.com/ticket/4109 > Thanks, Klaus. I think I've sorted this out, actually. Although I'm not certain of a fix. I should have been logging this[0].tagName, not inner(this)[0].tagName. The a

[jQuery] Re: tabs, ajax mode, spinner not removed

2009-02-10 Thread brian
On Tue, Feb 10, 2009 at 4:12 PM, Klaus Hartl wrote: > > As a quick workaround, does the following work: > > spinner: '' no difference > Or, you could also not touch the default spinner, but add the image as > background-image: > > .ui-tabs-load em { >padding-left: 20px; >background: url

[jQuery] Re: tabs, ajax mode, spinner not removed

2009-02-10 Thread Klaus Hartl
I've created the ticket aready: http://dev.jqueryui.com/ticket/4109 --Klaus

[jQuery] Re: tabs, ajax mode, spinner not removed

2009-02-10 Thread Klaus Hartl
As a quick workaround, does the following work: spinner: '' Or, you could also not touch the default spinner, but add the image as background-image: .ui-tabs-load em { padding-left: 20px; background: url(/css/images/misc/spinner.gif) no-repeat; } Interestingly you're already keeping th

[jQuery] Re: tabs, ajax mode, spinner not removed

2009-02-10 Thread brian
On Tue, Feb 10, 2009 at 4:21 AM, Klaus Hartl wrote: > > Hello Brian, would you mind to file a bug for this? > > --Klaus I don't mind at all.In fact, I've found a partial fix. Not really a fix, but a lead, anyway. However, I don't see any obvious way to reset my forgotten password for Trac. There

[jQuery] Re: tabs, ajax mode, spinner not removed

2009-02-10 Thread Klaus Hartl
Hello Brian, would you mind to file a bug for this? --Klaus On 10 Feb., 06:18, brian wrote: > jquery 1.3.1, UI.Tabs 1.6rc6, FF3.0.6 > > Whenever any tabs load the spinner img will remain visible. I'm using > the following for the spinner option for tabs (I've removed everything > else with the

[jQuery] Re: tabs, ui.panel

2009-02-01 Thread Klaus Hartl
I think I've answered to that question already somewhere else, but here we go. Yes, ui.panel is a reference to the div DOM node that contains the content of a tab. You can do with it whatever you want to/ can do with a DOM node, for example wrap it in a jQuery object or retrieve its id (ui.panel.i

[jQuery] Re: Tabs Documentation

2009-01-15 Thread rolfsf
I was not logged in, so that's a partial confirmation On Jan 15, 12:35 pm, "Richard D. Worth" wrote: > Someone mentioned that this may be related to whether you are logged in or > not. I haven't had a chance to look into this yet. Just throwing it out, in > case it helps anyone. > > - Richard

[jQuery] Re: Tabs Documentation

2009-01-15 Thread Richard D. Worth
Someone mentioned that this may be related to whether you are logged in or not. I haven't had a chance to look into this yet. Just throwing it out, in case it helps anyone. - Richard On Thu, Jan 15, 2009 at 3:24 PM, rolfsf wrote: > > I get a "Media Wiki Internal Error" at that URL - have been s

[jQuery] Re: Tabs Documentation

2009-01-15 Thread rolfsf
I get a "Media Wiki Internal Error" at that URL - have been seeing that for a couple days On Jan 15, 10:05 am, Marta Figueiredo wrote: > Hi, > > Have you triedhttp://docs.jquery.com/UI/Tabs? > It seems to be working.. > M. > > Jared wrote: > > Hi > > > The documentation page for Tabs has not bee

[jQuery] Re: Tabs Documentation

2009-01-15 Thread Marta Figueiredo
Hi, Have you tried http://docs.jquery.com/UI/Tabs ? It seems to be working.. M. Jared wrote: Hi The documentation page for Tabs has not been working for a couple of days, any idea when it will be available again? Thanks

[jQuery] Re: Tabs - External link not working on remote tab in IE 7

2008-12-14 Thread Klaus Hartl
That demo was outdated... I've updated it and everything works as expected. --Klaus On 12 Dez., 21:52, strummer75 wrote: > Klaus, > Thanks for the response and I hope you enjoyed your vacation! > The tab I am puling in is not cross domain... all the same domain so I > am hoping I did not misre

[jQuery] Re: Tabs - External link not working on remote tab in IE 7

2008-12-12 Thread strummer75
Klaus, Thanks for the response and I hope you enjoyed your vacation! The tab I am puling in is not cross domain... all the same domain so I am hoping I did not misrepresent remote tabs. The issue only occurs with IE 7 (a browser that is finicky at the wrong times... not the right ones). I found a

[jQuery] Re: Tabs - External link not working on remote tab in IE 7

2008-12-04 Thread Klaus Hartl
On Dec 4, 5:59 pm, strummer75 <[EMAIL PROTECTED]> wrote: > Is there a secret handshake in this group? No, I was on vacation. :) External links do not work as remote tabs - because of security reasons cross-domain Ajax requests are not allowed. --Klaus

[jQuery] Re: Tabs - External link not working on remote tab in IE 7

2008-12-04 Thread strummer75
Is there a secret handshake in this group? I am happy to go thru fraternity hazing to learn it. :) On Dec 3, 10:38 am, strummer75 <[EMAIL PROTECTED]> wrote: > Dear jQuery gang, > I am having the following issue with a remote content tab in IE 7. > > Here's the scoop: > > Link on one page ie: (htt

[jQuery] Re: Tabs - #Link not working for ajax tab in IE 7

2008-12-03 Thread strummer75
Bumped to here http://groups.google.com/group/jquery-en/browse_thread/thread/d7ea7e3a047dc116?hl=en# On Nov 25, 11:14 am, strummer75 <[EMAIL PROTECTED]> wrote: > I am having an issue in IE 7 and UI/Tabs as follows: > > I am linking directly to a tabs id from another page like so: > > http://deva

[jQuery] Re: Tabs - #Link not working for ajax tab in IE 7

2008-12-01 Thread strummer75
Help! Please! I cannot seem to figure out why IE isnt truly loading the AJAX content into a tab properly when linking to it from a seperate page. Has anyone else experienced this issue? Klaus? Maybe I could buy somebody some donuts and coffee if they live Northern VA :) - Tony On Nov 25, 11:1

[jQuery] Re: Tabs: get selected tab?

2008-11-14 Thread Hector Virgen
Thanks! I didn't notice that under the Events section. :) -Hector On Fri, Nov 14, 2008 at 12:35 PM, Richard D. Worth <[EMAIL PROTECTED]>wrote: > > On Fri, Nov 14, 2008 at 3:31 PM, Hector Virgen <[EMAIL PROTECTED]> wrote: > >> Thanks for your reply, Tristan. Unfortunately, that solution only work

[jQuery] Re: Tabs: get selected tab?

2008-11-14 Thread Richard D. Worth
On Fri, Nov 14, 2008 at 3:31 PM, Hector Virgen <[EMAIL PROTECTED]> wrote: > Thanks for your reply, Tristan. Unfortunately, that solution only works if > the tabs are never changed. For example, if tomorrow my client asks me to > switch tab 2 with tab 4, I will have to update my html *and* javascri

[jQuery] Re: Tabs: get selected tab?

2008-11-14 Thread Hector Virgen
Thanks for your reply, Tristan. Unfortunately, that solution only works if the tabs are never changed. For example, if tomorrow my client asks me to switch tab 2 with tab 4, I will have to update my html *and* javascript. I would prefer to not have to update the javascript, which would be possible

[jQuery] Re: Tabs: get selected tab?

2008-11-14 Thread Tristan
Use "ui.index" to access the currently active tab's index, zero being the first tab and so on. $('ul.tabs').tabs({ show: function(event, ui) { if (ui.index == 0) { // do stuff } else if (ui.index == 1) { // do other stuff } } }); On Nov 14,

[jQuery] Re: Tabs not working in IE, fine in FF

2008-11-12 Thread JD
Ok, I've done some more debugging. This is what I have: $(function () { var tabs = []; var tabContainers = []; var tabContents = $('div.tabs > div'); tabContents.hide().

[jQuery] Re: Tabs not working in IE, fine in FF

2008-11-12 Thread JD
I've done some looking at it looks like my var tabs = [ ]; doesn't return anything in IE, but it does in FF. I get an array on an alert in FF, but get a blank alert on IE. Any ideas? I've left the alert in for now. Thanks. On Nov 12, 12:50 pm, JD <[EMAIL PROTECTED]> wrote: > I have set up a t

[jQuery] Re: Tabs - Preserve onclick on selected tab

2008-11-05 Thread fleabo
Thanks Klaus, works perfectly. ger On Nov 4, 11:47 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > My bad. Try this instead: > > var $tabs = $('#staff-tab > ul').tabs({ cookie: { expires: 30 } }); > $('a', $tabs).click(function() { >     if ( $(this).parent().hasClass('ui-tabs-selected') ) { >    

[jQuery] Re: Tabs - Preserve onclick on selected tab

2008-11-04 Thread Klaus Hartl
My bad. Try this instead: var $tabs = $('#staff-tab > ul').tabs({ cookie: { expires: 30 } }); $('a', $tabs).click(function() { if ( $(this).parent().hasClass('ui-tabs-selected') ) { $tabs.tabs('load', $('a', $tabs).index(this)); } }); --Klaus On 4 Nov., 23:19, fleabo <[EMAIL PR

[jQuery] Re: Tabs - Preserve onclick on selected tab

2008-11-04 Thread fleabo
I've used your code like this (maybe it's not the right way); $(document).ready(function(){ var $tabs = $('#staff-tab > ul').tabs({ select: function(e, ui) { if (ui.index === $tabs

[jQuery] Re: Tabs - Preserve onclick on selected tab

2008-11-04 Thread Klaus Hartl
Well, if the tab initially loads that form, the code I've posted should work. --Klaus On 4 Nov., 17:57, bogno <[EMAIL PROTECTED]> wrote: > Sorry, should of specified. I want to reload a blank (original load) form. I > am using it for a ticket system, so if someone wants to submit a second > ti

[jQuery] Re: Tabs - Preserve onclick on selected tab

2008-11-04 Thread bogno
Sorry, should of specified. I want to reload a blank (original load) form. I am using it for a ticket system, so if someone wants to submit a second ticket, all they have to do is click on the tab to get an empty form. At present I use the tabs option { unselect: true } which works but requires

[jQuery] Re: Tabs - Preserve onclick on selected tab

2008-11-04 Thread Klaus Hartl
What does "reload the form" mean? Reloading the result of the formerly submitted form or load a blank form again? The former will be a bit more complicated. --Klaus On 4 Nov., 14:34, bogno <[EMAIL PROTECTED]> wrote: > I can't seem to get this to work. > > I have a tab that I load a form into, s

[jQuery] Re: Tabs - Preserve onclick on selected tab

2008-11-04 Thread bogno
I can't seem to get this to work. I have a tab that I load a form into, submit the form via ajax and return a view which replaces the form in the tab. So far everything works ok. I would then like to have the possibility for the user to click on the active tab so as to reload the form. My tabs

[jQuery] Re: Tabs - Preserve onclick on selected tab

2008-10-23 Thread Klaus Hartl
var $tabs = $('#example').tabs({ select: function(e, ui) { if (ui.index === $tabs.data('selected.tabs')) { $tabs.tabs('load', ui.index); } } }); --Klaus On 23 Okt., 16:58, fleabo <[EMAIL PROTECTED]> wrote: > Is it possible to click on the selected tab so as t

[jQuery] Re: Tabs - select tab when creating a new remote tab

2008-10-09 Thread fleabo
tabs("length") does not work, however this does. var lgt = $('#tabs > ul').tabs("length"); $('#tabs > ul').tabs("select", (lgt -1)); Thanks On Oct 8, 12:35 pm, BB <[EMAIL PROTECTED]> wrote: > Try: > $("#tabs > ul").tabs( "add", "url/index.htm", "label" ).tabs("select", > $("#tabs > ul").tabs("l

[jQuery] Re: Tabs - select tab when creating a new remote tab

2008-10-08 Thread Klaus Hartl
Or like described in the FAQ: var $tabs = $('#example').tabs({ add: function(e, ui) { $tabs.tabs('select', '#' + ui.panel.id); } }); http://docs.jquery.com/UI/Tabs#...immediately_select_a_just_added_tab.3F --Klaus On 8 Okt., 12:35, BB <[EMAIL PROTECTED]> wrote: > Try: > $("#ta

[jQuery] Re: Tabs - select tab when creating a new remote tab

2008-10-08 Thread BB
Try: $("#tabs > ul").tabs( "add", "url/index.htm", "label" ).tabs("select", $("#tabs > ul").tabs("length")); On 8 Okt., 11:06, fleabo <[EMAIL PROTECTED]> wrote: > I'm using the UI Tabs (very nice). > > I need to create a new remote tab and then select it, however the only > way I can see  reading

[jQuery] Re: Tabs with multiple CSS classes

2008-09-27 Thread Klaus Hartl
On 27 Sep., 01:06, "Dan Baughman" <[EMAIL PROTECTED]> wrote: > Is looking at the noncompressed code the best way to figure that stuff out > with out having to ask? The best way is reading the documentation: http://docs.jquery.com/UI/Tabs *But*: In this special case you wouldn't have had luck, be

[jQuery] Re: Tabs with multiple CSS classes

2008-09-26 Thread Dan Baughman
Thank you kindly sir, that did exacly what I wanted. I only had to use the navClass: 'my-ui-tabs-nav' option. Is looking at the noncompressed code the best way to figure that stuff out with out having to ask? On 9/26/08, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > You can change the class na

[jQuery] Re: Tabs with multiple CSS classes

2008-09-26 Thread Klaus Hartl
You can change the class names via options (undocumented): $('#foo').tabs({ navClass: 'my-ui-tabs-nav' selectedClass: 'my-ui-tabs-selected', disabledClass: 'my ui-tabs-disabled', panelClass: 'my-ui-tabs-panel', loadingClass: 'my-ui-tabs-loading' }); Althou

[jQuery] Re: Tabs and focus() input-Elements issue

2008-09-14 Thread qt
Hi Klaus Thanks anyway. Regards! QT On Sep 12, 1:12 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Hallo QT, > > I noticed you're using the old Tabs 2. I do not support that any > longer, UI Tabs replaced it since quite a while and I don't really > have the time to support both. I suspect that th

[jQuery] Re: Tabs Rotate Overlap

2008-09-12 Thread Orkan
btw. I played a bit with ui.effects on Tabs http://orkan.jaslo4u.pl/chili_toolbar/ On Sep 11, 11:31 am, Klaus Hartl <[EMAIL PROTECTED]> wrote: > You mean the animation? I'm sorry, currently not. Implement cross- > fading is on my list though... > > --Klaus > > On Sep 10, 3:57 pm, Chad Pry <[EMAI

[jQuery] Re: Tabs and focus() input-Elements issue

2008-09-12 Thread Klaus Hartl
Hallo QT, I noticed you're using the old Tabs 2. I do not support that any longer, UI Tabs replaced it since quite a while and I don't really have the time to support both. I suspect that the focus problem has something do do with history but I'm not sure. --Klaus On Sep 11, 9:32 am, qt <[EMAI

[jQuery] Re: Tabs and focus() input-Elements issue

2008-09-11 Thread qt
Hi Klaus Thanks for getting back. "Calling the tab directly" means calling the page NOT from the Tab(s) but from an external link or by passing it in the browsers address bar. "Calling from the tab itself" means, calling the tab by clicking on a tab-button-link (swithing from one tab to the othe

[jQuery] Re: Tabs and focus() input-Elements issue

2008-09-11 Thread qt
Hi Klaus Thanks for your reply: By "calling the tab directly", I mean to load a tab from an external page or by entering the url (from the tab) in the browsers address bar. "calling from the tab itself" means to click a tab to load its contents. See an online demo from your demo page (first exa

[jQuery] Re: Tabs Rotate Overlap

2008-09-11 Thread Klaus Hartl
You mean the animation? I'm sorry, currently not. Implement cross- fading is on my list though... --Klaus On Sep 10, 3:57 pm, Chad Pry <[EMAIL PROTECTED]> wrote: > Is there a way to get the tabs rotation effect to overlap just a > little bit?

[jQuery] Re: Tabs ui links

2008-09-10 Thread Daniel Beard
Hi again, Just one thing. I noticed that this only works the first time you click a link. Any subsequent links open to a new page instead of the tab. It was quite easy to fix with livequery though, giving the following code: $(document).ready(function(){ $('#example > ul').tabs({

[jQuery] Re: Tabs and focus() input-Elements issue

2008-09-08 Thread Klaus Hartl
I don't understand yet. Can you explain the difference of "calling the Tab directly" and "calling from the tab(s) itself", ideally with code samples? --Klaus On Sep 8, 4:34 pm, qt <[EMAIL PROTECTED]> wrote: > Hi list > > We use Klaus Hartls' Tabs in a company intranet application. > It's just a

[jQuery] Re: Tabs ui links

2008-09-08 Thread Klaus Hartl
No problem - that happens quite a lot. I've no problem with being mistaken with Karl, the jQuery Karl, hehe ;-) --Klaus On Sep 8, 1:20 pm, Daniel Beard <[EMAIL PROTECTED]> wrote: > Sorry, I meant Klaus! > > I get called David a lot > > Daniel > > On 7 sep, 11:22, Klaus Hartl <[EMAIL PROTECT

[jQuery] Re: Tabs ui links

2008-09-08 Thread Daniel Beard
Sorry, I meant Klaus! I get called David a lot Daniel On 7 sep, 11:22, Klaus Hartl <[EMAIL PROTECTED]> wrote: > You need to ajaxify those links after the content has been loaded: > > $(function() { > $('#example').tabs({ > load: function(e, ui) { > $('a', ui.panel).

[jQuery] Re: Tabs ui links

2008-09-08 Thread Daniel Beard
Thank you very much Karl, that worked perfectly! Daniel On 7 sep, 11:22, Klaus Hartl <[EMAIL PROTECTED]> wrote: > You need to ajaxify those links after the content has been loaded: > > $(function() { > $('#example').tabs({ > load: function(e, ui) { > $('a', ui.panel).clic

[jQuery] Re: Tabs ui links

2008-09-07 Thread Klaus Hartl
You need to ajaxify those links after the content has been loaded: $(function() { $('#example').tabs({ load: function(e, ui) { $('a', ui.panel).click(function() { $(ui.panel).load(this.href); return false; }); } }); }

[jQuery] Re: tabs pluggin how to load tab with external domain data

2008-08-19 Thread roundcrisis
Hi I found in UI.Jquery google groups that you can use an iframe to do this however i cant get to make it work for a start i m sure i m adding the frame in the wrong place (just after $("#tabs > ul").tabs()) and i just append an iframe to the first tab (this doesnt look to goood) then i m tryi

[jQuery] Re: Tabs UI - Mousing over a tab to display content of all panels

2008-06-26 Thread Rey Bango
Hi, Can you post jQuery UI questions to the UI mailing list? http://groups.google.com/group/jquery-ui?hl=en List will ensure you get the best response to your questions. Thanks, Rey... CBlackstone wrote: I have implemented Tabs in such a way that mouseover works to display the various cont

[jQuery] Re: Tabs and forms - Can this be done?

2008-05-13 Thread Klaus Hartl
Check out the jquery form plugin, it makes ajaxifying forms a no- brainer, be it in a tab panel or elsewhere. All you have to to is specify the target where the response should go and attach the behavior to the form. Say your form is inside a tab panel and you want to replace the whole panel cont

[jQuery] Re: Tabs 3 Css problem

2008-05-11 Thread YWFTDG
Klaus, Thanks, that solved it, I saw this in better detail on the full documentation and applied it to the target divs and tabs nav. Overall its working great now, but I noticed going from a ajax loaded php page with quicktime, it fades in the page, but clicking back on a different tab it doesn't

[jQuery] Re: Tabs 3 Css problem

2008-05-10 Thread Klaus Hartl
On May 10, 5:57 pm, Dave Methvin <[EMAIL PROTECTED]> wrote: > > I am having a issue with the Tabs 3 plugin. Every time on page load, > > the list (nav) flashes a unstyled (no css) version of the list (purple > > links, bullets), then flashes to the correct version with the styles > > from the ui.t

[jQuery] Re: Tabs 3 Css problem

2008-05-10 Thread Dave Methvin
> I am having a issue with the Tabs 3 plugin. Every time on page load, > the list (nav) flashes a unstyled (no css) version of the list (purple > links, bullets), then flashes to the correct version with the styles > from the ui.tabs.css. Are you using .ready(fn) or are you using .load(fn)? If yo

  1   2   3   >