[jQuery] Re: How to solve problem with zindex and active elements

2007-09-04 Thread Dan Evans
se it later. Another solution would be to just set the content div to "display: none" or "visibility: hidden" in the CSS and then alter that when the user clicks the mask. - Dan Evans On Sep 1, 2:09 am, gianiaz <[EMAIL PROTECTED]> wrote: > Hi, I don't know how to s

[jQuery] Re: hover and hoverIntent

2007-08-27 Thread Dan Evans
ion(){ > window.status = $("this").children("a").attr("href"); > > }); > }); > > Or > > $("li").bind("mouseover",function(){ > > $("this").find("ul li a").bind("mouseover",function(){

[jQuery] Re: Toggling the html of an element

2007-08-27 Thread Dan Evans
$('#rubricTwo').show(); > $('#toggleTwo').html('show'); > return false; > }); >}); // end document.ready > > I am still curious why the other methods do not work > > On Aug 27, 10:11 pm, Da

[jQuery] Re: hover and hoverIntent

2007-08-27 Thread Dan Evans
.status = $(this).attr("href"), I think. > > 2007/8/27, Dragan Krstic <[EMAIL PROTECTED]>: > > > > > > > I noticed that, too. I would give a shot to window.status. It was handy > > during href="javascript:;" time. > > > 2007/8/27, Da

[jQuery] Re: Toggling the html of an element

2007-08-27 Thread Dan Evans
How about instead of putting a .toggle() inside a .click() just use a .toggle()? Something like this: $(document).ready(function(){ $('#toggleTwo').toggle(function(){ $('#rubricTwo').html('hide'); return false; }, function(){ $('#ru

[jQuery] Re: Toggling the html of an element

2007-08-27 Thread Dan Evans
Is there a reason to put the .toggle() inside a .click()? Why not? $(document).ready(function(){ $('#toggleTwo').toggle(function(){ $('#rubricTwo').html('hide'); return false; }, function(){ $('#rubricTwo').html('show');

[jQuery] hover and hoverIntent break the browser slightly

2007-08-27 Thread Dan Evans
I have noticed something with the way that hover works in jQuery that breaks the default browser behavior. Normally the browser displays the href of a link in the status bar when a user hovers over it. Since hover and hoverIntent return false for all children of the hovered item onmouseover and on

[jQuery] hover and hoverIntent

2007-08-27 Thread Dan Evans
I am wondering if anyone has noticed the issue with jQuery's hover function that makes it less than perfect for dropdown menus. Normally most browsers display the href of the link in the status bar at the bottom of the window when a user hovers that link. Because hover suppresses the default onmou