[jQuery] Problem with toggles and if statements

2009-05-12 Thread Lars Schulz
slideToggle("fast"); I have the problem that the later misbehave, when I toggle them. The action is actually reversed... (click the example Test 1 post several times to see what I mean. Can anybody help with this? Thank you so much Cheers Lars PS: I tried the following code as a star

[jQuery] Re: Modifying CSS classes with jQuery (or '.live()' for '.css')

2009-03-31 Thread Lars Schöning
; > Theoretically you can do that with CLASS also, but when the CLASS > attribute also allows definition of multipleclasses, such as: > class="header cat_45" > in which case would require a bit more work to locate because it would > not fall in the criteria of "begi

[jQuery] Modifying CSS classes with jQuery (or '.live()' for '.css')

2009-03-29 Thread Lars Schöning
e elegant solution. Can anyone clarify? Thanks in advance, Lars

[jQuery] Change background of table row based on column's value

2009-03-12 Thread Lars
I am totally new to jQuery. I wonder if it's possible to change the background color of any row in the table below where the value of the table cell belonging to class "numericColumn" is greater than 90? The values in this column will always be numeric. Thanks for

[jQuery] quick note about cross domain getScript function

2009-01-15 Thread Lars Rune Nøstdal
Hi, A note about 1.3; I still need to do this http://groups.google.com/group/jquery-en/msg/996ace3956f70102 to get $.getScript or $.ajax to call the `complete' callback when `dataType' is "script" and I'm doing cross-domain requests. (i cba. registering at a bug-tracker)

[jQuery] Patch to make ajaxStop event fire on cross-domain/subdomain use of getScript/ajax

2008-07-18 Thread Lars Rune Nøstdal
readyState == "complete") ) { done = true; ..only tested on IE6 and FF2.x for now. I'm not sure it is correct in general but this works for me now. -- Lars Rune Nøstdal http://nostdal.org/