to cause div to slide up, slide down
Hi Rick,
You might want to attach one .hover() method to the UL instead of the
LIs and have that one slide the other element down and up. Then,
attach another .hover() to the LIs so that you can have different
content displayed depending on which one
: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick
Faircloth
Sent: Tuesday, January 15, 2008 5:17 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Attempts failing to cause div to slide up, slide down
Hi, Karl...
I've tried various coding approaches
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick
Faircloth
Sent: Tuesday, January 15, 2008 5:17 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Attempts failing to cause div to slide up, slide down
Hi, Karl...
I've
Hey Rick,
It looks like you're trying to bind the mouseover to links inside
div.image-wrapper, but when I looked at your DOM, I didn't see any
links there. That's probably why it's not working for you. ;-)
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
Well, let's take a look on your jQuery code:
$(document).ready(function() {
$('div.image-wrapper').find('div.menu-details').hide() // well, this
works fine, even if I don't get why you use class instead of id to
locate the menu-details (you have the id=menu-details in the markup
as well)
for the help!
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl
Swedberg
Sent: Sunday, January 13, 2008 10:21 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Attempts failing to cause div to slide up, slide down
Hey Rick,
It looks
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of besh
Sent: Sunday, January 13, 2008 9:22 AM
To: jQuery (English)
Subject: [jQuery] Re: Attempts failing to cause div to slide up, slide down
Well, let's take a look on your jQuery code:
$(document).ready(function() {
$('div.image-wrapper
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick
Faircloth
Sent: Sunday, January 13, 2008 3:55 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Attempts failing to cause div to slide up, slide down
Hi, Besh... and thanks for the reply.
I realized my mistakes with the targeting
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Attempts failing to cause div to slide up,
slide down
Hey Rick,
It looks like you're trying to bind the mouseover to links inside
div.image-wrapper, but when I looked at your DOM, I didn't see any
links there. That's probably why it's
] On Behalf Of Karl
Swedberg
Sent: Sunday, January 13, 2008 5:35 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Attempts failing to cause div to slide up,
slide down
Hey Rick,
Sounds like you want to use the .hover() method. It takes two
arguments -- one for mouseover and one
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl
Swedberg
Sent: Sunday, January 13, 2008 6:47 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Attempts failing to cause div to slide up, slide down
Hi Rick,
You might want to attach one .hover() method to the UL instead
11 matches
Mail list logo