IFRAMEs i Netscape 6.2 og 6.1
Jeg har følgende kode, som virker fint i IE, men ikke i Netscape 6.2<?php
/*
-------------------------------------
INDEX2.PHP
----------
11/10/2001 - HS
TILLADTE ARGUMENTER
--------------------
action=forumentry og topic og forum
action=forumregister
indhold=/xxx
topbanner=xxx
bundbanner=xxx
menu=zzz
leftcorner=ttt
LINKS SKAL STARTE SÅLEDES:
/index2.php?indhold=xxx&
------------------------------------
*/
// ENDELSE PÅ BANNER INCLUDES
$ext = \".php\";
//------------------------------
//
// CHECK PARAMTRE
//
//------------------------------
// Topbanner Parameter
//
// ligger altid i /topbanners bib
if(!isset($topbanner)) {
$topbanner=\"468runoff\";
}
if ($topbanner == \"runoff\") {
$topbanner = \"468runoff\";
}
// Bundbanner Parameter
//
// ligger altid i /bundbanners bib
if(!isset($bundbanner)) {
$bundbanner=\"125runoff\";
}
if ($bundbanner == \"runoff\") {
$bundbanner = \"125runoff\";
}
// Generel brug af indhold
//
// DEBUG: echo \"\\n\\n$indhold\\n\";
if(!isset($indhold)) {
if(!isset($action)) {
$indhold=\"http://www.helsingorinfo.dk/files/forside.php\";
}
}
// Forum3000: Action Parameter
//
// DEBUG: echo $action;
if ($action==\"forumentry\") {
//echo \"FORUMENTRY\\n\";
$indhold=\"http://www.helsingorinfo.dk/phpapps/forum3000/viewtopic.php?topic=$topic&forum=$forum\";
}
// Forum3000: Register Profil
//
// DEBUG: echo $action;
if ($action==\"forumregister\") {
$indhold =\"http://www.helsingorinfo.dk/phpapps/forum3000/bb_register.php?mode=agreement\";
}
// Menu Parameter
if(!isset($menu)) {
$menu=\"menu.htm\";
}
// Leftcorner Parameter
//
// Filer skal ligge i /leftcorner/
if(!isset($leftcorner)) {
$leftcorner=\"standard.htm\";
}
// Rightcorner Parameter
//
// Filer skal ligge i /rightcorner/
if(!isset($rightcorner)) {
$rightcorner=\"kronborg_logo.htm\";
}
//
// CHECK PARAMETRE END
//
?>
<html>
<head>
<title>test</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">
<META HTTP-EQUIV=\"Cache-Control\" CONTENT=\"no-cache, must-revalidate\">
<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">
<link rel=\"stylesheet\" href=\"css/helsingornet_css.css\" type=\"text/css\">
<!-- STATUS BAR SCRIPT -->
<SCRIPT LANGUAGE=Javascript>
<!--
function statusbar(msgStr) { //v1.0
window.status=msgStr;
return true;
}
//-->
</SCRIPT>
</head>
<!-- BODY START -->
<body text=\"#000000\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" background=\"gfx/bg-520-480.gif\" onload=\"statusbar(\'Velkommen !\');\">
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"780\" align=\"center\" height=\"100%\">
<tr>
<td height=\"80\" valign=\"top\">
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"tableborder_all_blue_1px\" width=\"780\">
<tr>
<td colspan=\"2\" class=\"solid_vertical_line_top_bottom\" height=\"80\">
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"100%\" width=\"100%\">
<tr>
<td height=\"60\" width=\"120\">
<!-- LEFT CORNER -->
<iframe border=\"0\" name=\"leftcorner\" marginwidth=\"0\" marginheight=\"0\" src=\"http://www.helsingorinfo.dk/leftcorner/<? echo \"$leftcorner\"; ?>\" frameborder=\"no\" width=\"100%\" height=\"100%\" scrolling=\"no\" target=\"indhold\"></iframe></td>
<td valign=\"middle\" align=\"center\" height=\"60\" width=\"626\" bgcolor=\"#999999\">
<!-- TOP BANNER -->
<iframe border=\"0\" name=\"topbanner\" marginwidth=\"0\" marginheight=\"0\" src=\"http://www.helsingorinfo.dk/topbanners/<? echo \"$topbanner$ext\"; ?>\" frameborder=\"no\" width=\"100%\" height=\"100%\" scrolling=\"no\"></iframe></td>
<td valign=\"middle\" align=\"center\" height=\"60\" width=\"125\">
<!-- RIGHT CORNER -->
<iframe border=\"0\" name=\"rightcorner\" marginwidth=\"0\" marginheight=\"0\" src=\"http://www.helsingorinfo.dk/rightcorner/<? echo \"$rightcorner\"; ?>\" frameborder=\"no\" width=\"100%\" height=\"100%\" scrolling=\"no\" target=\"indhold\"></iframe></td>
</td>
</tr>
<tr>
<th valign=\"middle\" height=\"25\" width=\"120\" align=\"center\" bgcolor=\"#000000\" nowrap><IFRAME border=\"1\" name=\"dropdown\" marginWidth=\"0\" marginHeight=\"0\" src=\"/radiobuttons/radio.htm?\" frameBorder=\"nu\" width=\"100%\" scrolling=\"no\" height=\"100%\"></IFRAME>
</th>
<th valign=\"top\" height=\"25\" bgcolor=\"#000000\" nowrap colspan=\"2\">
<!-- MENU FRAME -->
<IFRAME border=\"1\" name=\"menu\" marginWidth=\"0\" marginHeight=\"0\" src=\"http://www.helsingorinfo.dk/menu/<? echo $menu; ?>\" frameBorder=\"nu\" width=\"100%\" scrolling=\"no\" height=\"100%\"></IFRAME>
</th>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=\"tableborder_all_blue_1px\" height=\"auto\">
<!-- INDHOLDS-FRAME -->
<IFRAME border=\"0\" name=\"indhold\" marginWidth=\"0\" marginHeight=\"0\" src=<? echo $indhold; ?> frameBorder=\"no\" width=\"100%\" scrolling=\"auto\" height=\"100%\"></IFRAME>
</tr>
<tr>
<td height=\"60\" valign=\"middle\" align=\"center\">
<!-- BUND BANNER FRAME -->
<IFRAME border=\"0\" name=\"bundbanner\" marginWidth=\"0\" marginHeight=\"0\" src=\"http://www.helsingorinfo.dk/bundbanners/<? echo \"$bundbanner$ext\"; ?>\" frameBorder=\"no\" width=\"100%\" scrolling=\"no\" height=\"100%\"></IFRAME>
</td>
</tr>
</table>
<!-- EXTREME TRACKER -->
<?php
/*
<a target=\"_top\" href=\"http://u.extreme-dm.com/?login=29662166\"> <img
name=im src=\"http://u1.extreme-dm.com/i.gif\" height=0
border=0 width=0 alt=\"\"></a>
<script language=\"javascript\"><!--
an=navigator.appName;d=document;function
pr(){d.write(\"<img src=\\\"http://u0.extreme-dm.com\",
\"/0.gif?tag=29662166&j=y&srw=\"+srw+\"&srb=\"+srb+\"&\",
\"rs=\"+r+\"&l=\"+escape(d.referrer)+\"\\\" height=1 \",
\"width=1>\");}srb=\"na\";srw=\"na\";//-->
</script><script language=\"javascript1.2\"><!--
s=screen;srw=s.width;an!=\"Netscape\"?
srb=s.colorDepth:srb=s.pixelDepth;//-->
</script><script language=\"javascript\"><!--
r=41;d.images?r=d.im.width:z=0;pr();//-->
</script>
<noscript><img height=1 width=1 alt=\"\"
src=\"http://u0.extreme-dm.com/0.gif?tag=29662166&j=n\"></noscript>
-->
*/
?>
</body>
</html>
Hvad er der galt ? NS6.1 + skulle da understøtte IFRAMES
