| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| New Member | how to delay a pull-down menu in DW hi. i'm not an advanced web guy, and i know very little about coding. but anyways... i want to put a slight delay on a pull-down in dreamweaver using javascript. i've been able to do so successfully by using: onMouseOver="MM_showHideLayers('blah','','blah','' ,'blah')" in the body and function hideIt() { timer=setTimeout("MM_showHideLayers('blah','','bla h','','blah')",1000); } in the head the problem is that if i (or a visitor) scrolls past the menu bar to get to the top or bottom of the page, the corresponding drop down menu will pull down, even though that's not what the viewer wants. what i want is so that it only comes down after the mouse has been _idle_ on it for 1000 milliseconds. this way, you will able to scroll the mouse past the menu and not have this menu popping up unannounced. do you guys understand? and i would rather not use the onClick="MM_showHideLayers" any insight would be greatly appreciated. |
| |
| | #2 (permalink) |
| DNOA Member | Can you link us up to a sample page where we can see the script?
__________________ codeboards A high-quality community of programmers -- Join today and post! We want new members! |
| |
| | #3 (permalink) |
| NamePros Member | if you make a dropdown menu in fireworks you can set the delay time. (i havent done it in quite a while so i dont remember exactly how) if you have fireworks make one there and just copy the code its very likely that dreamweaver gives you that option also by the behavior properties
__________________ Bais Menachem |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| This may be the right place to post this...Here's a nice article I thought I'd share. | Eric | Website Development | 3 | 04-11-2005 07:24 PM |
| Worthwile Menu Building Software? | TheAllusionist | Web Design Discussion | 0 | 02-11-2004 02:45 PM |
| Simple JavaScript pull down quick menu | deadserious | CODE | 2 | 02-03-2004 11:49 PM |
| inserting dhtml menu | knightthrone | Programming | 9 | 11-24-2003 11:46 AM |