[jQuery] Re: UI tabs problem - ui-tabs-disabled class not being assigned

2008-12-31 Thread Klaus Hartl
The disabled class is not supposed to be assigned to all but the selected tab. Where did you get that information from? It is only assigned to tabs that either are disabled via option $(...).tabs({ disabled: [1, 2]}); or if a single tab is manually disabled: $(...).tabs('disable', 1); There is

[jQuery] Re: jQuery UI tabs widget problem

2008-12-31 Thread Klaus Hartl
No suggestions unless you show us some code... --Klaus On 31 Dez., 08:11, JasonR wrote: > Hello, > I have some content and am using the tabs widget to reload without > refreshing. Everything is working fine except for one problem...the ui- > tabs-disabled class is not being assigned to any of

[jQuery] Re: Jquery Tabs issue, linking to another tab from within the same document...

2008-12-31 Thread Klaus Hartl
I assume you're using UI Tabs... http://docs.jquery.com/UI/Tabs#...select_a_tab_from_a_text_link_instead_of_clicking_a_tab_itself --Klaus On 30 Dez., 19:09, Ted wrote: > I'm having a problem with Jquery's tab plugin. > > Specifically, I've got a page with a couple of tabs. On that page, in >

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-30 Thread Klaus Hartl
On 30 Dez., 08:45, "Alexandre Plennevaux" wrote: > "JavaScript enclosures"? > > i think it has to do with encapsulating your code inside a function so > that all vars are inside the function's scope, so not cluttering the > global namespace. > This, to avoid memory leak. Are you implying that gl

[jQuery] Re: Selecting disparate elements in unobtrusive javascript without parameters?

2008-12-27 Thread Klaus Hartl
> > That would work fine, but it involves parsing the ID for a name > > component that is "common" to the link and the DIV. > > Yes, indeed, that is exactly what you would do. But it's so simple - it > takes less code to do it than describe it. For example: > >     $(function() { >         $('#lef

[jQuery] Re: Selecting disparate elements in unobtrusive javascript without parameters?

2008-12-26 Thread Klaus Hartl
You said you don't want to litter your code with bogus classes, but - speaking of unobtrusive - you do litter it with bogus anchors (href="#"). That said, the most obvious solution to me is to give these anchors a little more meaning by letting them point to the div they seem to be connected to an

[jQuery] Re: image tag xhtml validate

2008-12-25 Thread Klaus Hartl
Well, as long as you serve your so called XHTML as text/html it is HTML anyway, thus no need to worry about a thing. --Klaus On 25 Dez., 18:48, Saledan wrote: > Hi, > just a question about xhtml validation. > I have an xhtml page and it has been validate. > Now i add with .append some image, i

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

2008-12-14 Thread Klaus Hartl
cripts.html#Tab_one > > Accessing that link in IE 7 wont show the tab contents until you click > Tab Two and then click back to Tab One. > > Thanks, > Tony > > On Dec 5, 12:20 am, Klaus Hartl wrote: > > > On Dec 4, 5:59 pm,strummer75 wrote: > &g

[jQuery] Re: jQuery Plugin --> DOMisBetter

2008-12-13 Thread Klaus Hartl
is valid XHTML. --Klaus On 11 Dez., 03:59, RobG wrote: > On Dec 11, 7:45 am, KillIEbrowser wrote: > > > DOMisBetter is different from jQuery( html, [ownerDocument] ) > > >http://docs.jquery.com/Core/jQuery#htmlownerDocument > > That part of the documentation needs to be updated. Where it say

[jQuery] Re: can one detect if the current tab is still visible?

2008-12-12 Thread Klaus Hartl
Have you tried to add a blur handler to the window object? --Klaus On 12 Dez., 05:21, Rene Veerman wrote: > I've got a slideshow that polls the server each 7 seconds for new images > to display, and want to pause it when the tab that the user is on isn't > visible.. > I have little hope of it

[jQuery] Re: Selector filters using less-than/greater-than operators?

2008-12-09 Thread Klaus Hartl
You don't have to wrap all and everything in a jQuery object and so can make the parser a tiny little faster. For certain attributes though you may have to use the attr method as it normalizes browser inconsistencies. $('element').filter(function() { return this.attribute <= x; }); --Klaus

[jQuery] Re: Jquery Tabs 2 CSS styles?

2008-12-09 Thread Klaus Hartl
Well, it can't work because nowhere in your HTML is a class named "tabs-container2". The plugin itself (older versions) adds the class "tabs-container" to the tab panels - that's why you're not seeing it in the initial HTML and why that width is applied to both tab sets. You can see that class tho

[jQuery] Re: jQuery tabs: want ajax call to only fire once

2008-12-08 Thread Klaus Hartl
Set cache option to true. http://docs.jquery.com/UI/Tabs/tabs#options --Klaus On 20 Nov., 01:11, nemozob <[EMAIL PROTECTED]> wrote: > I'm using jQuery tabs and wanted to load the non-active tab content > via ajax. It looks like the default method loads the remote content > each time. > > What

[jQuery] Re: jQuery UI Tabset with ajax reloads tab content

2008-12-08 Thread Klaus Hartl
Use cache option: $('#example ul').tabs({ cache: true }); http://docs.jquery.com/UI/Tabs/tabs#options --Klaus On 24 Nov., 15:43, Carpii <[EMAIL PROTECTED]> wrote: > Im using a jQuery UI tabset, with each tab contents loaded dynamically > >         >                 >                      

[jQuery] Re: simple selector problem :beginner();

2008-12-08 Thread Klaus Hartl
> $("span", $(this)) There is really no need to wrap this in a jQuery object: $('span', this) --Klaus

[jQuery] Re: jQuery tabs - anyway to fire the script prior to onload?

2008-12-08 Thread Klaus Hartl
You can include the script after the HTML it works with, for example right before the closing body tag, and not use the ready handler: jQuery.noConflict(); jQuery('#latest > ul').tabs({ fx: { opacity: 'toggle' } }); jQuery('#carousel > ul').tabs({ fx: { opacity: 'show' }

[jQuery] Re: jQuery Plugin --> DOMisBetter

2008-12-08 Thread Klaus Hartl
"Hi All, the idea is a very simple and powerful JavaScript library. This library checks the browser of your home page visitor and when the browser is IE the library shows your alert message." if (/msie/.test(navigator.userAgent.toLowerCase()) && !/opera/.test(navigator.userAgent

[jQuery] Re: Webdeveloper to WebDeveloper

2008-12-06 Thread Klaus Hartl
Maybe you should make clearer that the articles are copied from somewhere else ("out of the web"). --Klaus On 6 Dez., 03:43, Pedram <[EMAIL PROTECTED]> wrote: > Dear folk , > If you're interested on web development Articles which is updated and > has lots of new information.(Web developer to w

[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: event binding at bottom of page instead of ready() pitfalls?

2008-11-14 Thread Klaus Hartl
I have no link but used that approach for plazes.com. The only pitfall I came across is that some plugin's (in my case the datepicker) internally use the ready event, which can cause some troubles. Apart from that, perceived page loading/rendering was much much faster, especially since I put Goo

[jQuery] Re: Tab divs disappear

2008-11-13 Thread Klaus Hartl
beta/index2.php > > On Nov 13, 3:26 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > In any case - as I already stated - rotate with Ajax tabs is not > > supported at the moment. > > > --Klaus > > > On 13 Nov., 22:25, Klaus Hartl <[EMAIL PROTECTED]&

[jQuery] Re: Tab divs disappear

2008-11-13 Thread Klaus Hartl
In any case - as I already stated - rotate with Ajax tabs is not supported at the moment. --Klaus On 13 Nov., 22:25, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Maybe I am just blind, but I couldn't find tabs, and got a "We > couldn't find your document." inste

[jQuery] Re: Tab divs disappear

2008-11-13 Thread Klaus Hartl
pears for a second before the > new one is loaded. > > On Nov 12, 11:52 am, aaron <[EMAIL PROTECTED]> wrote: > > > Ahh, thanks, the light bulb just clicked on.  In order for AJAX to > > work, the html code is different, not the initialization code.  I > > thi

[jQuery] Re: jQuery Tabs: CSS Bug

2008-11-12 Thread Klaus Hartl
Sounds like a Doctype issue. The CSS you are using was only tested with IE in standards mode. Do you use a Doctype? --Klaus On 12 Nov., 23:45, ripcurlksm <[EMAIL PROTECTED]> wrote: > I am having problems with the gray line that is supposed to appear at the > bottom of the tabs. Instead it is ap

[jQuery] Re: Tab divs disappear

2008-11-12 Thread Klaus Hartl
se?  I > tried putting the AJAX options in there, but got the same result. > > On Nov 11, 3:48 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > And you're not using Ajax tabs? Rotate and Ajax together is not > > supported right now. > > > --Klau

[jQuery] [Superfish] Third horizontal navigation?

2008-11-12 Thread Klaus Hartl
... On 12 Nov., 14:04, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Please avoid killing someone else's thread by changing the subject. > > How to > unsubscribe:http://groups.google.com/support/bin/answer.py?answer=46608&src=top5&;... > > --Klaus > &g

[jQuery] [Superfish] Third horizontal navigation?

2008-11-12 Thread Klaus Hartl
Please avoid killing someone else's thread by changing the subject. How to unsubscribe: http://groups.google.com/support/bin/answer.py?answer=46608&src=top5&lev=index --Klaus On 12 Nov., 11:36, SEAN CLIFFORD <[EMAIL PROTECTED]> wrote: > unsubscribe > ___

[jQuery] Re: links going to "top" of page

2008-11-11 Thread Klaus Hartl
On 12 Nov., 00:15, "Rik Lomas" <[EMAIL PROTECTED]> wrote: > On links, you need to return false as this is the default behaviour > when a link is clicked e.preventDefault() should do the same... --Klaus

[jQuery] Re: Tab divs disappear

2008-11-11 Thread Klaus Hartl
'rotate', 5000); >         }); > > On Nov 7, 4:20 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > On 7 Nov., 21:43, subnet_rx <[EMAIL PROTECTED]> wrote: > > > > I'm using jQuery UI tabs and I'm rotating them automatically.  The problem

[jQuery] Re: Jquery Xml and XPath

2008-11-11 Thread Klaus Hartl
XPath is not supported by jQuery (since a while). There once was a plugin that adds support, but I am not sure if that is maintained still. --Klaus On 11 Nov., 15:59, BogN <[EMAIL PROTECTED]> wrote: > I am trying to load an xml , and then to query the xml through xpath. > > I am trying to load

[jQuery] Re: Anyone know how to find the topmost elements of a specific type?

2008-11-11 Thread Klaus Hartl
That won't work. :first-child will give you *all* uls that are the first child of any element: ... If you need the topmost ul use the ">" combinator: $('#container > u') Oh, jQuery has some documentation about selectors: http://docs.jquery.com/Select

[jQuery] Re: UI Tabs and a submit button

2008-11-11 Thread Klaus Hartl
That's pure CSS. I suggest to use absolute positioning. A container holds the tabs stuff and the button, the button itself is positioned to the top and right of the container. ... #container { position: relative; } #submit { position: absolute; top: 0; right: 0; } --Klaus

[jQuery] Re: window.close() in jQuery

2008-11-11 Thread Klaus Hartl
On 11 Nov., 12:04, "namrata vagyani" <[EMAIL PROTECTED]> wrote: > Give me the general way. > > I am opening a popup using window.open(). But while closing window in popup > window.close() not working properly in IE & mozilla. > > So is their any jQuery solution for this. The jQuery solution is:

[jQuery] Re: Executing jquery from "jqueried div"

2008-11-07 Thread Klaus Hartl
On 7 Nov., 23:56, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I am not sure about using the element "button" ? The W3C says it isn't > supported cross browser (http://www.w3schools.com/tags/tag_button.asp > ). Have you tried this using an input element instead? First of all the W3C is *not*

[jQuery] Re: get form id from button click

2008-11-07 Thread Klaus Hartl
And remember you don't have to use jQuery for everything where a this.id is sufficient. var myId = this.id; But that wasn't the question anyway, Lance needed the id of the form that contains the button, not the id of the button itself. The form's id would be: var formId = this.form.id; --Klau

[jQuery] Re: Tab divs disappear

2008-11-07 Thread Klaus Hartl
On 7 Nov., 21:43, subnet_rx <[EMAIL PROTECTED]> wrote: > I'm using jQuery UI tabs and I'm rotating them automatically.  The problem > is, for half a second, the div disappears till the next one loads.  This > modifies the size of the page and the page jumps around while this is going > on.  The di

[jQuery] Re: Best event for changing the content of a div?

2008-11-05 Thread Klaus Hartl
If you don't want to put a script after the div it won't get any faster then DOM ready. You could although poll for that element. Say it had an id of 'asap' (untested): (function() { var f = function() { var div = document.getElementById('asap'); if (div) { // alt

[jQuery] Re: jquery ui tabs - screen jumps to top when clicked

2008-11-05 Thread Klaus Hartl
everything (w/ firebug). > > > Clicking the tabs still causes the page to jump to top. > > > Can you take a look?  What am I doing wrong? > > >http://5bosses.com/examples/tabs/sample_tabs.html > > > -Ed > > > On Oct 31, 8:13 am, Klaus Hartl <[EMAIL

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

2008-11-04 Thread Klaus Hartl
>                             } >                         }); >                 }); >                 > but nothing seems to happen (using firebug I don't see any anything > and no errors) when I click on the selected tab. The tabs work as > before. I'm using ui.jquery (th

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

2008-11-04 Thread Klaus Hartl
o 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 > two clicks on tab, first to unselect, second to reselect. > > thanks > > > > Klaus Hartl-4 wrote: &g

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

2008-11-04 Thread Klaus Hartl
t up as such. > > >         $(function() { >                 $('#staff-tab > ul').tabs({ cookie: { expires: 30 } }); >         }); > > >         >                 staff/get/current/ Current >                 staff/get/finished/ Finished >                 staf

[jQuery] Re: How to return element index in group

2008-11-04 Thread Klaus Hartl
Did you have a look at the index method in the documentation? http://docs.jquery.com/Core/index#subject So: var li = $('li').click(function() { alert(li.index(this)); }); --Klaus On 4 Nov., 12:44, ienes <[EMAIL PROTECTED]> wrote: > Hello there, > > Imagine we have an unordered list and I

[jQuery] Re: how to parse tags with the name of ?

2008-11-04 Thread Klaus Hartl
title is as good as anything else in XML. Did you change the jQuery statement acccordingly? What exactly does not work? --Klaus On 4 Nov., 09:35, AlexC <[EMAIL PROTECTED]> wrote: > Hi all, > I've just downloaded jQuery to see if I can use it in a web program > and I've come across something whi

[jQuery] Re: identifying the nth element and manipulating another nth element

2008-11-03 Thread Klaus Hartl
var $a = $('#clickedItems a').click(function() { $('#targetedArea li').eq($a.index(this)).addClass('active'); return false; }); --Klaus On 3 Nov., 23:24, sperks <[EMAIL PROTECTED]> wrote: > I'm wanting to target the nth in a list after clicking the nth > link. > >     >       >    

[jQuery] Re: jquery ui tabs - screen jumps to top when clicked

2008-10-31 Thread Klaus Hartl
Well, you copied that stuff into the wrong place producing a syntax error, thus the tabs don't work at all. Just append what I posted to the end of the ui.tabs.js file or paste it into a separate file and include it after the ui.tabs.js. You should use Firebug - or at least the error console - to

[jQuery] Re: reading values from HTML tables

2008-10-31 Thread Klaus Hartl
Here's an awesome jQuery plugin to handle HTML tables like relational databases: http://github.com/nkallen/jquery-database/tree/master --Klaus On 31 Okt., 06:29, GrootBaas <[EMAIL PROTECTED]> wrote: > Hi all, > > Any help would really be much appreciated. > > I have a table, how can I read the

[jQuery] Re: jquery ui tabs - screen jumps to top when clicked

2008-10-30 Thread Klaus Hartl
Well, that doesn't seem to be an error but standard browser behavior. If you switch to a tab that causes the page to not have a scrollbar, the tabs appear to jump because the browser must rerender the page in a way as if the scrollbar were moved to the top. The browser just can't do anything else.

[jQuery] Re: Change the active tab of jquery ui tabs

2008-10-29 Thread Klaus Hartl
On 29 Okt., 16:49, tpb976 <[EMAIL PROTECTED]> wrote: > $(document).ready(function(){ >     $("#example > ul").tabs("select", 1); >   }); > > This example would select the fragment 2 tab since I passed "1" as the > second parameter. Not quite correct. It wouldn't do anything, since the tabs haven'

[jQuery] Re: closing tag bug in jQuery 1.2.6?

2008-10-29 Thread Klaus Hartl
On 29 Okt., 18:24, Jay <[EMAIL PROTECTED]> wrote: > http://www.w3.org/TR/REC-html40/struct/global.html#h-7.5.4 > I haven't had time to do an exhausitve search but nowhere in the span > tag description does it specifically state what tags it may or may not > enclose. This part of the DTD is import

[jQuery] Re: closing tag bug in jQuery 1.2.6?

2008-10-29 Thread Klaus Hartl
On 29 Okt., 18:28, ricardobeat <[EMAIL PROTECTED]> wrote: > 2. > > You can't self close a DIV, even if it's empty. The XHTML specs allow > it, but browser currently can't handle it: > (found athttp://www.w3.org/TR/xhtml1/#C_3) > Given an empty instance of an element whose content model is not EMP

[jQuery] Re: closing tag bug in jQuery 1.2.6?

2008-10-29 Thread Klaus Hartl
On 29 Okt., 18:24, Jay <[EMAIL PROTECTED]> wrote: > > What? no rules were used when you coded in assembly? > > There are always rules in everything. In assembler they're predictable > and absolute though. > With html a lot of things are only 'hints' and it invisibly does > whatever it wants withou

[jQuery] Re: Change the active tab of jquery ui tabs

2008-10-29 Thread Klaus Hartl
A quick look into the documentation gives us the solution: $('#example').tabs({ selected: 1 }); // activate second tab The only thing you need to do is mapping your pages to tabs. --Klaus On 29 Okt., 15:39, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > > I was wondering if it's

[jQuery] Re: Is array empty?

2008-10-28 Thread Klaus Hartl
It's just a standard JS array: var empty = !levels.length; --Klaus On 28 Okt., 17:15, shapper <[EMAIL PROTECTED]> wrote: > Hello, > > I have the folllowing: > >         var levels = []; >         $levels = $('input[name="Levels"]:checked + > label'); >         levels = $levels.map(function()

[jQuery] Re: jquery ui tabs - screen jumps to top when clicked

2008-10-26 Thread Klaus Hartl
That doesn't happen for me. Do you use the latest version? Which browser does that happen in? Could you post a demo or show us some code? --Klaus On 26 Okt., 03:16, Ed <[EMAIL PROTECTED]> wrote: > I have jquery ui tabs at the bottom of my page. > > When a tab is clicked, the screen jumps/scroll

[jQuery] Re: Get label text

2008-10-24 Thread Klaus Hartl
o trying to use > > > the Array.join method of *levels* (probably undefined) will likely not > > > work ;) > > > > On Oct 23, 2:58 pm, shapper <[EMAIL PROTECTED]> wrote: > > > > > But I can join the labels can't I? > > > > > I tr

[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: Get label text

2008-10-23 Thread Klaus Hartl
You could try this (untested): var labels = $('input:checked + label').map(function() { return $(this).text(); }); That should give you an array with the label's text. --Klaus On 23 Okt., 22:47, shapper <[EMAIL PROTECTED]> wrote: > Hello, > > This might be a tricky one ... I have been loo

[jQuery] Re: History Plugin

2008-10-21 Thread Klaus Hartl
I don't understand what the problem is. Could you put up a demo? --Klaus On 21 Okt., 22:35, Pedram <[EMAIL PROTECTED]> wrote: > Does any one has an Idea!!!? > > On Oct 21, 5:46 pm, Pedram <[EMAIL PROTECTED]> wrote: > > > I've Problem with it, when I do Ajax Call and and I filter the links > > i

[jQuery] Re: Jquery tab

2008-10-19 Thread Klaus Hartl
; options. When you go over News you will get some news categories, my > question can i also make the News tab clicable so it goes to a > overview of alle the news, but it also hs to use the tab system? > > On 19 okt, 00:16, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > I

[jQuery] Re: Jquery tab

2008-10-18 Thread Klaus Hartl
or your time and you support. I got it up and running now. > > Maybe not the most effecient way but it works. > > > On 17 okt, 16:50, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > > On 17 Okt., 15:37, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > &

[jQuery] Re: Display a div if and id is found

2008-10-17 Thread Klaus Hartl
Here's another trick to accomplish it: $('#first, #second').eq(1).show(); --Klaus On 18 Okt., 00:00, Ryura <[EMAIL PROTECTED]> wrote: > Actually, you don't need the > 0 part. 0 evaluates to false anyway, so > just if($("#whatev").length) works fine > > On Oct 17, 4:09 pm, "Mauricio \(Maujor\)

[jQuery] Re: Jquery tab

2008-10-17 Thread Klaus Hartl
On 17 Okt., 15:37, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Works amazing. I adjusted the ui.tabs.js file so that i targets to css > stuff of my own site. Well, it's usually not the best idea to adjust the file itself (maintenance, e.g. updating gets more work), especially if everything y

[jQuery] Re: question.

2008-10-17 Thread Klaus Hartl
No need to apologize of course :) On 16 Okt., 16:22, GARIL <[EMAIL PROTECTED]> wrote: > Excellent!  Thank you both.  And I apologize. I hit the button > too quickly.

[jQuery] Re: question.

2008-10-17 Thread Klaus Hartl
Yeah, otherwise the radio and checkbox controls would be rather useless. --Klaus On 17 Okt., 06:27, Karl Swedberg <[EMAIL PROTECTED]> wrote: > On Oct 16, 2008, at 2:06 PM, ricardobeat wrote: > > > > > on a side note, name attributes should be unique (just like IDs), they > > are identifiers fo

[jQuery] Re: Jquery tab

2008-10-16 Thread Klaus Hartl
the first tab is avtive when the page is loaded and the tab has a > > different color then. Thats: tab1_actief > > > How do i make it so that the li class actief also changes to the one > > where the user went over with his mouse? > > > On 15 okt, 23:37, Klaus Har

[jQuery] Re: question.

2008-10-16 Thread Klaus Hartl
$('input[name=veggies]').attr('checked', true); By the way: putting the question into the subject instead of "question" will probably increase chances of your mail being read. --Klaus On 16 Okt., 15:25, GARIL <[EMAIL PROTECTED]> wrote: > I used     $(":checkbox").each(function() > {this.chec

[jQuery] Re: Jquery tab

2008-10-15 Thread Klaus Hartl
The jQuery UI Tabs plugin can do this. Use it with event set to mouseover and Ajax links. http://docs.jquery.com/UI/Tabs --Klaus On 15 Okt., 16:38, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > > I am looking for a jQuery ajax script that can do the following: > > http://www.dou

[jQuery] Re: IE bug in the Tab plugin

2008-10-15 Thread Klaus Hartl
On 15 Okt., 16:54, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thanks Snef, that's fixed the issue. > > However I'm not 100% sure what's happening here... The blinking or > flickering I was referring to, was happening when the mouse hovers the > tabs. At this stage the page is already loaded

[jQuery] Re: jquery history_remote IE bug?

2008-10-14 Thread Klaus Hartl
Could you post a demo? I suspect a few things but can't really tell. --Klaus On 13 Okt., 18:27, Leanan <[EMAIL PROTECTED]> wrote: > I'm not sure if this is a bug so I thought I'd ask folks and see what > they had to say. > > I have some export links on a page, and despite me not using $.remote

[jQuery] Re: jQuery help to replace CSS position: fixed;

2008-10-14 Thread Klaus Hartl
Why would you replace position fixed with an inferior solution? Fixed positioning behaves much smoother in comparison to a JS solution that reacts on scroll/resize events. There are workarounds for IE 6: http://www.howtocreate.co.uk/fixedPosition.html --Klaus On 14 Okt., 11:10, XeroXer <[EMAI

[jQuery] Re: grab parameters from function

2008-10-10 Thread Klaus Hartl
You can access the arguments passed to a function via the arguments property. That should work: function showIt() { otherFunction.apply(null, $.makeArray(arguments)); } That way you don't even have to specify the arguments explicitly and could have variable arguments length. arguments is an

[jQuery] Re: ANNOUNCE: ui.timepickr.js plugin

2008-10-09 Thread Klaus Hartl
On 9 Okt., 10:12, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > We've discussed a timepicker recently for the jQuery UI roadmap, this > could be a good implementation to start with. I really like the > interaction, though I'd really like to see one with 24 hours. I agree, L10n is a must... --Kla

[jQuery] Re: Intercept "Back" button click on browser

2008-10-09 Thread Klaus Hartl
On 8 Okt., 18:57, Leanan <[EMAIL PROTECTED]> wrote: > The duplication is something else. > > However the fix you made works. That means you still have that duplication? Or not? --Klaus

[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: Intercept "Back" button click on browser

2008-10-08 Thread Klaus Hartl
On 7 Okt., 17:50, Leanan <[EMAIL PROTECTED]> wrote: > All right... > > I've found a solution to the problem, though it is not the solution I > had hoped for. > > I basically had to do a $.getscript and generate script that had a $ > (selector).history() for each link.  Not ideal, but it works.

[jQuery] Re: Intercept "Back" button click on browser

2008-10-07 Thread Klaus Hartl
d, > since I have neither any $.history or $.remote calls in my script.  I > would change my .click to a .history, except that I have a table of > links that could be selected, and I need to know which link was > clicked, because I need to grab info from the link for the resulting > cal

[jQuery] Re: Intercept "Back" button click on browser

2008-10-06 Thread Klaus Hartl
History/Remote is not supposed to work that way. Although the hash is changing correctly it will not work in IE for example. You need to explicitly tell the history manager which links add to history. Just have a look at the demo. For pure Ajax loading links that is the remote method. In your case

[jQuery] Re: Intercept "Back" button click on browser

2008-10-06 Thread Klaus Hartl
Is it possible for you to put up a demo? --Klaus On 6 Okt., 22:11, Leanan <[EMAIL PROTECTED]> wrote: > *sigh* > > Ok.  I've decided upon the jquery.history_remote.js plugin by Klaus. > I have it working, except there is one slight problem, and I can't > figure out how to fix it. > > I have a ta

[jQuery] Re: jqueryPngFix and links on IE6

2008-10-06 Thread Klaus Hartl
position: relative does not always work but in my experience triggering hasLayout almost always (you can never tell with IE) works if links displayed as block aren't clickable as a whole. http://www.satzansatz.de/cssd/onhavinglayout.html --Klaus On 6 Okt., 12:48, shortStormTrooper <[EMAIL PRO

[jQuery] Re: whats wrong with this selector ?

2008-10-04 Thread Klaus Hartl
Are you aware that the information you were looking it is outdated, e.g refers to jQuery 1.1.2? With the latest version you would use: $('p:has(a)') --Klaus On 4 Okt., 12:29, Puneet Arora <[EMAIL PROTECTED]> wrote: > Hi All, > > In the following code, I expect the document to pop a message b

[jQuery] Re: Ui tabs spacing

2008-10-03 Thread Klaus Hartl
Add an id of say "login" to the li element and add a left margin... #login { margin-left: 200px; } --Klaus On 2 Okt., 06:59, wattaka <[EMAIL PROTECTED]> wrote: > Hmm formatting was destroyed, here is another try > > Home  About | Info | _ |Login | > > T

[jQuery] Re: Slider within Tabs not working

2008-10-02 Thread Klaus Hartl
A search for "slider tabs" in this group finds the answer... use the offleft-technique to hide a tab. In your style sheet, search for the class selector ".ui-tabs-hide" and replace the rule with: .ui-tabs-hide { position: absolute; left: -1px; } HTH --Klaus On 2 Okt., 20:41, Sara

[jQuery] Re: selecting all element with a given class but not another one.

2008-10-02 Thread Klaus Hartl
Try: $('[class=RepeatedItem]') --Klaus On 2 Okt., 11:57, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I can't figure out what the syntax is to select all the elements which > have a given class but not another given class. > Example : I want all the elements with class .RepeatedIt

[jQuery] Re: how do I fix the position of an element?

2008-10-02 Thread Klaus Hartl
On 2 Okt., 15:06, BB <[EMAIL PROTECTED]> wrote: > Why not use CSS? > position:absolute; position: fixed; would be even better ;-) Not supported in IE 6 though (workarounds available). --Klaus

[jQuery] Re: Bind event to tab selection in 1.1

2008-10-01 Thread Klaus Hartl
It's called onClick in the old tabs... here's an example: http://stilbuero.de/jquery/tabs/ --Klaus On 1 Okt., 22:50, "Dan Baughman" <[EMAIL PROTECTED]> wrote: > Ok so I had something really cool setup in 1.3, then I saw Klaus' history > object doesnt' integrate with tabs 3! > > Does anyone know

[jQuery] Re: prevent tab changing + user message

2008-09-30 Thread Klaus Hartl
my code I'm using > > the select property. This works fine for example if you run a function > > that returns true or false without asking user anything, but in my > > case I need the user to choose one option. Then, when I offer the > > dialog box, the code inside

[jQuery] Re: Ajax Tabs and jqModal

2008-09-30 Thread Klaus Hartl
On 30 Sep., 18:25, "Steffan A. Cline" <[EMAIL PROTECTED]> wrote: > Thanks for the quick answer! I did realize that the issue was that the items > did not exist at the time of binding. I am new to jQuery and am trying to > understand all the nice amenities we have now in comparison to hand coding >

[jQuery] Re: Ajax Tabs and jqModal

2008-09-30 Thread Klaus Hartl
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F If you choose to use rebinding, you would use the tabs load callback for that. $('#tabs > ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' }, load: function(e, ui) { // r

[jQuery] Re: jSQuery Form failure to bind a form that is drawn by Ajax?

2008-09-29 Thread Klaus Hartl
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F --Klaus jcokos schrieb: > Wierd Scenario for you > > Take the following basic bit of code: > > > > > $(document).ready(function() { > > var options = { >

[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 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: jquery tabs cannot put inside the tab

2008-09-23 Thread Klaus Hartl
of #tabs. $('div.tab-panel').hide(); // hide all divs with class "tab-panel" $('#tabs > div').hide(); // hide only direct childs --Klaus On Sep 23, 3:14 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Well, I can't tell anything from what I

[jQuery] Re: jquery tabs cannot put inside the tab

2008-09-23 Thread Klaus Hartl
ss files and have just the > javascript that was on the tutorial i can see the hello( hello div> i put in the tab). If i remove all my css files i still cannot > see the hello. > > On Sep 23, 7:23 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > This usually works fin

[jQuery] Re: jquery tabs cannot put inside the tab

2008-09-23 Thread Klaus Hartl
This usually works fine and it should. You should probably check your CSS... --Klaus On Sep 23, 7:21 am, tyliong <[EMAIL PROTECTED]> wrote: > Hi, > > I have followed the tutorial > herehttp://apricotstudios.wordpress.com/2008/08/29/jquery-tabs-tutorial/ > everything is working except one thing

[jQuery] Re: Selecting a nested Ajax Tab from a link

2008-09-18 Thread Klaus Hartl
That's trickier than usual because you have to wait for the first Ajax reponse to be completed (otherwise you would just select the proper tabs in sequence). Try: $('.buynow a').click(function() { $('#main > ul'). bind('tabsload', function(e, ui) { $('ul.sub-ui-tabs-nav',

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

2008-09-12 Thread Klaus Hartl
elf" means to click a tab to load its > contents. > > See an online demo from your demo page (first example, second > tab):http://hanfgarten.li/tabs/ > when hit the tab directly, it works:http://hanfgarten.li/tabs/#fragment-2 > > Hope that this example helps clarifying what

[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: uiTabs - Reference to self during Init.

2008-09-11 Thread Klaus Hartl
Hi Brad, I replied on the UI mailing list. To not cross-posting is highly apreciated by me :-) --Klaus On Sep 10, 9:33 pm, Brad <[EMAIL PROTECTED]> wrote: > Let me try to better explain what I'm trying to do. > > I have a page that has 5 tabs on it. These tabs are loaded via Ajax. > Each loaded

[jQuery] Re: marquee brought back to life with jQuery

2008-09-10 Thread Klaus Hartl
I revived it the other day as well...: http://www.stilbuero.de/2007/10/26/a-very-simple-download-indicator-the-glorious-return-of-the-marquee-tag/ ;-) --Klaus On Sep 10, 3:46 pm, Remy Sharp <[EMAIL PROTECTED]> wrote: > Hi, > > I've just released a jQuery plugin that not only brings the marquee

[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

<    1   2   3   4   5   6   7   8   9   10   >