Results 1 to 4 of 4

Thread: DD Pausing updown message scroller and NS 7.1

  1. #1
    Join Date
    Oct 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DD Pausing updown message scroller and NS 7.1

    Hi. The Dynamic Drive pausing updown message scroller http://www.dynamicdrive.com/dynamicindex2/crosstick.htm isn't working right in Netscape 7.1. Lines runover each other. Here's the page where I've got it working:

    http://www.awcstockholm.org/fawcosite/index.htm

    And here's the Source Code -- any advice??? Many thanks, agrevet:

    /***********************************************
    * Pausing updown message scroller- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/

    //configure the below five variables to change the style of the scroller
    var scrollerdelay='3000' //delay between msg scrolls. 3000=3 seconds.
    var scrollerwidth='189px'
    var scrollerheight='182px'
    var scrollerbgcolor='lightyellow'
    //set below to '' if you don't wish to use a background image
    var scrollerbackground=''

    //configure the below variable to change the contents of the scroller
    var messages=new Array()
    messages[0]="<font size='2'><font face='Arial'><a href='http://www.dynamicdrive.com'> - Voting from Overseas in 2004</a></font>"
    messages[1]="<font size='2'><font face='Arial'><a href='http://javascriptkit.com'> - New DPI/NGO Intera Conference to activists world(Word doc - 161 KB) The Conference,<br>will take place from 8-10 September 2004.</a></font>"
    messages[2]="<font size='2'><font face='Arial'><a href='http://www.codingforums.com'> - Celebrate World Heart Day, September 26, 2004</a></font>"
    messages[3]="<font size='2'><font face='Arial'><a href='http://www.freewarejava.com'> - Back to the good days for mail, IHT article, July 31, 2004 details the AC of Lyon President's efforts to improve overseas mail delivery.</a></font>"
    messages[4]="<font size='2'><font face='Arial'><a href='http://dynamicdrive.com/link.htm'> - U.S. Postal Service Improves International Package Delivery</a></font>"
    messages[5]="<font size='2'><font face='Arial'><a href='http://www.dynamicdrive.com'> - Clean Up the World Weekend, September 17-19, 2004</a></font>"
    messages[6]="<font size='2'><font face='Arial'><a href='http://javascriptkit.com'> - New DPI/NGO Intera Conference to activists world(Word doc - 161 KB) The Conference,<br>will take place from 8-10 September 2004.</a></font>"
    messages[7]="<font size='2'><font face='Arial'><a href='http://www.codingforums.com'> - Celebrate World Heart Day, September 26, 2004</a></font>"
    messages[8]="<font size='2'><font face='Arial'><a href='http://www.freewarejava.com'> - Back to the good days for mail, IHT article, July 31, 2004 details the AC of Lyon President's efforts to improve overseas mail delivery.</a></font>"
    messages[9]="<font size='2'><font face='Arial'><a href='http://dynamicdrive.com/link.htm'> - U.S. Postal Service Improves International Package Delivery</a></font>"

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

  2. #2
    Join Date
    Nov 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have the same problem. This page http://www.dstelecom.co.uk/index/customer.html works in IE, but stops in NS7.1 and Firefox

  3. #3
    Join Date
    Nov 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It took me 5 hours to learn Javascript and to work out what this script is doing. So at last I've found the bug.

    In the functions move3 and move4, add "+px" at the end of the line starting tdiv.style.top=...

  4. #4
    Join Date
    Dec 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks a lot Kestrel
    Quote Originally Posted by Kestrel
    It took me 5 hours to learn Javascript and to work out what this script is doing. So at last I've found the bug.

    In the functions move3 and move4, add "+px" at the end of the line starting tdiv.style.top=...

Bookmarks

Posting Permissions

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