Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:29

Using Menu with frames one page only

Poster: irishis
Dated: Thursday September 20 2007 - 15:12:50 BST

I have a client who has the menu in use on all their "normal" pages, but, now they want the menu on one page of their site to be a framed page. Is there a way to modify the code for one page only? Can I copy the JS files and put them in their own folder so it would only control this one page differently? Sorry I hate frames and this is just one more reason why. I was able to set it up in a frame on one page only with the scroll on the pull downs but it won't load other pages after the visitor views the framed page and wants to go back to the normal pages, everything pops into the navigation frame rather than loading a whole complete page unframed.

Re: Using Menu with frames one page only

Poster: John
Dated: Monday September 24 2007 - 19:30:48 BST

Not sure if this is what you're after (I hate frames, too!), but this will make sure that frames are wiped before loading a page...
<script type="text/javascript">
if (top.frames.length!=0) top.location=self.document.location;

Needless to say, it goes in the <head> of the pages that you do not want frames on.