b_jpg
Dynamic Web Pages from your Ph
logo_link

 

Please wait - we are now uploading and converting your file...

 

 

Please wait - we are now uploading and converting your file...

 

 

 

Upload your PSD...
forums_linkover
forums_link
tutorials_linkover
tutorials_link
blog_linkover
blog_link
docs_linkover
docs_link
prep_link

Closing Menus Automatically

I got a comment the other day that read:

'How do I make the menu close without making someone opening a new menu or navigate to a new page, like your "close flyout" link in your second menu example?'

I think that is probably the preferred way. So today I added a 4 second time out for all open menus. If you convert your PSD file again today, your menus will close themselves automatically 4 seconds after opening. They still close immediately if you open another menu however.

The original behavior was that the menus would stay open until you click on a link or another menu. You can get that behavior back by removing 2 lines of code in the generated HTML for each menu. There is a comment in the code to show you what lines to remove.

You can also change how long the menus stay visible before removing themselves. The default is 4000 milliseconds (4 seconds), but you can change that 4000 in the code to whatever you would like.

Thanks to AZSuperman01 for the great suggestion.

--
Shaun

User login

Navigation

Blogroll

Need help or have a question?
support@psd2cssonline.com

| Privacy | Terms of Use |

copyright (c) 2008 Newfind.net, Inc.
Patent Pending

Syndicate

Syndicate content