starfish
2008-03-28, 18:43:42
Hi,
ich habe mit Photoshop eine Flash Fotogallerie erstellt.
Dieses swf möchte ich jetzt in eine HTML Seite einbauen.
Jedesmal wenn ich das swf im Dreamweaver in eine Tabelle einfüge, dann ist das swf im Firefox und IE nicht sichtbar.
Poste doch mal den erzeugten Html Code
starfish
2008-03-28, 18:53:40
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script 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 onload="MM_preloadImages('img/buttons/home-high.png','img/buttons/nid-demo-high.png','img/buttons/nis-methode-high.png','img/buttons/presse-high.png','img/buttons/fragen-und-antworten-high.png','img/buttons/wir-uber-uns-high.png','img/buttons/impressum-high.png','img/buttons/nis-shop-high.png')">
<table width="100%" height="700" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle"><table width="820" height="648" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="100" align="left" valign="top" background="img/banner.jpg"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','172','height','100','title','NIS-Logo','src','flash/logo','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash/logo' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="172" height="100" title="NIS-Logo">
<param name="movie" value="flash/logo.swf" />
<param name="quality" value="high" />
<embed src="flash/logo.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="172" height="100"></embed>
</object></noscript></td>
</tr>
<tr>
<td height="43" align="left" valign="middle" background="img/navi_leiste.jpg"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Home','','img/buttons/home-high.png',1)"><img src="img/buttons/home-normal.png" alt="Home" name="Home" width="47" height="28" border="0" id="Home" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('NIS-Demo','','img/buttons/nid-demo-high.png',1)"><img src="img/buttons/nis-demo-normal.png" alt="NIS-Demo" name="NIS-Demo" width="67" height="28" border="0" id="NIS-Demo" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('NIS-Methode','','img/buttons/nis-methode-high.png',1)"><img src="img/buttons/nis-methode-normal.png" alt="NIS-Methode" name="NIS-Methode" width="82" height="28" border="0" id="NIS-Methode" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Presse','','img/buttons/presse-high.png',1)"><img src="img/buttons/presse-normal.png" alt="Presse" name="Presse" width="49" height="28" border="0" id="Presse" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Fragen und Antworten','','img/buttons/fragen-und-antworten-high.png',1)"><img src="img/buttons/fragen-und-antworten-normal.png" alt="Fragen und Antworten" name="Fragen und Antworten" width="133" height="29" border="0" id="Fragen und Antworten" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Wir ueber uns','','img/buttons/wir-uber-uns-high.png',1)"><img src="img/buttons/wir-ueber-uns-normal.png" alt="Wir ueber uns" name="Wir ueber uns" width="81" height="29" border="0" id="Wir ueber uns" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Impressum','','img/buttons/impressum-high.png',1)"><img src="img/buttons/impressum-normal.png" alt="Impressum" name="Impressum" width="72" height="29" border="0" id="Impressum" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('NIS-Shop','','img/buttons/nis-shop-high.png',1)"><img src="img/buttons/nis-shop-normal.png" alt="NIS-Shop" name="NIS-Shop" width="64" height="29" border="0" id="NIS-Shop" /></a></td>
</tr>
<tr>
<td height="19" bgcolor="9ea0ff"> </td>
</tr>
<tr>
<td height="369" align="center" valign="middle" bgcolor="9ea0ff"><table width="90%" height="453" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="50%" height="356"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','369','height','420','title','Bilder','src ','bildergallerie/gallery','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','bildergallerie/gallery' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="369" height="420" title="Bilder">
<param name="movie" value="bildergallerie/gallery.swf" />
<param name="quality" value="high" />
<embed src="bildergallerie/gallery.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="369" height="420"></embed>
</object></noscript></td>
<td width="1%"> </td>
<td width="49%"> </td>
</tr>
<tr>
<td height="97"><img src="img/schlank-von-selbst.jpg" alt="Schlank von selbst" width="370" height="97" /></td>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="86" bgcolor="9ea0ff"> </td>
</tr>
<tr>
<td height="31" background="img/grenze.jpg" bgcolor="9ea0ff"> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
starfish
2008-03-28, 19:01:40
Naja, egal.
Habs mit einem IFrame gelöst.
vBulletin®, Copyright ©2000-2024, Jelsoft Enterprises Ltd.