Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to make hier a vertical scrolling ?!

    THE SCRIPT POSTED FROM "SAD69" IS PHANTASTIC (URL SWITCHER) BUT HOW TO MAKE THIS:

    I WANT EACH SITE TO OPEN AUTOMATICALLY LIKE IN THE SCRIPT AND TO BEGIN TO SCROLL AUTOMATICALLY AFTER OPENING DURING 20 SEC... THAN SWITCHING TO A NEW PAGE, SCROLLING VERTICALY DURING 20 SECONDS... AND SO FOR EACH SWITCHING WEBPAGE...

    Here the script:
    <html>
    <head>
    <title>URL Switcher</title>
    <script language="JavaScript" src="url_switcher.js">
    </script>

    <script language="JavaScript">
    var i = 0;
    var url_array = new Array();
    url_array[0] = "http://www.google.com";
    url_array[1] = "http://www.codingforums.com";
    url_array[2] = "http://www.ebay.com";
    url_array[3] = "http://wm2.uvic.ca";

    function changeURL(ms) {
    document.frames['my_frame'].location.replace(url_array[i]);
    i = (i+1)%url_array.length;
    setTimeout("changeURL("+ms+")", ms);
    }
    </script>
    </head>
    <body style="margin:0px; overflow-y:hidden" onLoad="changeURL(20000);">
    <iframe name="my_frame" width="100%" height="100%" border="0" frameborder="0"></iframe>
    </body>
    </html>

    HOW TO MAKE THIS ADDITIONALLY BROWSER VERTICALY SCROLLING ???
    Thank you for your help...

  • #2
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    MAYBE THIS SCRIPT IN COMBINATION WITH "URL SWITCHER":

    <SCRIPT LANGUAGE=JavaScript>
    Scrolling = 0;
    function ScrollWin() {
    while(Scrolling != 700) {
    this.scroll(1,Scrolling)
    Scrolling++;
    }
    }
    </SCRIPT>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •