Hallo Ich habe im Dreamweaver ein Template hergestellt. Beim erstellen einer Site aus diesem template werden alle images nicht angezeigt und der CSS und HTML-Code erscheint inaktiv. Kann mir jemand sagen welches Detail hier vergessen wurde. Gruss kablam
`` <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Main-display.dwt" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <!-- InstanceBeginEditable name="doctitle" --> <title>Aeroplaneworks-home</title> <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> <style type="text/css"> <!--
/* Beginn CSS-Code für Hintergrundaufbau */ body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; } a { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000099; } a:visited { color: #0099FF; } a:active { color: #CC9900; } h1 { font-size: 12px; color: #000000; } h2 { font-size: 12px; color: #6600CC; } h3 { font-size: 14px; color: #6600CC; } html, body { height: 100%; margin: 0; padding: 0; background: #7C8D87; } #top { float: left; width: 1px; height: 50%; margin-bottom: -384px; } #container { clear: left; position: relative; margin: 0 auto; width: 1024px; height: 768px; background: #7C8D87; } #head-section { position: absolute; left: 0px; top: 0px; width: 1024px; height: 225px; z-index: 1; background-image: url(.Templates/img/1024x225_heacsection.jpg); background-repeat: no-repeat; } #nav-section { position: absolute; left: 0px; top: 225px; width: 204px; height: 543px; z-index: 2; background-image: url(.Templates/img/204x543_Navsection_left.jpg); background-repeat: no-repeat; } #main-section { position: absolute; left: 204px; top: 225px; width: 820px; height: 526px; z-index: 4; background-image: url(.Templates/img/820x526_mainsection_transparenty.png); background-repeat: no-repeat; } #feet-section { position: absolute; left: 204px; top: 751px; width: 820px; height: 17px; z-index: 5; background-image: url(.Templates/img/820x17_feetsection_transparent.png); background-repeat: no-repeat; } #home { position:absolute; left:10px; top:6px; width:190px; height:40px; z-index:10; } #contactlocation { position:absolute; left:133px; top:187px; width:60px; height:76px; z-index:10; } #linksnews { position:absolute; left:10px; top:482px; width:190px; height:40px; z-index:10; } #leisure { position:absolute; left:10px; top:440px; width:190px; height:40px; z-index:10; } #projects { position:absolute; left:10px; top:396px; width:190px; height:40px; z-index:10; } #customwork { position:absolute; left:10px; top:353px; width:190px; height:35px; z-index:14; background-image: url(.Templates/img/190x35customworkinactiv.png); } #submenu-cw { position:absolute; left:0px; top:0px; width:190px; height:125px; z-index:14; background-image: url(.Templates/img/190x125customworkactiv.png); } #teamshop { position:absolute; left:10px; top:310px; width:190px; height:35px; z-index:15; background-image: url(.Templates/img/190x35team&shopinactiv.png); } #submenu-ts { position:absolute; left:0px; top:0px; width:190px; height:103px; z-index:15; background-image: url(.Templates/img/190x103team&shopactiv.png); } #vintagehatz { position:absolute; left:10px; top:267px; width:190px; height:35px; z-index:16; background-image: url(.Templates/img/190x35vintagehatzinactiv.png); } #submenu-vh { position:absolute; left:0px; top:0px; width:190px; height:125px; z-index:16; background-image: url(.Templates/img/190x125vintagehatzactiv.png); } #submenu-cw-selection { position:absolute; left:25px; top:38px; width:150px; height:80px; z-index:14; } #submenu-vh-selection { position:absolute; left:25px; top:38px; width:150px; height:80px; z-index:16; } #submenu-ts-selection { position:absolute; left:25px; top:40px; width:150px; height:55px; z-index:15; } #display-ms { position:absolute; left:5px; top:5px; width:790px; height:510px; z-index:3; } #Update { position:absolute; left:20px; top:527px; width:160px; height:14px; z-index:20; } #webdesign { position:absolute; left:650px; top:0px; width:150px; height:17px; z-index:5; }
/* Ende CSS-Code für Hintergrundaufbau */
-->
`` </style> <script type="text/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_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];}} }
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_showHideLayers() { //v6.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; } } //--> </script> </head> <body onload="MM_preloadImages('img/190x40homeactiv.png','img/60x76locationcontactaktiv.jpg','img/190x40linksnewsactiv.png','img/190x40leisureactiv.png','img/190x40projectsactiv.png');MM_showHideLayers('submenu-cw','','hide');MM_showHideLayers('submenu-ts','','hide');MM_showHideLayers('submenu-vh','','hide')"> <div id="top"></div> <div id="container"> <div id="head-section"></div> <div id="nav-section"> <div id="home"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('aeroplane-home','','img/190x40homeactiv.png',1)"><img src="img/190x40homeinactiv.png" alt="home" name="aeroplane-home" width="190" height="40" border="0" id="aeroplane-home" /></a></div> <div id="contactlocation"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('aeroplaneworks-contactlocation','','img/60x76locationcontactaktiv.jpg',1)"><img src="img/60x76locationcontact.jpg" alt="contact" name="aeroplaneworks-contactlocation" width="60" height="76" border="0" id="aeroplaneworks-contactlocation" /></a></div> <div id="linksnews"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('aeroplaneworks-linksnews','','img/190x40linksnewsactiv.png',1)"><img src="img/190x40linksnewsinactiv.png" alt="links" name="aeroplaneworks-linksnews" width="190" height="40" border="0" id="aeroplaneworks-linksnews" /></a></div> <div id="leisure"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('aeroplaneworks-leisure','','img/190x40leisureactiv.png',1)"><img src="img/190x40leisureinactiv.png" alt="leisure" name="aeroplaneworks-leisure" width="190" height="40" border="0" id="aeroplaneworks-leisure" /></a></div> <div id="projects"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('aeroplaneworks-projects','','img/190x40projectsactiv.png',1)"><img src="img/190x40projectsinactiv.png" alt="projects" name="aeroplaneworks-projects" width="190" height="40" border="0" id="aeroplaneworks-projects" /></a></div> <div id="customwork" onmouseover="MM_showHideLayers('submenu-cw','','show')" onmouseout="MM_showHideLayers('submenu-cw','','hide')"> <div id="submenu-cw"> <div id="submenu-cw-selection"> <div><strong>Aircraft woodwork<br /> Aircraft welding<br /> Sheetmetal forming <br /> Stainless tierods<br /> Aero Scale Products</strong></div> </div> </div> </div> <div id="teamshop" onmouseover="MM_showHideLayers('submenu-ts','','show')" onmouseout="MM_showHideLayers('submenu-ts','','hide')"> <div id="submenu-ts"> <div id="submenu-ts-selection"> <div><strong>Team<br /> Machine Shop<br /> Hangar</strong><br /> </div> </div> </div> </div> <div id="vintagehatz" onmouseover="MM_showHideLayers('submenu-vh','','show')" onmouseout="MM_showHideLayers('submenu-vh','','hide')"> <div id="submenu-vh"> <div id="submenu-vh-selection"> <div><strong>Specs & Drawings<br /> Hatz History<br /> Project History<br /> Gallery<br /> Engine</strong></div> </div> </div> </div> <div id="Update"> <div>Raum für den Inhalt des </div> </div> </div> <div id="main-section"> <div id="display-ms"> <div>Raum für den Inhalt des neuen Div-Tags</div> </div> </div> <div id="feet-section"> <div id="webdesign"> <div>Raum für den Inhalt de</div> </div> </div> </div>
</body> <!-- InstanceEnd --></html>