Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 12-02-2010, 04:09 PM   #1
New Member
 
Join Date: Dec 2010
Posts: 3
Default Pop-Up Menu Displays When Using Browser Back

Here's a temp location of a site I'm working on ...

http://dasdigitalarts.com/circle/index.html

If you go to a page using the pop-up menu under, say, "Ministries" ... then if you use the browser back button, the pop-up menu reappears. What can I do to make this stop? It seems to do it in Safari (Windows) and Firefox but not IE.
yipperoo is offline   Reply With Quote


Old 12-02-2010, 08:42 PM   #2
Gold Member
 
Join Date: Nov 2009
Location: New York
Posts: 370
Default

Try using straight CSS for the menu. The issue would go away and I don't see a reason you are using JS...?
__________________
Submit to my Website Gallery | NY Web Design
bcee is offline   Reply With Quote
Old 12-02-2010, 08:46 PM   #3
New Member
 
Join Date: Dec 2010
Posts: 3
Default

Does straight CSS allow for menu roll-off delay? I went with javascript because I don't want the menus to disappear the instant they're rolled off.
yipperoo is offline   Reply With Quote
Old 12-02-2010, 08:49 PM   #4
New Member
 
Join Date: Dec 2010
Posts: 3
Default

smoovo wrote me and said ...

Quote:
Just add "onload" to your body tag with "display='none'" to all of your menu divs. This will always reset your page and will solve your bug.
But how do I do that? Not sure. Can someone give me an example? Thanks!
yipperoo is offline   Reply With Quote
Old 12-03-2010, 06:21 PM   #5
Gold Member
 
Join Date: Nov 2009
Location: New York
Posts: 370
Default

You will need to seek out the divs for that method using more js. How much extra KB are you willing to load to have your menus delay?
__________________
Submit to my Website Gallery | NY Web Design
bcee is offline   Reply With Quote


Reply

Tags
back button, javascript, pop-up menu, reappear, reappearing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:46 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.