Click to See Complete Forum and Search --> : Need a script for frames please!


metny6
06-26-2003, 06:02 PM
Hi and thank u in advance for any help u can provide.

I am trying to set up my framed site so that the interior pages only load with the frames surrounding it for navigation and adverts and not as a stand alone page.


I tried scripts before but none of them will load the interior pages into the middle or mainframe of the frameset page??

That's what i need, i need the interior pages to load into the middle frame or mainframe of the frameset so when someone clicks on a link from a search engine or wherever, that page won't be a standalone page without any navigation.

I think something might be wrong with my frameset??

Here is the web address so u can see the paths that need to be used in the script: http://song-lyrics-by-mars.com


and thanks again!!

Khalid Ali
06-27-2003, 12:43 AM
something along the line of the code below will do that

if(self.location==top.location)self.location="mainpagesURL.html";

wpod
02-18-2004, 04:20 PM
Thank you this was just what iI was looking for...