Results 1 to 3 of 3

Thread: Fading Ticker Tape Script

  1. #1
    Join Date
    Sep 2005
    Location
    I live in Fort Worth Texas
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Fading Ticker Tape Script

    When using Fading Ticker Tape Script I get the message undefined for several seconds before it starts scrolling. Please see: http://www.springcreekbarbeque.com/ for an example.

    Carl Brown
    deltaweb@sbcglobal.net

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Script conflict!

    Both of the scripts on your page use the variable 'i' for counting off stuff. This is often fine but, sometimes (if they are both global variables as is the case here) they conflict. Fortunately your first script on the page can be made to use 'i' as a local variable. Do that and this problem will be eliminated. Replace it with this one:
    Code:
    		<script type="text/javascript">
    
                            <!--
                            var slideimages=new Array()
                            var slidelinks=new Array()
                            function slideshowimages(){
                            for (var i=0;i<slideshowimages.arguments.length;i++){
                            slideimages[i]=new Image()
                            slideimages[i].src=slideshowimages.arguments[i]
                            }
                            }
                            function slideshowlinks(){
                            for (var i=0;i<slideshowlinks.arguments.length;i++)
                            slidelinks[i]=slideshowlinks.arguments[i]
                            }
                            function gotoshow(){
                            if (!window.winslide||winslide.closed)
                            winslide=window.open(slidelinks[whichlink])
                            else
                            winslide.location=slidelinks[whichlink]
                            winslide.focus()
                            }
                            //-->
    		</script>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2005
    Location
    I live in Fort Worth Texas
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you so much, John. The fix worked perfectly. Thank goodness there are real geniuses out there to help is "muddlers" muddle through.

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
  •