[jQuery] Re: zebra striping + flashing/blinking effect?

2008-07-02 Thread sketchy
ahh i didn't know about , but the setInterval I think is what i'm looking for. I couldn't get it to work tho. I don't think i inserted the code right. This is what i did: $(document).ready( function() { $("table.striped tbody tr").mouseover( function() { $(this).animate({

[jQuery] Re: zebra striping + flashing/blinking effect?

2008-07-01 Thread Karl Swedberg
You could try this: I'm blinking like it's 1999 :-) Or you could use a setInterval: setInterval(function() { $('tr:lt(2)').toggleClass('blinky'); }, 500); That one toggles the "blinky" class on the first 2 TR elements every 1/2 second. --Karl Karl Swedberg www.english

[jQuery] Re: zebra striping + flashing/blinking effect?

2008-07-01 Thread sketchy
I think you misunderstood my post. It works fine but i'm looking to add more with an effect such as flashing/blinking rows to represent that its important to the visitor to check it out. On Jul 1, 2:55 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > A zebra stripe doesn't need any Javascript

[jQuery] Re: zebra striping + flashing/blinking effect?

2008-07-01 Thread [EMAIL PROTECTED]
A zebra stripe doesn't need any Javascript given IE7, either. The tr:hover bit is accepted by the browser if your doctype is set to strict mode. On Jun 30, 10:15 pm, sketchy <[EMAIL PROTECTED]> wrote: > I recently got acquainted with jquery and implemented this tutorial on > zebra striping to my