Forum Moderators: open

Message Too Old, No Replies

How to handle these specific frame problems

         

astoller

7:51 pm on Dec 18, 2003 (gmt 0)

10+ Year Member



Can you help on these 3 frameset questions?

1.Do I copy body text into topframe.htm (navigation) after the javascript.
and just create a table to hold it?

2. How to I ensure scrolling and resize are off in this topframe.htm page?

3. Is it normal practice to put in a redirect inside a content page to link back to the index.htm framset to pick up navigation?

Krapulator

5:31 am on Dec 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



1. Can you clarify this a little further.

2. <frame src="top_frame.htm" name="topFrame" scrolling="no" noresize>

3. It is usual to use a javascript to ensure that the relevant pages are contained within the frames.

tedster

6:35 am on Dec 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



FYI, here's one javascript approach to put frame content pages back into their frameset:

[webmasterworld.com...]

astoller

9:10 am on Dec 19, 2003 (gmt 0)

10+ Year Member



Here's the javascript code for topframe,witha redirect to index.
I want to add text that will be read by the search egninew, so do I just create a table at the bottom and past it in?
Sorry code is so long, but its just javascript

<HTML>
<HEAD>
<TITLE>Home Page</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

<script language="JavaScript">
<!--
if(top==self) self.location.href="index.htm";
//-->
</script>
</HEAD>

<BODY BGCOLOR="#FFFFFF" onLoad="MM_preloadImages('images/corporate_link_over.gif','images/services_link_over.gif','images/news_link_over.gif','images/links_link_over.gif','images/enquire_link_over.gif','images/findus_link_over.gif','images/catalogue_link_over.gif','images/drop_coperate_3_over.gif','images/drop_coperate_4_over.gif','images/drop_coperate_6_over.gif','images/drop_coperate_5_over.gif','images/drop_coperate_2_over.gif','images/drop_coperate_1_over.gif','images/drop_enqury_1_over.gif','images/drop_enqury_2_over.gif','images/drop_loc_1_over.gif','images/drop_loc_2_over.gif')" leftmargin="0" topmargin="0" rightmargin="0" marginwidth="0" marginheight="0" background="images/top_backgr.gif">
<TABLE WIDTH="777" BORDER="0" CELLSPACING="0" CELLPADDING="0" height="130" vspace="0" hspace="0" align="left">
<TR ALIGN="LEFT" VALIGN="TOP">
<TD ROWSPAN="4" WIDTH="123" valign="top" height="130" bgcolor="#666666"><IMG SRC="images/top_logo.gif" width="123" height="130"></TD>
<TD WIDTH="655" HEIGHT="66"><IMG SRC="images/top_title.gif" WIDTH="655" HEIGHT="66"></TD></TR><TR>

<TD WIDTH="655" HEIGHT="20">

<a href="corporate_main.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation','','hide')" onMouseOver="MM_swapImage('Image12','','images/corporate_link_over.gif',1);MM_showHideLayers('navigation','','show')" target="content"><img name="Image12" border="0" src="images/corporate_link_up.gif" width="86" height="21"></a><a onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation61','','hide')" onMouseOver="MM_swapImage('Image13','','images/services_link_over.gif',1);MM_showHideLayers('navigation61','','show')" href="#" ><img name="Image13" border="0" src="images/services_link_up.gif" width="83" height="21"></a><a onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation5','','hide')" onMouseOver="MM_swapImage('Image15','','images/news_link_over.gif',1);MM_showHideLayers('navigation5','','show')" href="#" ><img name="Image15" border="0" src="images/news_link_up.gif" width="61" height="21"></a><a href="links.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16','','images/links_link_over.gif',1)" target="content"><img name="Image16" border="0" src="images/links_link_up.gif" width="63" height="21"></a><a href="#" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigaton2','','hide')" onMouseOver="MM_swapImage('Image17','','images/enquire_link_over.gif',1);MM_showHideLayers('navigaton2','','show')"><img name="Image17" border="0" src="images/enquire_link_up.gif" width="80" height="21"></a><a onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation3','','hide')" onMouseOver="MM_swapImage('Image18','','images/findus_link_over.gif',1);MM_showHideLayers('navigation3','','show')" href="#" ><img name="Image18" border="0" src="images/findus_link_up.gif" width="77" height="21"></a><a href="catalogue.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image19','','images/catalogue_link_over.gif',1)" target="content"><img name="Image19" border="0" src="images/catalogue_link_up.gif" width="91" height="21"></a>

</TD>

</TR><TR><TD WIDTH="655" HEIGHT="16"></TD></TR><TR><TD WIDTH="655" HEIGHT="28"></TD></TR></TABLE>
<div id="navigaton2" style="position:absolute; width:60px; height:25px; z-index:2; left: 415; top: 86; visibility: hidden">
<table width="94" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td><a href="enquire_uk.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigaton2','','hide')" onMouseOver="MM_swapImage('Image26','','images/drop_enqury_1_over.gif',1);MM_showHideLayers('navigaton2','','show')" target="content"><img name="Image26" border="0" src="images/drop_enqury_1_up.gif" width="94" height="22"></a></td>
</tr>
<tr align="left" valign="top">
<td><a href="enquire_usa.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigaton2','','hide')" onMouseOver="MM_swapImage('Image27','','images/drop_enqury_2_over.gif',1);MM_showHideLayers('navigaton2','','show')" target="content"><img name="Image27" border="0" src="images/drop_enqury_2_up.gif" width="94" height="21"></a></td>
</tr>
</table>
</div>
<div id="navigation3" style="position:absolute; width:60px; height:30px; z-index:3; left: 493; top: 86; visibility: hidden">
<table width="94" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td><a href="findus_uk.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation3','','hide')" onMouseOver="MM_swapImage('Image28','','images/drop_loc_1_over.gif',1);MM_showHideLayers('navigation3','','show')" target="content"><img name="Image28" border="0" src="images/drop_loc_1_up.gif" width="94" height="21"></a></td>
</tr>
<tr align="left" valign="top">
<td><a href="findus_usa.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation3','','hide')" onMouseOver="MM_swapImage('Image29','','images/drop_loc_2_over.gif',1);MM_showHideLayers('navigation3','','show')" target="content"><img name="Image29" border="0" src="images/drop_loc_2_up.gif" width="94" height="22"></a></td>
</tr>
</table>

</div>
<div id="navigation5" style="position: absolute; width: 94px; height: 42px; z-index:5; left: 295; top: 86; visibility: hidden">
<table width="94" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top">
<td><a href="news.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation5','','hide')" onMouseOver="MM_swapImage('Image30','','images/drop_news_late_over.gif',1);MM_showHideLayers('navigation5','','show')" target="content"><img name="Image30" border="0" src="images/drop_news_late_up.gif" width="94" height="21"></a></td>
</tr>
<tr align="left" valign="top">
<td><a href="career.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation5','','hide')" onMouseOver="MM_swapImage('Image31','','images/drop_news_career_over.gif',1);MM_showHideLayers('navigation5','','show')" target="content"><img name="Image31" border="0" src="images/drop_news_career_up.gif" width="94" height="21"></a></td>
</tr>
</table>
</div>

<div id="navigation" style="position:absolute; width:200px; height:30px; z-index:1; left: 122px; top: 86px; visibility: hidden">
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top"> <td height="21" width="150"><a href="corporate_materials.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation','','hide')" onMouseOver="MM_swapImage('Image25','','images/drop_coperate_1_over.gif',1);MM_showHideLayers('navigation','','show')" target="content"><img name="Image25" border="0" src="images/drop_coperate_1_up.gif" width="196" height="22"></a></td>
<td height="21" width="242"><a href="corporate_components.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation','','hide')" onMouseOver="MM_swapImage('Image21','','images/drop_coperate_3_over.gif',1);MM_showHideLayers('navigation','','show')" target="content"><img name="Image21" border="0" src="images/drop_coperate_3_up.gif" width="196" height="22"></a></td>

<td height="21" width="196"><a href="corporate_customer.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation','','hide')" onMouseOver="MM_swapImage('Image23','','images/drop_coperate_5_over.gif',1);MM_showHideLayers('navigation','','show')" target="content"><img name="Image23" border="0" src="images/drop_coperate_5_up.gif" width="152" height="22"></a></td>
</tr>
<tr align="left" valign="top">
<td width="150"><a href="corporate_group.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation','','hide')" onMouseOver="MM_swapImage('Image20','','images/drop_coperate_2_over.gif',1);MM_showHideLayers('navigation','','show')" target="content"><img name="Image20" border="0" src="images/drop_coperate_2_up.gif" width="196" height="21"></a></td>
<td width="242"><a href="corporate_tech.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation','','hide')" onMouseOver="MM_swapImage('Image22','','images/drop_coperate_4_over.gif',1);MM_showHideLayers('navigation','','show')" target="content"><img name="Image22" border="0" src="images/drop_coperate_4_up.gif" width="196" height="21"></a></td>

<td width="196"><a href="corporate_key.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation','','hide')" onMouseOver="MM_swapImage('Image24','','images/drop_coperate_6_over.gif',1);MM_showHideLayers('navigation','','show')" target="content"><img name="Image24" border="0" src="images/drop_coperate_6_up.gif" width="152" height="21"></a></td>
</tr>
</table>
<div>
<div id="navigation61" style="position:absolute; width:200px; height:10px; z-index:1; left: 80px; top: 0px; visibility: hidden">
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr align="left" valign="top"> <td height="21" width="150"><a href="design.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation61','','hide')" onMouseOver="MM_swapImage('Image25','','images/designmenu.gif',1);MM_showHideLayers('navigation61','','show')" target="content"><img name="Image25" border="0" src="images/designmenu.gif" width="196" height="22"></a></td>
<td height="21" width="242"><a href="training.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation61','','hide')" onMouseOver="MM_swapImage('Image21','','images/trainingmenu.gif',1);MM_showHideLayers('navigation61','','show')" target="content"><img name="Image21" border="0" src="images/trainingmenu.gif" width="196" height="22"></a></td>

<td height="21" width="196"><a href="loan.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation61','','hide')" onMouseOver="MM_swapImage('Image23','','images/loanoflabourmenu.gif',1);MM_showHideLayers('navigation61','','show')" target="content"><img name="Image23" border="0" src="images/loanoflabourmenu.gif" width="152" height="22"></a></td>
</tr>
<tr align="left" valign="top">
<td width="150"><a href="research.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation61','','hide')" onMouseOver="MM_swapImage('Image20','','images/randdmenu.gif',1);MM_showHideLayers('navigation61','','show')" target="content"><img name="Image20" border="0" src="images/randdmenu.gif" width="196" height="21"></a></td>
<td width="242"><a href="testing.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation61','','hide')" onMouseOver="MM_swapImage('Image22','','images/testingmenu.gif',1);MM_showHideLayers('navigation61','','show')" target="content"><img name="Image22" border="0" src="images/testingmenu.gif" width="196" height="21"></a></td>

<td width="196"><img src="IMAGES/blankmenu.GIF" width="151" height="21"></td>

<td height="21" width="196"><a href="corporate_materials.htm" onMouseOut="MM_swapImgRestore();MM_showHideLayers('navigation61','','hide')" onMouseOver="MM_swapImage('Image25','','images/designmenu.gif',1);MM_showHideLayers('navigation61','','show')" target="content">
</tr>
</table>

</BODY>
</HTML>