Re: [jQuery] Rollover

2006-09-29 Thread Aaron Heimlich
On 9/29/06, Aaron Heimlich <[EMAIL PROTECTED]> wrote: Try this (untested):$(document).ready(function() {     $("#navcontainer li").hover(function(){ Whoops, that should be:$(document).ready(function() {     $("#navcontainer li.roll").hover(function(){Again, if the only thing within is goin

Re: [jQuery] Rollover

2006-09-29 Thread Aaron Heimlich
Try this (untested):News

$(document).ready(function() {
    $("#navcontainer li").hover(function(){
    $(this).removeClass("out").addClass("over");
    },
    function(){
    $(this).removeClass("over").addClass("out");
    })

Re: [jQuery] Rollover

2006-09-29 Thread Mungbeans
You could add the style to the or directly. Incidentally navigation rollovers can be handed better without javascript: http://css.maxdesign.com.au This site is on my permanent bookmarks. -- View this message in context: http://www.nabble.com/Rollover-tf2359602.html#a6574113 Sent from the J

[jQuery] Rollover

2006-09-29 Thread TJ
Hi, I am trying to add a image rollover. I am applying it to a div before a li. Home News Edit News News Order Front Page Articles Minutes & Agendas General Forms Special Reports Local Resources Calendar Email List Take Site Offline Back Up Database Here is the jquery I am trying.