Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:42
Simple onLoad window.focus() statement not working
Poster: Andy
Dated: Saturday April 6 2002 - 7:44:31 BST
Hi. First off, great menu! Thanks for making it available to all of us out here in the digital wasteland.
I didn't see a resolution to my issue in the topics below, so I thought I'd see if anyone has a solution.
I've created a site that is launched into a pop-up from the homepage. I'm using the DHTML menu in each page of the site. Also in each page is this command in the <body> tag: onLoad="window.focus()" . I want to make the site such that if a user un-focuses the pop up window and then click the home graphic, the default page will reload and refocus the popup window back to the top. Basically I want the popup to always refocus itself so that users don't have to go hunting for it behind other windows...
I've done this before with simpler pages and it works. I do this with the menu system inserted, and it doesn't work.
Site that works: http://www.electroglyph.com/clients/ver ... comps.html
Site that doesn't work (with menu inserted):
http://www.rightbraincentral.com
Anyone run across this problem and (hopefully) a solution to it?
Thanks in advance!
Paul Mossbarger