 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
knallis
Joined: 16 Jul 2007 Posts: 2
|
Posted: Mon Jul 16, 2007 9:56 am :-( VERY irritating problem with frames-navigation in IE... |
|
|
|
Having browsed and not really found anything which could help me, I desperately seek quidance!
The task at hand is simple; I have created a website using a top frame (containing a menu) and a mainFrame containing the pages. The frameset itself should be straight forward:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Vuggestuen Kolibrien</title>
</head>
<frameset rows="138,*" frameborder="no" border="0" framespacing="0">
<frame src="m.htm" scrolling="No" noresize="noresize">
<frame src="00.htm" name="mainFrame" id="mainFrame" title="mainFrame">
</frameset>
</html>
...but for the life of me, I can not get ANY of the links from the menu to provoke the slightest of action in the mainFrame!!? It works flawlessly in Firefox, but of course the targeted audience will be turned off by the prospect of having to download and install FF just for this website ...
Here's the html for the menu portion (located in the top frame) - please, please check it to see if I've missed something!!!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>m.jpg</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">td img {display: block;}</style>
<!--Fireworks CS3 Dreamweaver CS3 target. Created Mon Jul 16 11:16:38 GMT+0200 (Romance Daylight Time) 2007-->
<script language="JavaScript1.2" type="text/javascript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
</head>
<body bgcolor="#ffffff" onload="MM_preloadImages('m_r2_c2_f2.jpg','m_r2_c4_f2.jpg','m_r2_c6_f2.jpg','m_r2_c8_f2.jpg','m_r2_c10_f2.jpg','m_r2_c12_f2.jpg');">
<table align="center" border="0" cellpadding="0" cellspacing="0" width="850">
<!-- fwtable fwsrc="dummy.png" fwpage="Page 1" fwbase="m.jpg" fwstyle="Dreamweaver" fwdocid = "918494598" fwnested="0" -->
<tr>
<td><img src="spacer.gif" width="75" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="57" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="64" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="73" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="74" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="36" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="74" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="71" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="77" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="29" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="91" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="46" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="83" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="13"><img name="m_r1_c1" src="m_r1_c1.jpg" width="850" height="88" border="0" id="m_r1_c1" alt="" /></td>
<td><img src="spacer.gif" width="1" height="88" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2"><img name="m_r2_c1" src="m_r2_c1.jpg" width="75" height="47" border="0" id="m_r2_c1" alt="" /></td>
<td><a href="nyhed.htm" target="mainFrame" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('m_r2_c2','','m_r2_c2_f2.jpg',1);"><img name="m_r2_c2" src="m_r2_c2.jpg" width="57" height="8" border="0" id="m_r2_c2" alt="" /></a></td>
<td rowspan="2"><img name="m_r2_c3" src="m_r2_c3.jpg" width="64" height="47" border="0" id="m_r2_c3" alt="" /></td>
<td><a href="om.htm" target="mainFrame" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('m_r2_c4','','m_r2_c4_f2.jpg',1);"><img name="m_r2_c4" src="m_r2_c4.jpg" width="73" height="8" border="0" id="m_r2_c4" alt="" /></a></td>
<td rowspan="2"><img name="m_r2_c5" src="m_r2_c5.jpg" width="74" height="47" border="0" id="m_r2_c5" alt="" /></td>
<td><a href="galleri.htm" target="mainFrame" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('m_r2_c6','','m_r2_c6_f2.jpg',1);"><img name="m_r2_c6" src="m_r2_c6.jpg" width="36" height="8" border="0" id="m_r2_c6" alt="" /></a></td>
<td rowspan="2"><img name="m_r2_c7" src="m_r2_c7.jpg" width="74" height="47" border="0" id="m_r2_c7" alt="" /></td>
<td><a href="nedlastninger.htm" target="mainFrame" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('m_r2_c8','','m_r2_c8_f2.jpg',1);"><img name="m_r2_c8" src="m_r2_c8.jpg" width="71" height="8" border="0" id="m_r2_c8" alt="" /></a></td>
<td rowspan="2"><img name="m_r2_c9" src="m_r2_c9.jpg" width="77" height="47" border="0" id="m_r2_c9" alt="" /></td>
<td><a href="forum.htm" target="mainFrame" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('m_r2_c10','','m_r2_c10_f2.jpg',1);"><img name="m_r2_c10" src="m_r2_c10.jpg" width="29" height="8" border="0" id="m_r2_c10" alt="" /></a></td>
<td rowspan="2"><img name="m_r2_c11" src="m_r2_c11.jpg" width="91" height="47" border="0" id="m_r2_c11" alt="" /></td>
<td><a href="kalender.htm" target="mainFrame" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('m_r2_c12','','m_r2_c12_f2.jpg',1);"><img name="m_r2_c12" src="m_r2_c12.jpg" width="46" height="8" border="0" id="m_r2_c12" alt="" /></a></td>
<td rowspan="2"><img name="m_r2_c13" src="m_r2_c13.jpg" width="83" height="47" border="0" id="m_r2_c13" alt="" /></td>
<td><img src="spacer.gif" width="1" height="8" border="0" alt="" /></td>
</tr>
<tr>
<td><img name="m_r3_c2" src="m_r3_c2.jpg" width="57" height="39" border="0" id="m_r3_c2" alt="" /></td>
<td><img name="m_r3_c4" src="m_r3_c4.jpg" width="73" height="39" border="0" id="m_r3_c4" alt="" /></td>
<td><img name="m_r3_c6" src="m_r3_c6.jpg" width="36" height="39" border="0" id="m_r3_c6" alt="" /></td>
<td><img name="m_r3_c8" src="m_r3_c8.jpg" width="71" height="39" border="0" id="m_r3_c8" alt="" /></td>
<td><img name="m_r3_c10" src="m_r3_c10.jpg" width="29" height="39" border="0" id="m_r3_c10" alt="" /></td>
<td><img name="m_r3_c12" src="m_r3_c12.jpg" width="46" height="39" border="0" id="m_r3_c12" alt="" /></td>
<td><img src="spacer.gif" width="1" height="39" border="0" alt="" /></td>
</tr>
</table>
</body>
</html> |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8268 Location: Castle Rock CO USA
|
Posted: Tue Jul 17, 2007 2:33 am |
|
|
|
Make sure to name both frames. And I would add the target in the
| Code: |
| <frame src="m.htm" target="mainFrame" scrolling="No" noresize="noresize"> |
Failing that, try two simple HTML pages and then if that works, something is in your code that might be preventing (ndex page with FRAMES dont work in IE on PC) it from working.
That looks like some proprietary Dreamweaver code in there that might be causing some problems.
_________________
Corey
Toll Free Fax Numbers | Merchant Accounts | MerchantAccount PodCast |
|
knallis
Joined: 16 Jul 2007 Posts: 2
|
Posted: Thu Jul 26, 2007 10:40 pm |
|
|
|
Solved the problem!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">
....by simply removing all the above and enclosing the doucment in a simple <html></html> tag! |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|