Avatar billede jjensen Juniormester
22. januar 2001 - 18:29 Der er 2 kommentarer og
1 løsning

Script forskellig i NS&IE

Hejsa,

http://www.global-gateway.com/callback-index22.htm

Vises forskelligt i NS & IE - efter jeg har tilføjet et verdensurs-script i venstreframe(menuen) Jeg mistænker selv noget med placering af div. body og /body - head og /head - scrip og /script el.lign. Men er ikke stærk til programmering overhovedet :-)
- Nogen der har en løsning?

Hej kommer først koden FØR ur-scriptet blev tilføjet, dernæst EFTER...

********************

<BASE HREF=\"http://www.global-gateway.com/\">
<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">
<html>
<head>
<body background=\"backgr/backgrdk.gif\" bgcolor=\"#FFFFFF\"
text=\"#000000\" link=\"#0000FF\" vlink=\"#800080\" alink=\"#FF0000\"
bgproperties=\"fixed\">
<meta name=\"Author\" content=\"John Jensen\">
<meta name=\"GENERATOR\" content=\"Mozilla/4.5 [en] (Win98; I) [Netscape]\">


<script language=\"JavaScript\">
                    <!-- // Begin hiding from old browsers



                    // (Rightclick:) This section disables right click in MSIE and Netscape
                    function right(evnt) {
                    if (navigator.appName.toUpperCase().match(/NETSCAPE/) != null) {
                    if (evnt.which >= 2){
                    alert(\"Sorry this function is disabled\");
                    return false;
                    }
                    }
                    else
                    if (event.button>=2)
                    alert(\"Sorry this function is disabled\");
                    }
                    document.onmousedown=right;
                    if (document.layers) window.captureEvents(Event.MOUSEDOWN);
                    window.onmousedown=right;
                    // (Resize:) End rightclick disable section

                    // End hiding -->
                    </script> 


<SCRIPT>
var active = \"\";

var imagesOff = new ImageArray(10);
imagesOff[1].src = \"http://www.global-gateway.com/buttons/dhvad.gif\";
imagesOff[2].src = \"http://www.global-gateway.com/buttons/dtakster.gif\";
imagesOff[3].src = \"http://www.global-gateway.com/buttons/dspar.gif\";
imagesOff[4].src = \"http://www.global-gateway.com/buttons/dfaq.gif\";
imagesOff[5].src = \"http://www.global-gateway.com/buttons/dgenerel.gif\";
imagesOff[6].src = \"http://www.global-gateway.com/buttons/presse.gif\";
imagesOff[7].src = \"http://www.global-gateway.com/buttons/tilmeld.gif\";
imagesOff[8].src = \"http://www.global-gateway.com/buttons/kontakt.gif\";
imagesOff[9].src = \"http://www.global-gateway.com/buttons/links.gif\";
imagesOff[10].src = \"http://www.global-gateway.com/buttons/dhjem.gif\";

var imagesOn = new ImageArray(10);
imagesOn[1].src =
\"http://www.global-gateway.com/buttons/onmouse/dhvadon.gif\";
imagesOn[2].src =
\"http://www.global-gateway.com/buttons/onmouse/dtaksteron.gif\";
imagesOn[3].src =
\"http://www.global-gateway.com/buttons/onmouse/dsparon.gif\";
imagesOn[4].src =
\"http://www.global-gateway.com/buttons/onmouse/dfaqon.gif\";
imagesOn[5].src =
\"http://www.global-gateway.com/buttons/onmouse/dgenerelon.gif\";
imagesOn[6].src =
\"http://www.global-gateway.com/buttons/onmouse/presseon.gif\";
imagesOn[7].src =
\"http://www.global-gateway.com/buttons/onmouse/tilmeldon.gif\";
imagesOn[8].src =
\"http://www.global-gateway.com/buttons/onmouse/kontakton.gif\";
imagesOn[9].src =
\"http://www.global-gateway.com/buttons/onmouse/linkson.gif\";
imagesOn[10].src =
\"http://www.global-gateway.com/buttons/onmouse/dhjemon.gif\";

var imagesAct = new ImageArray(10);
imagesAct[1].src =
\"http://www.global-gateway.com/buttons/onmouse/dhvadact.gif\";
imagesAct[2].src =
\"http://www.global-gateway.com/buttons/onmouse/dtaksteract.gif\";
imagesAct[3].src =
\"http://www.global-gateway.com/buttons/onmouse/dsparact.gif\";
imagesAct[4].src =
\"http://www.global-gateway.com/buttons/onmouse/dfaqact.gif\";
imagesAct[5].src =
\"http://www.global-gateway.com/buttons/onmouse/dgenerelact.gif\";
imagesAct[6].src =
\"http://www.global-gateway.com/buttons/onmouse/presseact.gif\";
imagesAct[7].src =
\"http://www.global-gateway.com/buttons/onmouse/tilmeldact.gif\";
imagesAct[8].src =
\"http://www.global-gateway.com/buttons/onmouse/kontaktact.gif\";
imagesAct[9].src =
\"http://www.global-gateway.com/buttons/onmouse/linksact.gif\";
imagesAct[10].src =
\"http://www.global-gateway.com/buttons/onmouse/dhjemact.gif\";

function ImageArray( size ) {
if (size+\"\" == \"undefined\" || size == null)
  return null;
this.length = size;
for (var i = 1; i <= size; i++) {
  this[i] = new Image();
}
return this;
}

function mouIn(num) {
  if (document.images) {
    if (num != active) {
      img = eval(\'document.images[\"img\'+num+\'\"]\');
      img.src = imagesOn[num].src;
    }
  }
}

function mouOut() {
  if (document.images) {
    for ( var i=1; i<=10; i++ ) {
      if ( i != active ) {
        img = eval(\'document.images[\"img\'+i+\'\"]\');
        img.src = imagesOff[i].src;
      }
    }
  }
}


function setActive(num) {
  active = num;
  if (document.images) {
    img = eval(\'document.images[\"img\'+num+\'\"]\');
    img.src = imagesAct[num].src;
  }
  mouOut();
}
</SCRIPT>
</head>
<body>
<!--

//-->
<a href=\"http://www.global-gateway.com/dhvad.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(1)\"
onMouseover=\"mouIn(1)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/dhvad.gif\" name=\"img1\"
ALT=\"Hvad og Hvem er udbyderne...?\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/drater.php\" target=\"dskaerm.htm\"
onClick=\"setActive(2)\"
onMouseover=\"mouIn(2)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/dtakster.gif\" name=\"img2\"
ALT=\"Let oversigt over vor udbydere...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/dhotel.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(3)\"
onMouseover=\"mouIn(3)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/dspar.gif\" name=\"img3\"
ALT=\"Mange opkaldsmuligheder...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/dfaq.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(4)\"
onMouseover=\"mouIn(4)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/dfaq.gif\" name=\"img4\"
ALT=\"Ofte Stillede Spørgsmål...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/dgenerel.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(5)\"
onMouseover=\"mouIn(5)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/dgenerel.gif\" name=\"img5\"
ALT=\"Læs om betaling etc...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/presse.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(6)\"
onMouseover=\"mouIn(6)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/presse.gif\" name=\"img6\"
ALT=\"Pressen skriver om os...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/download.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(7)\"
onMouseover=\"mouIn(7)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/tilmeld.gif\" name=\"img7\"
ALT=\"Start med at spare hurtigt...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/kontakt.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(8)\"
onMouseover=\"mouIn(8)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/kontakt.gif\" name=\"img8\"
ALT=\"Spørgsmål...?\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/dklinks.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(9)\"
onMouseover=\"mouIn(9)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/links.gif\" name=\"img9\"
ALT=\"Nyttige og Sjove links...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/dskaerm.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(10)\"
onMouseover=\"mouIn(10)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/dhjem.gif\" name=\"img10\"
ALT=\"Til forsiden...\" BORDER=0 height=27 width=144></a><br>

<center>
<script language=\"JavaScript1.2\">


//configure the below five variables to change the style of the scroller
var scrollerwidth=140
var scrollerheight=50
var scrollerbgcolor=\'lightblue\'
//set below to \'\' if you don\'t wish to use a background image
var scrollerbackground=\'none.gif\'

//configure the below variable to change the contents of the scroller
var messages=new Array()
messages[0]=\"<font face=\'Arial\'><font size=-2><strong>CallBack består af følgende 3 trin:</strong></a></font>\"
messages[1]=\"<font face=\'Arial\'><font size=-2><strong>1) Ring til dit adgangsnummer, og læg på.</strong></a></font>\"
messages[2]=\"<font face=\'Arial\'><font size=-2><strong>2) Du modtager en opringning med amerikansk klartone!</strong></a></font>\"
messages[3]=\"<font face=\'Arial\'><font size=-2><strong>3) Tast opkaldsnummeret!</strong></a></font>\"
messages[4]=\"<font face=\'Arial\'><font size=-2><strong><a href=\'http://www.global-gateway.com/dhotel.htm\' target=\'dskaerm.htm\'>Klik her for at oprette et 800-nummer i USA!</strong></a></font>\"
messages[5]=\"<font face=\'Arial\'><font size=-2><strong><a href=\'http://www.global-gateway.com/dhotel.htm\' target=\'dskaerm.htm\'>Ud at rejse? Se her hvordan du ringer FRA udlandet.</strong></a></font>\"
messages[6]=\"<font face=\'Arial\'><font size=-2><strong>Brug CallBack FRA hele verden, TIL hele verden!</strong></a></font>\"
messages[7]=\"<font face=\'Arial\'><font size=-2><strong><a href=\'http://www.global-gateway.com/sms.php3\' target=\'dskaerm.htm\'>Send en sms-besked til en Mobiltelefon.</strong></a></font>\"

///////Do not edit pass this line///////////////////////

if (messages.length>1)
i=2
else
i=0

function move1(whichlayer){
tlayer=eval(whichlayer)
if (tlayer.top>0&&tlayer.top<=5){
tlayer.top=0
setTimeout(\"move1(tlayer)\",3000)
setTimeout(\"move2(document.main.document.second)\",3000)
return
}
if (tlayer.top>=tlayer.document.height*-1){
tlayer.top-=5
setTimeout(\"move1(tlayer)\",100)
}
else{
tlayer.top=scrollerheight
tlayer.document.write(messages[i])
tlayer.document.close()
if (i==messages.length-1)
i=0
else
i++
}
}

function move2(whichlayer){
tlayer2=eval(whichlayer)
if (tlayer2.top>0&&tlayer2.top<=5){
tlayer2.top=0
setTimeout(\"move2(tlayer2)\",3000)
setTimeout(\"move1(document.main.document.first)\",3000)
return
}
if (tlayer2.top>=tlayer2.document.height*-1){
tlayer2.top-=5
setTimeout(\"move2(tlayer2)\",100)
}
else{
tlayer2.top=scrollerheight
tlayer2.document.write(messages[i])
tlayer2.document.close()
if (i==messages.length-1)
i=0
else
i++
}
}

function move3(whichdiv){
tdiv=eval(whichdiv)
if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){
tdiv.style.pixelTop=0
setTimeout(\"move3(tdiv)\",3000)
setTimeout(\"move4(second2)\",3000)
return
}
if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){
tdiv.style.pixelTop-=5
setTimeout(\"move3(tdiv)\",100)
}
else{
tdiv.style.pixelTop=scrollerheight
tdiv.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function move4(whichdiv){
tdiv2=eval(whichdiv)
if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){
tdiv2.style.pixelTop=0
setTimeout(\"move4(tdiv2)\",3000)
setTimeout(\"move3(first2)\",3000)
return
}
if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){
tdiv2.style.pixelTop-=5
setTimeout(\"move4(second2)\",100)
}
else{
tdiv2.style.pixelTop=scrollerheight
tdiv2.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function startscroll(){
if (document.all){
move3(first2)
second2.style.top=scrollerheight
second2.style.visibility=\'visible\'
}
else if (document.layers){
document.main.visibility=\'show\'
move1(document.main.document.first)
document.main.document.second.top=scrollerheight+5
document.main.document.second.visibility=\'show\'
}
}

window.onload=startscroll

</script>




<ilayer id=\"main\" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor}; background=&{scrollerbackground}; visibility=hide>
<layer id=\"first\" left=0 top=1 width=&{scrollerwidth};>
<script language=\"JavaScript1.2\">
if (document.layers)
document.write(messages[0])
</script>
</layer>
<layer id=\"second\" left=0 top=0 width=&{scrollerwidth}; visibility=hide>
<script language=\"JavaScript1.2\">
if (document.layers)
document.write(messages[1])
</script>
</layer>
</ilayer>

<script language=\"JavaScript1.2\">
if (document.all){
document.writeln(\'<span id=\"main2\" style=\"position:relative;width:\'+scrollerwidth+\';height:\'+scrollerheight+\';overflow:hiden;background-color:\'+scrollerbgcolor+\' ;background-image:url(\'+scrollerbackground+\')\">\')
document.writeln(\'<div style=\"position:absolute;width:\'+scrollerwidth+\';height:\'+scrollerheight+\';clip:rect(0 \'+scrollerwidth+\' \'+scrollerheight+\' 0);left:0;top:0\">\')
document.writeln(\'<div id=\"first2\" style=\"position:absolute;width:\'+scrollerwidth+\';left:0;top:1;\">\')
document.write(messages[0])
document.writeln(\'</div>\')
document.writeln(\'<div id=\"second2\" style=\"position:absolute;width:\'+scrollerwidth+\';left:0;top:0;visibility:hidden\">\')
document.write(messages[1])
document.writeln(\'</div>\')
document.writeln(\'</div>\')
document.writeln(\'</span>\')
}
</script>

</TD>



<small>
<FORM ACTION=\"http://www.global-gateway.com/takforbesked.php\" target=\"dskaerm.htm\" METHOD=\"POST\">
<INPUT TYPE=\"hidden\" NAME=\"subject\" VALUE=\"Global Gateway Kontaktformular\">
<TABLE BORDER=\"0\">
        <TR>
        <TD VALIGN=\"TOP\">
        <FONT FACE=\"tahoma\" SIZE=\"-2\" COLOR=\"black\">
        <center><b>Tip en ven om os:</b></center>
        </FONT></TD>
        </tr>
        <tr>
        <TD VALIGN=\"TOP\" ALIGN=\"LEFT\">
        <INPUT TYPE=\"TEXT\" NAME=\"modtager\" value=\"en@ven.dk\" size=\"14\">
        <INPUT TYPE=\"TEXT\" NAME=\"afsender\" value=\"Dit navn\" size=\"14\">
        <center><input type=\"submit\" value=\"Send\"
border=\"0\" name=\"sub\"></center>

        </TD>
        </TR>

</table>
        </FORM>
</small>





</TR>
</TABLE></CENTER>

</BODY>
</HTML>



***************************************************************************


<BASE HREF=\"http://www.global-gateway.com/\">
<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">
<html>
<head>
<body background=\"backgr/backgrdk.gif\" bgcolor=\"#FFFFFF\"
text=\"#000000\" link=\"#0000FF\" vlink=\"#800080\" alink=\"#FF0000\"
bgproperties=\"fixed\">
<meta name=\"Author\" content=\"John Jensen\">
<meta name=\"GENERATOR\" content=\"Mozilla/4.5 [en] (Win98; I) [Netscape]\">



<script language=javaScript>
<!-- Beginning of JavaScript -

// CONFIGURATION:
// 1.    Delete the DIV-block with the id \"deletethisblock\". You don\'t need it.
// 2.     Add new capitals inside the head-section of the script.
// 3.  Configure the variables below this line

// Below you can add or delete new locations. The digital value after the
// name of the capitals shows the difference to GMT-time.
var worldtime = new Array()
worldtime[0]=\"Azores,-2\"
worldtime[1]=\"Baghdad,3\"
worldtime[2]=\"Beijing,8\"
worldtime[3]=\"Berlin,2\"
worldtime[4]=\"Buenos Aires,-3\"
worldtime[5]=\"Copenhagen,1\"
worldtime[6]=\"Chicago,-6\"
worldtime[7]=\"Denver,-7\"
worldtime[8]=\"Hong Kong,8\"
worldtime[9]=\"Honolulu,-10\"
worldtime[10]=\"Johannesburg,2\"
worldtime[11]=\"Kairo,2\"
worldtime[12]=\"Lima,-5\"
worldtime[13]=\"London,0\"
worldtime[14]=\"Mexico City,-6\"
worldtime[15]=\"Moscow,3\"
worldtime[16]=\"New York,-5\"
worldtime[17]=\"Paris,1\"
worldtime[18]=\"Perth,8\"
worldtime[19]=\"Rio de Janheiro,-3\"
worldtime[20]=\"San Francisco,-8\"
worldtime[21]=\"Sydney,11\"
worldtime[22]=\"Tokyo,9\"

// The speed of the ticker (milliseconds)
var speed=30

// The length of the steps
var step=1

// Do not edit the variables below
var hours
var shifthours
var minutes
var seconds
var localhours
var thisplace
var i_substring=0

var content

function extracttime() {
content=\" -------------------------------------\"
for (i=0;i<=worldtime.length-1;i++) {
    thisplace=worldtime[i].split(\",\")
    thistime= new Date()
    hours=thistime.getUTCHours()
    hours=eval(hours)
    shifthours=eval(thisplace[1])
    localhours=eval(shifthours+hours)
    if (localhours <0) {localhours=24+localhours}
    if (localhours >=24) {localhours=localhours-24}
   
    minutes=thistime.getUTCMinutes()
    seconds=thistime.getUTCSeconds()
   
    if (thisplace[0]==\'Delhi\') {
        minutes=eval(minutes+30)
        if (minutes>=60) {
            minutes=eval(minutes-60)
            localhours=eval(localhours+1)
        }
    }
    if (eval(minutes) < 10) {minutes=\"0\"+minutes}
    if (eval(seconds) < 10) {seconds=\"0\"+seconds}
    if (eval(localhours) < 10) {localhours=\"0\"+localhours}
    thistime = localhours+\":\"+minutes
    content+=\" ------ \"+thisplace[0]+\": \"+thistime
    }
    content+=\" -------------------------------------\"
    scrolltime()
}

function scrolltime() {
    if (i_substring<=content.length-1) {
        window.status=content.substring(i_substring,content.length-1)
        i_substring=i_substring+step
        var timer=setTimeout(\"extracttime()\",speed)
    }
    else {
        i_substring=0
        clearTimeout(timer)
        extracttime()
    }
}

// - End of JavaScript - -->
</script>








<script language=\"JavaScript\">
                    <!-- // Begin hiding from old browsers



                    // (Rightclick:) This section disables right click in MSIE and Netscape
                    function right(evnt) {
                    if (navigator.appName.toUpperCase().match(/NETSCAPE/) != null) {
                    if (evnt.which >= 2){
                    alert(\"Sorry this function is disabled\");
                    return false;
                    }
                    }
                    else
                    if (event.button>=2)
                    alert(\"Sorry this function is disabled\");
                    }
                    document.onmousedown=right;
                    if (document.layers) window.captureEvents(Event.MOUSEDOWN);
                    window.onmousedown=right;
                    // (Resize:) End rightclick disable section

                    // End hiding -->
                    </script> 


<SCRIPT>
var active = \"\";

var imagesOff = new ImageArray(10);
imagesOff[1].src = \"http://www.global-gateway.com/buttons/dhvad.gif\";
imagesOff[2].src = \"http://www.global-gateway.com/buttons/dtakster.gif\";
imagesOff[3].src = \"http://www.global-gateway.com/buttons/dspar.gif\";
imagesOff[4].src = \"http://www.global-gateway.com/buttons/dfaq.gif\";
imagesOff[5].src = \"http://www.global-gateway.com/buttons/dgenerel.gif\";
imagesOff[6].src = \"http://www.global-gateway.com/buttons/presse.gif\";
imagesOff[7].src = \"http://www.global-gateway.com/buttons/tilmeld.gif\";
imagesOff[8].src = \"http://www.global-gateway.com/buttons/kontakt.gif\";
imagesOff[9].src = \"http://www.global-gateway.com/buttons/links.gif\";
imagesOff[10].src = \"http://www.global-gateway.com/buttons/dhjem.gif\";

var imagesOn = new ImageArray(10);
imagesOn[1].src =
\"http://www.global-gateway.com/buttons/onmouse/dhvadon.gif\";
imagesOn[2].src =
\"http://www.global-gateway.com/buttons/onmouse/dtaksteron.gif\";
imagesOn[3].src =
\"http://www.global-gateway.com/buttons/onmouse/dsparon.gif\";
imagesOn[4].src =
\"http://www.global-gateway.com/buttons/onmouse/dfaqon.gif\";
imagesOn[5].src =
\"http://www.global-gateway.com/buttons/onmouse/dgenerelon.gif\";
imagesOn[6].src =
\"http://www.global-gateway.com/buttons/onmouse/presseon.gif\";
imagesOn[7].src =
\"http://www.global-gateway.com/buttons/onmouse/tilmeldon.gif\";
imagesOn[8].src =
\"http://www.global-gateway.com/buttons/onmouse/kontakton.gif\";
imagesOn[9].src =
\"http://www.global-gateway.com/buttons/onmouse/linkson.gif\";
imagesOn[10].src =
\"http://www.global-gateway.com/buttons/onmouse/dhjemon.gif\";

var imagesAct = new ImageArray(10);
imagesAct[1].src =
\"http://www.global-gateway.com/buttons/onmouse/dhvadact.gif\";
imagesAct[2].src =
\"http://www.global-gateway.com/buttons/onmouse/dtaksteract.gif\";
imagesAct[3].src =
\"http://www.global-gateway.com/buttons/onmouse/dsparact.gif\";
imagesAct[4].src =
\"http://www.global-gateway.com/buttons/onmouse/dfaqact.gif\";
imagesAct[5].src =
\"http://www.global-gateway.com/buttons/onmouse/dgenerelact.gif\";
imagesAct[6].src =
\"http://www.global-gateway.com/buttons/onmouse/presseact.gif\";
imagesAct[7].src =
\"http://www.global-gateway.com/buttons/onmouse/tilmeldact.gif\";
imagesAct[8].src =
\"http://www.global-gateway.com/buttons/onmouse/kontaktact.gif\";
imagesAct[9].src =
\"http://www.global-gateway.com/buttons/onmouse/linksact.gif\";
imagesAct[10].src =
\"http://www.global-gateway.com/buttons/onmouse/dhjemact.gif\";

function ImageArray( size ) {
if (size+\"\" == \"undefined\" || size == null)
  return null;
this.length = size;
for (var i = 1; i <= size; i++) {
  this[i] = new Image();
}
return this;
}

function mouIn(num) {
  if (document.images) {
    if (num != active) {
      img = eval(\'document.images[\"img\'+num+\'\"]\');
      img.src = imagesOn[num].src;
    }
  }
}

function mouOut() {
  if (document.images) {
    for ( var i=1; i<=10; i++ ) {
      if ( i != active ) {
        img = eval(\'document.images[\"img\'+i+\'\"]\');
        img.src = imagesOff[i].src;
      }
    }
  }
}


function setActive(num) {
  active = num;
  if (document.images) {
    img = eval(\'document.images[\"img\'+num+\'\"]\');
    img.src = imagesAct[num].src;
  }
  mouOut();
}
</SCRIPT>
</head>
<body>
<!--

//-->
<a href=\"http://www.global-gateway.com/dhvad.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(1)\"
onMouseover=\"mouIn(1)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/dhvad.gif\" name=\"img1\"
ALT=\"Hvad og Hvem er udbyderne...?\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/drater.php\" target=\"dskaerm.htm\"
onClick=\"setActive(2)\"
onMouseover=\"mouIn(2)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/dtakster.gif\" name=\"img2\"
ALT=\"Let oversigt over vor udbydere...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/dhotel.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(3)\"
onMouseover=\"mouIn(3)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/dspar.gif\" name=\"img3\"
ALT=\"Mange opkaldsmuligheder...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/dfaq.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(4)\"
onMouseover=\"mouIn(4)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/dfaq.gif\" name=\"img4\"
ALT=\"Ofte Stillede Spørgsmål...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/dgenerel.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(5)\"
onMouseover=\"mouIn(5)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/dgenerel.gif\" name=\"img5\"
ALT=\"Læs om betaling etc...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/presse.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(6)\"
onMouseover=\"mouIn(6)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/presse.gif\" name=\"img6\"
ALT=\"Pressen skriver om os...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/download.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(7)\"
onMouseover=\"mouIn(7)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/tilmeld.gif\" name=\"img7\"
ALT=\"Start med at spare hurtigt...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/kontakt.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(8)\"
onMouseover=\"mouIn(8)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/kontakt.gif\" name=\"img8\"
ALT=\"Spørgsmål...?\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/dklinks.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(9)\"
onMouseover=\"mouIn(9)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/links.gif\" name=\"img9\"
ALT=\"Nyttige og Sjove links...\" BORDER=0 height=27 width=144></a><br>

<a href=\"http://www.global-gateway.com/dskaerm.htm\" target=\"dskaerm.htm\"
onClick=\"setActive(10)\"
onMouseover=\"mouIn(10)\"
onMouseout=\"mouOut()\">
<img src=\"http://www.global-gateway.com/buttons/dhjem.gif\" name=\"img10\"
ALT=\"Til forsiden...\" BORDER=0 height=27 width=144></a><br>

<center>
<script language=\"JavaScript1.2\">


//configure the below five variables to change the style of the scroller
var scrollerwidth=140
var scrollerheight=50
var scrollerbgcolor=\'lightblue\'
//set below to \'\' if you don\'t wish to use a background image
var scrollerbackground=\'none.gif\'

//configure the below variable to change the contents of the scroller
var messages=new Array()
messages[0]=\"<font face=\'Arial\'><font size=-2><strong>CallBack består af følgende 3 trin:</strong></a></font>\"
messages[1]=\"<font face=\'Arial\'><font size=-2><strong>1) Ring til dit adgangsnummer, og læg på.</strong></a></font>\"
messages[2]=\"<font face=\'Arial\'><font size=-2><strong>2) Du modtager en opringning med amerikansk klartone!</strong></a></font>\"
messages[3]=\"<font face=\'Arial\'><font size=-2><strong>3) Tast opkaldsnummeret!</strong></a></font>\"
messages[4]=\"<font face=\'Arial\'><font size=-2><strong><a href=\'http://www.global-gateway.com/dhotel.htm\' target=\'dskaerm.htm\'>Klik her for at oprette et 800-nummer i USA!</strong></a></font>\"
messages[5]=\"<font face=\'Arial\'><font size=-2><strong><a href=\'http://www.global-gateway.com/dhotel.htm\' target=\'dskaerm.htm\'>Ud at rejse? Se her hvordan du ringer FRA udlandet.</strong></a></font>\"
messages[6]=\"<font face=\'Arial\'><font size=-2><strong>Brug CallBack FRA hele verden, TIL hele verden!</strong></a></font>\"
messages[7]=\"<font face=\'Arial\'><font size=-2><strong><a href=\'http://www.global-gateway.com/sms.php3\' target=\'dskaerm.htm\'>Send en sms-besked til en Mobiltelefon.</strong></a></font>\"

///////Do not edit pass this line///////////////////////

if (messages.length>1)
i=2
else
i=0

function move1(whichlayer){
tlayer=eval(whichlayer)
if (tlayer.top>0&&tlayer.top<=5){
tlayer.top=0
setTimeout(\"move1(tlayer)\",3000)
setTimeout(\"move2(document.main.document.second)\",3000)
return
}
if (tlayer.top>=tlayer.document.height*-1){
tlayer.top-=5
setTimeout(\"move1(tlayer)\",100)
}
else{
tlayer.top=scrollerheight
tlayer.document.write(messages[i])
tlayer.document.close()
if (i==messages.length-1)
i=0
else
i++
}
}

function move2(whichlayer){
tlayer2=eval(whichlayer)
if (tlayer2.top>0&&tlayer2.top<=5){
tlayer2.top=0
setTimeout(\"move2(tlayer2)\",3000)
setTimeout(\"move1(document.main.document.first)\",3000)
return
}
if (tlayer2.top>=tlayer2.document.height*-1){
tlayer2.top-=5
setTimeout(\"move2(tlayer2)\",100)
}
else{
tlayer2.top=scrollerheight
tlayer2.document.write(messages[i])
tlayer2.document.close()
if (i==messages.length-1)
i=0
else
i++
}
}

function move3(whichdiv){
tdiv=eval(whichdiv)
if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){
tdiv.style.pixelTop=0
setTimeout(\"move3(tdiv)\",3000)
setTimeout(\"move4(second2)\",3000)
return
}
if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){
tdiv.style.pixelTop-=5
setTimeout(\"move3(tdiv)\",100)
}
else{
tdiv.style.pixelTop=scrollerheight
tdiv.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function move4(whichdiv){
tdiv2=eval(whichdiv)
if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){
tdiv2.style.pixelTop=0
setTimeout(\"move4(tdiv2)\",3000)
setTimeout(\"move3(first2)\",3000)
return
}
if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){
tdiv2.style.pixelTop-=5
setTimeout(\"move4(second2)\",100)
}
else{
tdiv2.style.pixelTop=scrollerheight
tdiv2.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}

function startscroll(){
if (document.all){
move3(first2)
second2.style.top=scrollerheight
second2.style.visibility=\'visible\'
}
else if (document.layers){
document.main.visibility=\'show\'
move1(document.main.document.first)
document.main.document.second.top=scrollerheight+5
document.main.document.second.visibility=\'show\'
}
}

window.onload=startscroll

</script>




<ilayer id=\"main\" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor}; background=&{scrollerbackground}; visibility=hide>
<layer id=\"first\" left=0 top=1 width=&{scrollerwidth};>
<script language=\"JavaScript1.2\">
if (document.layers)
document.write(messages[0])
</script>
</layer>
<layer id=\"second\" left=0 top=0 width=&{scrollerwidth}; visibility=hide>
<script language=\"JavaScript1.2\">
if (document.layers)
document.write(messages[1])
</script>
</layer>
</ilayer>

<script language=\"JavaScript1.2\">
if (document.all){
document.writeln(\'<span id=\"main2\" style=\"position:relative;width:\'+scrollerwidth+\';height:\'+scrollerheight+\';overflow:hiden;background-color:\'+scrollerbgcolor+\' ;background-image:url(\'+scrollerbackground+\')\">\')
document.writeln(\'<div style=\"position:absolute;width:\'+scrollerwidth+\';height:\'+scrollerheight+\';clip:rect(0 \'+scrollerwidth+\' \'+scrollerheight+\' 0);left:0;top:0\">\')
document.writeln(\'<div id=\"first2\" style=\"position:absolute;width:\'+scrollerwidth+\';left:0;top:1;\">\')
document.write(messages[0])
document.writeln(\'</div>\')
document.writeln(\'<div id=\"second2\" style=\"position:absolute;width:\'+scrollerwidth+\';left:0;top:0;visibility:hidden\">\')
document.write(messages[1])
document.writeln(\'</div>\')
document.writeln(\'</div>\')
document.writeln(\'</span>\')
}
</script>

</TD>



<small>
<FORM ACTION=\"http://www.global-gateway.com/takforbesked.php\" target=\"dskaerm.htm\" METHOD=\"POST\">
<INPUT TYPE=\"hidden\" NAME=\"subject\" VALUE=\"Global Gateway Kontaktformular\">
<TABLE BORDER=\"0\">
        <TR>
        <TD VALIGN=\"TOP\">
        <FONT FACE=\"tahoma\" SIZE=\"-2\" COLOR=\"black\">
        <center><b>Tip en v
Avatar billede jjensen Juniormester
22. januar 2001 - 18:32 #1
Ja, det var en ordenlig ski..stak - men bliver nemt forvirret hvis der tales om brudstykker, håber på forståelse :-)

I NS kommer uret fint, men da kommer \"vinduet\" med teksten ikke under knapperne i venstre framen (menuen).

I IE er det lige omvendt...
Avatar billede jjensen Juniormester
22. januar 2001 - 22:10 #2
Har fundet ud af at det afhænger af hvor denne linie, som hører med til ur-koden, bliver placeret: <BODY onLoad=\"extracttime()\">

Det virker i NS hvis den bliver placeret tilsidst i helekoden, men så er det vinduet med rulleteksten ikke virker....
Avatar billede jjensen Juniormester
24. januar 2001 - 12:53 #3
Er flyttet til Dhtml
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