30. april 2003 - 13:38
#10
hov var måske lige lidt for hurtig.. det sker også når jeg køre sitet lokalt -
det er den normale body =
<BODY bgcolor="#000000" leftmargin=0 topmargin=0 onLoad=eventLoader(); marginheight="0" marginwidth="0" onLoad="MM_preloadImages('gfx/nav-forrige2.gif','gfx/nav-erotica1-2.gif','gfx/nav-udstilling1-2.gif','gfx/nav-shop1-2.gif','gfx/nav-events1-2.gif','gfx/nav-news1-2.gif','gfx/nav-links1-2.gif','gfx/nav-kontakt1-2.gif','gfx/nav-home1-2.gif')">
og når sitet er på en webserver ser den såen ud =
<BODY bgcolor="#000000" leftmargin=0 topmargin=0 onLoad="var SymTmpWinOpen = window.open; window.open = SymWinO"var SymTmpWinOpen = window.open; window.open = SymWinOpen; eventLoader();; window.open = SymTmpWinOpen;"fx/nav-news1-2.gif','gfx/nav-links1-2.gif','gfx/nav-kontakt1-2.gif','gfx/nav-home1-2.gif')>
jeg er hægtet lidt af for jeg kan ikke finde eller se hvad der skulle aktivere eller ændre koden ?? ..
30. april 2003 - 14:18
#14
her er koden til forsiden for sammeligning
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Museum Erotica</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK href="corestyle/erostyle.css" rel="stylesheet" type="text/css">
<SCRIPT language="JavaScript" type="text/JavaScript">
<!--
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];}}
}
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_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];}
}
//-->
</SCRIPT>
</HEAD>
<BODY bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('gfx/nav02.gif','gfx/nav01.gif','gfx/nav03.gif','gfx/nav04.gif','gfx/nav05.gif')">
<TABLE width="760" height="414" border="0" align="center" cellpadding="0" cellspacing="0">
<TR>
<TD width="760" valign="top" background="gfx/bg-main.jpg" class="bund"><P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P><TABLE width="39%" border="0" align="center">
<TR>
<TD align="right"><IMG src="gfx/nav00.gif" name="Image1" width="279" height="124" border="0" usemap="#MapMap" id="Image1">
<MAP name="MapMap">
<AREA shape="poly" coords="188,45,153,106,226,107" href="kontakt.htm" class="klik" onMouseOver="MM_swapImage('Image1','','gfx/nav05.gif',1)" onMouseOut="MM_swapImgRestore()">
<AREA shape="poly" coords="89,46,54,107,127,108" href="events.htm" class="klik" onMouseOver="MM_swapImage('Image1','','gfx/nav04.gif',1)" onMouseOut="MM_swapImgRestore()">
<AREA shape="poly" coords="101,16,140,81,177,15" href="show.htm" class="klik" onMouseOver="MM_swapImage('Image1','','gfx/nav02.gif',1)" onMouseOut="MM_swapImgRestore()">
<AREA shape="poly" coords="201,16,240,81,277,15" href="eroshop.htm" class="klik" onMouseOver="MM_swapImage('Image1','','gfx/nav03.gif',1)" onMouseOut="MM_swapImgRestore()">
<AREA shape="poly" coords="1,16,40,81,77,15" href="erotica.htm" class="klik" onMouseOver="MM_swapImage('Image1','','gfx/nav01.gif',1)" onMouseOut="MM_swapImgRestore()">
</MAP></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<MAP name="Map"><AREA shape="poly" coords="188,45,153,106,226,107" href="kontakt.htm" class="klik" onMouseOver="MM_swapImage('Image1','','gfx/nav05.gif',1)" onMouseOut="MM_swapImgRestore()">
<AREA shape="poly" coords="89,46,54,107,127,108" href="events.htm" class="klik" onMouseOver="MM_swapImage('Image1','','gfx/nav04.gif',1)" onMouseOut="MM_swapImgRestore()">
<AREA shape="poly" coords="101,16,140,81,177,15" href="show.htm" class="klik" onMouseOver="MM_swapImage('Image1','','gfx/nav02.gif',1)" onMouseOut="MM_swapImgRestore()">
<AREA shape="poly" coords="201,16,240,81,277,15" href="eroshop.htm" class="klik" onMouseOver="MM_swapImage('Image1','','gfx/nav03.gif',1)" onMouseOut="MM_swapImgRestore()">
<AREA shape="poly" coords="1,16,40,81,77,15" href="erotica.htm" class="klik" onMouseOver="MM_swapImage('Image1','','gfx/nav01.gif',1)" onMouseOut="MM_swapImgRestore()">
</MAP>
</BODY>
</HTML>