PDA

View Full Version : Frame structure from Google search


NealM
October 21st, 2007, 01:15 PM
Hi Guys

I have set up my first website using frames rather than tables ! ! ! (see code below for the frameset document)


<HTML>
<HEAD>
<TITLE>ENSPEC Technology</TITLE>
</HEAD>
<FRAMESET rows="90,*" border="0">

<FRAME src="trial.htm" border="0">
<FRAMESET cols="132,*" border="0">

<FRAME src="xxx.htm" border="0">

<FRAME src="body.htm" border="0">
</FRAMESET>
</FRAMESET>
</HTML>


As you can see this generates three frames, a long one across the top of the page (trial.htm), a narrow one on the left (xxx.htm)and the biggest one (body.htm) fills the remainder of the screen.

The long one across the top and the thin one on the left both contain ONLY menu buttons and DO NOT change as you navigate from page to page. The large frame that fills the remainder of the screen (body.htm) contains all the text, pictures etc that make up the actual web site.

My question is this . . . . .

When you are directed to the site from a search engine, how do you ensure that all three frames are displayed rather than just the one containing all the content. . . . .

i.e. how do you ensure that the two narrow frames containing the menu buttons are also displayed ? ? ? ? ?

As always many thanks in advanced for any and all input.

oracle128
October 21st, 2007, 03:30 PM
You can do this with JavaScript (http://www.webreference.com/js/column36/forcing.html).

rockboy
October 21st, 2007, 09:57 PM
Here's an alternate workaround that doesn't use javascript. It also shows how to make a frame site more search engine friendly even if you decide to use javascript.

http://searchenginewatch.com/showPage.html?page=2167901

NealM
October 25th, 2007, 03:29 PM
Many thanks guys, much appreciated.