Hej igen Claes
Håber du er en smule tålmodig, for jeg har problemer med hvor jeg skal sætte de forskellige ting ind du skriver. Jeg håber virkelig du fortsat vil hjælpe, for jeg har brugt dage på at finde ud af at søge på nettet efter en løsning.
- <DIV id="f1" style="display:none;">Flash Hans her</DIV> er dette den samme div som selve flashfilen ligger i ? Jeg har prøvet at sætte den ind her:
<div id="flash1">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="648" height="373" id="flash1" style="display:none">title="TDC">
<param name="movie" value="tdc_auto.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="8.0.35.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="tdc_auto.swf" width="648" height="373">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="8.0.35.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="
http://www.adobe.com/go/getflashplayer"><img src="
http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
- <a href="#" onClick="vis(1);">Hans</a>   - min liste over kunder er lavet med en unordered list (ul), har prøvet at sætte din kode ind imellem, men tallene til sidst ved jeg ikke hvor jeg skal placere, for hvis jeg gør det mellem </a></li> kommer der et ekstra mellemrum ned til næste kunde og det samme hvis jeg sætter dem efter </li>
<li><a href="#" class="cases_active1"onClick="vis(1);">TDC A/S</a></li>
Til info har jeg lavet en css på diven flash1 hvor jeg positionere den absoulut ovenpå den div (billed) som er på siden når man går ind på den.
Hvis det kan hjælpe dig, kan du få alle koderne her, men det er nok en smule uoverskueligt,
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Ad4you</title>
<link href="ad4you.css" rel="stylesheet" type="text/css" />
<script src="Scripts/swfobject_modified.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];}
}
var taellermin=1;
var taellermax=4;
function vis(flashfilm) {
var i=taellermin;
for (i=taellermin;i<=taellermax;i++) {
document.getElementById("f"+i).style.display = "none";
}
document.getElementById("f"+flashfilm).style.display = "";
}
</script>
</head>
<div id="wrapper">
<div id="header"><img src="images/banner.png" alt="Banner: Ad4you - hvis i vil bryde igennem" width="800" height="140" id="Image1"/></div>
<div id="left_col_top"><img src="images/cases_fro.jpg" alt="Ad4you kunder" width="648" height="373" border="0" id="Image3" />
</div>
<div id="flash1">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="648" height="373" id="flash1" style="display:none">title="TDC">
<param name="movie" value="tdc_auto.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="8.0.35.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="tdc_auto.swf" width="648" height="373">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="8.0.35.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="
http://www.adobe.com/go/getflashplayer"><img src="
http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
<div id="nav">
<ul>
<li><a href="index.html">Forside</a></li>
<li><a href="#">Tryk</a></li>
<li><a href="#">Digital</a></li>
<li><a href="ivaerksaetter.html">Iværksætter</a></li>
<li><a class="nav_active" href="#">Cases</a></li>
<li><a href="#">Kontakt</a></li>
</ul>
<p> </p>
</div>
<div id="left_col_bottom_cases">
<div id="overskrift_cases">Se et udvalg af løsninger til vore kunder </div>
<div id="cases1">
<ul>
<li><a href="#" class="cases_active1"onClick="vis(1);">TDC A/S</a></li>
<li><a href="#" class="cases_active2">fischer a/s</a></li>
<li><a href="#" class="cases_active3">Danish Music Company</a></li>
<li><a href="#" class="cases_active4"onclick="MM_swapImage('Image3','','images/radionord_priser.jpg')">Radio Nord</a></li>
<li><a href="#" class="cases_active5">Natteravnene</a></li>
<li><a href="#" class="cases_active6">Radiflex ApS</a></li>
<li><a href="#" class="cases_active7"onclick="MM_swapImage('Image3','','images/kystens.jpg')">Kystens Nedrivning</a></li>
</ul>
</div>
<div id="cases2">
<ul>
<li><a href="#"onclick="MM_swapImage('Image3','','images/titan.jpg')">TITAN Containers A/S</a></li>
<li><a href="#"onclick="MM_swapImage('Image3','','images/norager.jpg')">by Nørager</a></li>
<li><a href="#"onclick="MM_swapImage('Image3','','images/site4you.jpg')">Site4u</a></li>
<li><a href="#"onclick="MM_swapImage('Image3','','images/logo.jpg')">LG Gulvservice</a></li>
<li><a href="#"onclick="MM_swapImage('Image3','','images/straalenderent.jpg')">Strålende Rent</a></li>
<li><a href="#">CEONEO Records</a></li>
</ul>
</div>
</div>
<div id="logo"><img src="images/logo_lille_03.jpg" width="335" height="216" alt="Ad4you logo" /></div>
<div id="footer"> <h2>Ad4you | Tinghøjvej 5 | 3650 Ølstykke | Tel. 39 308 308 / 309 | <a href="mailto:info@ad4you.dk">info@ad4you.dk</a> | CVR 32 45 32 34</h2></div>
</div>
</div>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>
</body>
</html>
TUSIND TAK FOR HJÆLPEN
Linette