NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page how to delay a pull-down menu in DW

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 08-08-2005, 12:08 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Aug 2005
Posts: 4
Kenny Bania is an unknown quantity at this point
 



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.
Kenny Bania is offline  
Old 08-08-2005, 12:59 PM   #2 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
Can you link us up to a sample page where we can see the script?
mholt is offline  
Old 08-08-2005, 02:25 PM   #3 (permalink)
NamePros Member
 
whyme953's Avatar
Join Date: Jun 2004
Posts: 92
whyme953 is an unknown quantity at this point
 



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
whyme953 is offline  
Closed Thread


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

Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:08 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger