javascript help
ok am playing around with layout of my website
I love the menu system I have, tis very nice, but I want a change, and considering going to a more classic framed look and feel, very 90's I know
my current problem is, if I want to put a link, on here for example, to say;
http://www.markuswarren.co.uk/cars/pictures/movit.html then I would not get frames, which would contain the new menu system.
So, anyone got and javascript code that would detect if there were frames present and if not, create the frames, and load the menu in one and the originating page in the other.
hope this makes sense.
I love the menu system I have, tis very nice, but I want a change, and considering going to a more classic framed look and feel, very 90's I know

my current problem is, if I want to put a link, on here for example, to say;
http://www.markuswarren.co.uk/cars/pictures/movit.html then I would not get frames, which would contain the new menu system.
So, anyone got and javascript code that would detect if there were frames present and if not, create the frames, and load the menu in one and the originating page in the other.
hope this makes sense.
<SCRIPT LANGUAGE="JavaScript">
<!--
if (top == self) self.location.href = "INSERT HOMEPAGE HERE";
// -->
</SCRIPT>
This would take them back to the homepage if they came in out of frames.
<!--
if (top == self) self.location.href = "INSERT HOMEPAGE HERE";
// -->
</SCRIPT>
This would take them back to the homepage if they came in out of frames.
Thread
Thread Starter
Forum
Replies
Last Post
CodeKey@Lisan
Computer & Technology Related
11
Feb 20, 2004 05:23 PM
RichB
Computer & Technology Related
2
Nov 5, 2003 02:27 PM





