Fullscreen pop-up vindue i firefox
Kære eksperter,Er der nogen der kan hjælpe mig med en kode til et fullscreen pop-up vindue i Mozilla? Den trykker mit (flash)site i top og bund, så der bliver nogle voldsomme marginer og mit indhold bliver helt forvrænget... Sitet bliver kun vist rigtigt i IE...
(Hvis I også har en kode til Opera og Safari ville det være fantastisk - men Mozilla er vigtigst...)
Skal koden indsættes på default.html eller frontpage.html? Mine koder ser sådan her ud:
PÅ DEFAULT:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Navn</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function launchwin()
{
newwin = window.open("frontpage.html","WindowName","fullscreen=1, scrollbars=0")
newwin.resizeBy(15,0)
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="00" marginheight="0" onLoad="">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#000000">
<td align="center">
<p><img name="Image2" border="0" src="blend_big_kompr.gif" width="540" height="230">
</p>
<p><font color="#FFFFFF" face="Arial, Helvetica, sans-serif"><b><a href="#" onclick="launchwin();return false"><img src="indextxt.gif" width="360" height="39" border="0"></a></b></font></p>
</td>
</tr>
</table>
</body>
</html>
PÅ FRONTPAGE:
<HTML>
<HEAD>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="generator" content="Adobe GoLive" />
<meta http-equiv=Content-Type content="text/html; charset="> <TITLE>Navn</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll="no">
<center> <table width=100% height=100% border=0 cellpadding=0 cellspacing=0> <tr valign="middle">
<td align=center> <div align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=100% HEIGHT=100%>
<PARAM NAME=movie VALUE="site.swf"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=exactfit> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#990000> <EMBED src="site.swf" menu=false quality=high scale=exactfit wmode=transparent bgcolor=#990000 WIDTH=100% HEIGHT=100% TYPE="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" BORDER="0">
</embed> </object><br> </div></td></tr> </table></center>
</BODY>
</HTML>
Håber virkelig der er nogen der kan hjælpe...
:)
Nædde