| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Aug 2005
Posts: 4
![]() | 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() { ????: NamePros.com http://www.namepros.com/programming/113769-how-delay-pull-down-menu-dw.html 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. |
| |
| | #3 (permalink) |
| NamePros Member Join Date: Jun 2004
Posts: 92
![]() | 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 08:24 PM |
| Worthwile Menu Building Software? | TheAllusionist | Web Design Discussion | 0 | 02-11-2004 03:45 PM |
| Simple JavaScript pull down quick menu | deadserious | CODE | 2 | 02-04-2004 12:49 AM |
| inserting dhtml menu | knightthrone | Programming | 9 | 11-24-2003 12:46 PM |