Oprydning i Dreamweaver-kode
Jeg er igang med et skole projekt og har lavet en hjemmeside i dreamweaver. I selve projektet skal jeg aflevere hjemmesiden i ren html og JavaScript, dvs. al dreamweaver slamkode skal ud. Jeg er ikke helt haj til det så plz hjælp. Siden kan forresten ses på: beam.to/mileniKoden:
<html>
<head><title>Jørgensen & Mørch Design</title>
<script language="JavaScript">
<!--
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
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.0
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 && document.getElementById) x=document.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_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
</head>
<body background="pics/baggrund.jpg">
<font face="MS Sans Serif" color="#CCCCCC" size="4" >
<div id="flash" style="position:absolute; left:696px; top:37px; width:108px; height:81px; visibility: hidden"><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="120" height="90">
<param name=movie value="pics/glas.swf">
<param name=quality value=high>
<embed src="pics/glas.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="120" height="90">
</embed>
</object></div>
<div id="jorgensenmorch" style="position:absolute; left:178; top:72; width:226px; height:20px; visibility: hidden"><p><font color="#000000">j ø r g e n s e n & m ø r c h</font></p></div>
<div id="showroom" style="position:absolute; left:178px; top:72px; width:125px; height:18px; visibility: hidden"><font color="#000000">s h o w r o o m</font></div>
<div id="handverk" style="position:absolute; left:178; top:72; width:128px; height:20px; visibility: hidden"><font color="#000000">h å n d v æ r k</font></div>
<div id="kontakt" style="position:absolute; left:178; top:72; width:95px; height:20px; visibility: hidden"><font color="#000000">k o n t a k t</font></div>
<div id="link" style="position:absolute; left:178; top:72; width:61px; height:19px; visibility: hidden"><font color="#000000">l i n k s</font></div>
<div id="knap1" style="position:absolute; left: 178; top: 104; visibility: visible"><a href="jorgensenmorch.htm" target="_parent"><img src="pics/1.gif" width="22" height="22" name="knap1" onMouseOver="MM_showHideLayers('jorgensenmorch','','show');MM_swapImage('knap1','','pics/11.gif',1)" onMouseOut="MM_showHideLayers('jorgensenmorch','','hide'); MM_swapImgRestore()" border="0"></a></div>
<div id="knap2" style="position:absolute; left: 211; top: 104; visibility: visible"><a href="showroom.htm" target="_parent"><img src="pics/5.gif" width="22" height="22" name="knap2" onMouseOver="MM_showHideLayers('flash','','show','showroom','','show');MM_swapImage('knap2','','pics/55.gif',1)" onMouseOut="MM_showHideLayers('flash','','hide','showroom','','hide');MM_swapImgRestore()" border="0"></a></div>
<div id="knap3" style="position:absolute; left: 244; top: 104; visibility: visible"><a href="haandvaerk.htm" target="_parent"><img src="pics/3.gif" width="22" height="22" name="knap3" onMouseOver="MM_showHideLayers('handverk','','show');MM_swapImage('knap3','','pics/33.gif',1)" onMouseOut="MM_showHideLayers('handverk','','hide');MM_swapImgRestore()" border="0"></a></div>
<div id="knap4" style="position:absolute; left: 277; top: 104; visibility: visible"><a href="kontakt.htm" target="_parent"><img src="pics/6.gif" width="22" height="22" name="knap4" onMouseOver="MM_showHideLayers('kontakt','','show');MM_swapImage('knap4','','pics/66.gif',1)" onMouseOut="MM_showHideLayers('kontakt','','hide');MM_swapImgRestore()" border="0"></a></div>
<div id="knap5" style="position:absolute; left: 310; top: 104; visibility: visible"><a href="links.htm" target="_parent"><img src="pics/6.gif" width="22" height="22" name="knap5" onMouseOver="MM_showHideLayers('link','','show');MM_swapImage('knap5','','pics/66.gif',1)" onMouseOut="MM_showHideLayers('link','','hide');MM_swapImgRestore()" border="0"></a></div>
<div id="indholdlag" style="position:absolute; left:178px; top:134; width:638px; height:358px; background-color: #000000; visibility: visible">
<div id="logolag" style="position:absolute; left: 208px; top: 35px"><img src="pics/logo.jpg" width="221" height="138"></div>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p align="center">E k s k l u s i v</p>
<p align="center">g l a s k u n s t</p>
</div>
<div id="logosortlag" style="position:absolute; left:733px; top:500px; visibility: visible"><img src="pics/logosort.gif" width="85" height="49"></div>
</font>
</body>
</html>
Håber nogen vil hjælpe.