Avatar billede jakobvester3 Nybegynder
23. november 2003 - 19:38 Der er 6 kommentarer og
1 løsning

hjælp til html indsættelse

Hej jeg skal have sat en html kode ind på et specielt sted på min side! ... Nogen der vil hjælpe mig med at sætte den ind?.... Den skal sidde i venstre side ..!

Her er koden der skal sættes ind:

<script language="JavaScript1.2">

/*
Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and TOS, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

//Specify the marquee's width (in pixels)
var marqueewidth="100px"
//Specify the marquee's height
var marqueeheight="200px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1

//Specify the marquee's content
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var marqueecontent='<p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link2.com>"><IMG SRC="pic2.gif" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p>'


////NO NEED TO EDIT BELOW THIS LINE////////////

marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualheight=cross_marquee.offsetHeight
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.top=parseInt(marqueeheight)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
lefttime=setInterval("scrollmarquee()",20)
}
window.onload=populate

function scrollmarquee(){

if (iedom){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=parseInt(marqueeheight)+8
}
}

if (iedom||document.layers){
with (document){
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px;width:100%;">')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee">')
write('<layer name="ns_marquee2" width='+marqueewidth+' height='+marqueeheight+' left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
}
}
</script>
Avatar billede jakobvester3 Nybegynder
23. november 2003 - 19:39 #1
Nå ja og her er siden den skal sættes ind på (i venstre side) www.dunni.frac.dk .... Bare tag kildekoden og sæt det ind i!
Avatar billede eds Nybegynder
23. november 2003 - 21:33 #2
Prøv den her:

<html>

<head>
<title>No title</title>
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<p align="right">&nbsp;</p>
<div id="layer1" style="width:108px; height:285px; position:absolute; left:875px; top:250px; z-index:1;">
    <p><script language="JavaScript1.2">

/*
Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and TOS, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

//Specify the marquee's width (in pixels)
var marqueewidth="100px"
//Specify the marquee's height
var marqueeheight="200px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1

//Specify the marquee's content
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var marqueecontent='<p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link2.com>"><IMG SRC="pic2.gif" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p>'


////NO NEED TO EDIT BELOW THIS LINE////////////

marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualheight=cross_marquee.offsetHeight
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.top=parseInt(marqueeheight)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
lefttime=setInterval("scrollmarquee()",20)
}
window.onload=populate

function scrollmarquee(){

if (iedom){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=parseInt(marqueeheight)+8
}
}

if (iedom||document.layers){
with (document){
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px;width:100%;">')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee">')
write('<layer name="ns_marquee2" width='+marqueewidth+' height='+marqueeheight+' left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
}
}
</script> </p>
</div>
<p align="right">&nbsp;</p>
</body>

</html>
Avatar billede eds Nybegynder
23. november 2003 - 21:39 #3
Hov venstre side:
-----------------


<html>

<head>
<title>No title</title>
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<p align="right">&nbsp;</p>
<div id="layer1" style="width:108px; height:437px; position:absolute; left:10px; top:18px; z-index:1;">
    <p><script language="JavaScript1.2">

/*
Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and TOS, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

//Specify the marquee's width (in pixels)
var marqueewidth="100px"
//Specify the marquee's height
var marqueeheight="200px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1

//Specify the marquee's content
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var marqueecontent='<p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link2.com>"><IMG SRC="pic2.gif" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p>'


////NO NEED TO EDIT BELOW THIS LINE////////////

marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualheight=cross_marquee.offsetHeight
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.top=parseInt(marqueeheight)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
lefttime=setInterval("scrollmarquee()",20)
}
window.onload=populate

function scrollmarquee(){

if (iedom){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=parseInt(marqueeheight)+8
}
}

if (iedom||document.layers){
with (document){
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px;width:100%;">')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee">')
write('<layer name="ns_marquee2" width='+marqueewidth+' height='+marqueeheight+' left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
}
}
</script> </p>
</div>
<p align="right">&nbsp;</p>
</body>

</html>
Avatar billede jakobvester3 Nybegynder
24. november 2003 - 13:26 #4
Hov jeg tror du har misforstået noget.. Den skal sættes ind på min side.. www.dunni.frac.dk bare tag kildekoden derfra..!
Avatar billede eds Nybegynder
24. november 2003 - 15:38 #5
Nårr, det går jeg lige...
Avatar billede eds Nybegynder
24. november 2003 - 15:40 #6
Sådan:
Avatar billede eds Nybegynder
24. november 2003 - 15:41 #7
<html>

<head>
<title>D u N N i ^</title>
<style type="text/css">
<!--
BODY {
    font-family: Verdana;
    font-size: 10px;
    font-style: normal;
    color: #000000;
    SCROLLBAR-FACE-COLOR: #3D444A;
    SCROLLBAR-HIGHLIGHT-COLOR: #3D444A;     SCROLLBAR-SHADOW-COLOR: #3D444A;
    SCROLLBAR-3DLIGHT-COLOR: #3D444A;
    SCROLLBAR-ARROW-COLOR: #E8E8E8;
    SCROLLBAR-TRACK-COLOR: #3D444A;
    SCROLLBAR-DARKSHADOW-COLOR: #3D444A;
}
.BODY {
    font-family: Verdana;
    font-size: 10px;
    font-style: normal;
    color: #000000;
    SCROLLBAR-FACE-COLOR: #EAEDF1;
    SCROLLBAR-HIGHLIGHT-COLOR: #EAEDF1;             SCROLLBAR-SHADOW-COLOR: #EAEDF1;
    SCROLLBAR-3DLIGHT-COLOR: #EAEDF1;
    SCROLLBAR-ARROW-COLOR: #CBD3DC;
    SCROLLBAR-TRACK-COLOR: #EAEDF1;
    SCROLLBAR-DARKSHADOW-COLOR: #EAEDF1;
    filter : alpha(opacity=50)
}

  A:LINK {
    font-family: Verdana,Arial;
    font-size: 10px;
    font-style: normal;
    text-decoration : underline;
    color: #000000;
}
  A:VISITED {
    font-family: Verdana,Arial;
    font-size: 10px;
    font-style: normal;
    text-decoration : underline;
    color: #000000;
}
  A:HOVER {
    font-family: Verdana,Arial;
    font-size: 10px;
    font-style: normal;
    text-decoration : none;
    color: #c000000;
}
  TD {
    font-family: Verdana;
    font-size: 10px;
    font-weight: normal;
    font-style: normal;
    color: #000000;
}
  .spacer {
    font-family: Verdana;
    font-size: 8px;
    font-weight: normal;
    font-style: normal;
    color: #000000;
}
-->
</style>
</head>

<body background="dotted.gif" style="overflow: auto;">



<div align="center">
  <center>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td align="center">

<table border="1" cellspacing="0" cellpadding="0" style="border: #555555 solid 1px" style="border-collapse: collapse"><tr><td>
<table border="1" cellspacing="0" cellpadding="0" style="border: #333333 solid 10px" style="border-collapse: collapse"><tr><td>


  <table border="0" width="600" cellspacing="0">

  </center>
    <tr>
      <td width="100%" colspan="3" height="60" style="border: #555555 solid 1px" background="top.jpg">&nbsp;</td>
    </tr>
    <tr>
      <td width="100%" colspan="3" class="spacer" height="10" bgcolor="#333333">&nbsp;</td>
    </tr>
  <tr>
    <td width="400" height="300" style="border: #555555 solid 1 px;" valign="middle" align="center" bgcolor="#CBD3DC">
<div style="overflow: auto; width: 300; height: 250; background-color: #EAEDF1;" style="border: #555555 solid 1 px;" class="body">
<p align="left">
eY! Så er du kommet ind på <a href="http://www.dunni.frac.dk"><font color="#000000">www.dunni.frac.dk</font></a>
! Jeg har jo fået nyt design som du kA se! Håber du kan lide det ... Der vil
blive opdateret en del ting og det vil blive mere brugervenligt og der vil
måske blive opdateret hver dag.. Jeg håber du vil følge med i udviklingen af
siden.. Og så må vi jo se hvad der bliver denne gang :P&nbsp;&nbsp;&nbsp; Men
så vil jeg så begynde med at lave hjemmesiden og så håber jeg du kan lide
den ... Jeg forventer siden færdig 2-10 dec... Håber du kommer igen!<br>
Jeg lukker den anden side ned d. 1 dec! ....&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Tuuuuusind tak til dig <a href="http://www.jeppedk.1go.dk">JEPPE</a>&nbsp;
<p align="left"><b>DuNNi^</b></p>
<p>For at komme til den gamle side så tryk <a href="index2.htm"><font color="#000000">HER</font></a></p>
<p><br><br>
</div></td>
    <center>
    <td width="10" valign="middle" align="center" bgcolor="#333333"></td>
    <td width="150" style="border: #555555 solid 1 px;" valign="middle" align="center" bgcolor="#EAEDF1"><b>Menu!</b>
      <p><a href="index.htm">Forside!</a></p>
      <p><a href="info1.htm">Info!</a></p>
      <p><a href="Guestbook.htm" onClick="window.open(this.href, 'HostedStuff', 'left=5,top=5,width=750,height=550,scrollbars=yes');return false;">Tagwall!</a>      </p>
      <p>Chat!</p>
      <p>Sjov!</p>
      <p>Kontakt!</p>
      <p><!-- Begin Online Status Indicator code -->
<!-- http://www.onlinestatus.org/ --><a href="spil3.htm">Spil!</a>

      </p>
      <p>Andet!<!-- Begin Online Status Indicator code -->

      </p>
    </td>
    </tr>
    <tr>
      <td width="100%" colspan="3" height="10" bgcolor="#333333"></td>
    </tr>
    <tr>
      <td width="100%" colspan="3" height="60" style="border: #555555 1 solid px" background="bund.jpg">
        <p align="center">
        <!--webbot bot="HTMLMarkup" startspan --><a href="http://www.nope.dk/lb.php3?id=14362" target="_top"><img border="0" alt="Nope.dk - Danmarks Effektive Portal" src="http://counter.nope.dk/counter.php3?id=14362"></a><!--webbot
        bot="HTMLMarkup" endspan --> <!--webbot bot="HTMLMarkup" startspan --><!-- Chart Basis HTML kode start v003 -->

<script language="JavaScript">
<!--

function SymError()
{
  return true;
}

window.onerror = SymError;

//-->
</script>

<script language="javascript" type="text/javascript">
<!--
  document.write('<a href="http://www.chart.dk/ref.asp?ct=v003&id=92751" target="_blank">');
  var myref; myref=document.referrer; if(top.document.referrer!=null) myref=top.document.referrer;
  document.write('<img src="http://cluster.chart.dk/chart.asp?id=92751&style=11&secID=' + Math.random()*10000000 + '&ref=' + escape(myref) + '" border="0" alt="Chart.dk"><');
  document.write('/a>');
//-->
</script>
<noscript>
  <a href="http://www.chart.dk/ref.asp?ct=v003&amp;id=92751" target="_blank"><img src="http://cluster.chart.dk/chart.asp?id=92751&amp;style=11&amp;secID=1" border="0" alt="Chart.dk"></a>
</noscript>
<!-- Chart Basis HTML kode slut v003 -->

<!--webbot bot="HTMLMarkup" endspan -->
<!--webbot bot="HTMLMarkup" startspan --><!-- START PEAKCOUNTER KODE -->
<SCRIPT SRC="http://www.peak.dk/php/showpeakcounterimg.php?id=28754&view=19" TYPE="text/javascript" Language="JavaScript"></SCRIPT>
<NOSCRIPT><a target="_blank" href="http://www.peak.dk/cgi-bin/peakcounter/toplist.cgi?id=28754"><img src="http://www.peak.dk/grafik/peakcounter19.gif" title='PeakCounter.dk' border=0><img src="http://www.peak.dk/php/peakcounter.php?id=28754" height=1 width=1 border=0></a></NOSCRIPT>
<!-- SLUT PEAKCOUNTER KODE -->
<!--webbot bot="HTMLMarkup" endspan -->
        </p>
        <p align="center"><font size="-2">©</font> Copyright DuNNi.frac.dk 2003</p>
      </td>
    </tr>
  </table>

</td></tr></table></td></tr></table>



                    <div id="layer1" style="width:156px; height:473px; position:absolute; left:20px; top:19px; z-index:1;">
                        <p><script language="JavaScript1.2">

/*
Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and TOS, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

//Specify the marquee's width (in pixels)
var marqueewidth="100px"
//Specify the marquee's height
var marqueeheight="200px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1

//Specify the marquee's content
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var marqueecontent='<p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link2.com>"><IMG SRC="pic2.gif" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p><p><a href="<http://www.link1.com>"><IMG SRC="cs_billede4.jpg" WIDTH="88" HEIGHT="31" BORDER="0"></a></p>'


////NO NEED TO EDIT BELOW THIS LINE////////////

marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualheight=cross_marquee.offsetHeight
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.top=parseInt(marqueeheight)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
lefttime=setInterval("scrollmarquee()",20)
}
window.onload=populate

function scrollmarquee(){

if (iedom){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=parseInt(marqueeheight)+8
}
}

if (iedom||document.layers){
with (document){
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px;width:100%;">')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee">')
write('<layer name="ns_marquee2" width='+marqueewidth+' height='+marqueeheight+' left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
}
}
</script> </p>
                    </div>
                    <p>&nbsp;</p>
</td></tr></table>
</div>


</body>

</html>
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Vi tilbyder markedets bedste kurser inden for webudvikling

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester