Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
Getting Started
lubomir.d..
slideToogle problem
in
Getting Started
•
11 years ago
Hello i have this little piece of code
$(document).ready(function() {
$('#menu ul li').hover(function() {
$(this).find('ul').slideToggle(800);
});
});
It's a code for a vertical drop down menu
<div id="menu">
<ul>
<li><a href="#">Portfólio</a>
<ul>
<li><a href="#">Stužkové</a></li>
<li><a href="#">Svadby</a></li>
<li><a href="#">Portréty</a></li>
<li><a href="#">Ostatné</a></li>
</ul>
</li>
<li><a href="#">O mne</a></li>
<li><a href="#">Kontakt</a></li>
<li><a href="#">Pripomienky</a></li>
</ul>
</div>
I want to stop the animation while you move out from link that have sub menu, but when a write into code .stop(), it will then only show half of sub menu
See live example
http://sweetstudio.sk/mr_foto/
1
Replies(3)
jakecigar
Re: slideToogle problem
11 years ago
try
$(this).find('ul')
.stop(true,true)
.slideToggle(800);
JΛ̊KE
Leave a comment on jakecigar's reply
lubomir.d..
Re: slideToogle problem
11 years ago
Didn't work well
look:
http://sweetstudio.sk/mr_foto/
Leave a comment on lubomir.dzurnak's reply
jakecigar
Re: slideToogle problem
11 years ago
it no longer leaves you with a half display of your portfólio.
JΛ̊KE
Leave a comment on jakecigar's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to lubomir.dzurnak's question
Top
Reply
{"z8265763":[14737000003007096,14737000003007301],"z2950240":[14737000003007153,14737000003007305]}
Statistics
3
Replies
1294
Views
1
Followers
Tags
No tags available for this topic.
Cancel
Actions
Permalink
Related Posts
Problem with SlideToogle only on Sa...