Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By DerrickE

Thread: Duplicating Scrolling Text

  1. #1
    Senior Member
    Join Date
    Dec 2013
    Posts
    118
    Member #
    37915
    Liked
    2 times

    Duplicating Scrolling Text

    I had some overseas help on ILoveMyLaser, and just realized that the entire testimonial list duplicates itself, from:

    "About a year ago..." to "it doesn't anymore! - Trishia B."

    I checked the code, and the text is entered once.

    The site was hacked or crashed, and files were salvaged, and may be hodge-podge and have unnecessary code.

    I suspect it is a js issue, but I am fairly new to js and can't find what the cause is.

    Any idea why the text is duplicating itself?



    code.zip

  2.  

  3. #2
    Member DerrickE's Avatar
    Join Date
    Jul 2007
    Location
    Houston, TX
    Posts
    58
    Member #
    15580
    Liked
    10 times
    It's supposed to make a copy. That's how it scrolls/loops forever. It makes a copy of A puts it at the bottom of everything else, when it gets to the copy of A, it repeats and moves it to the bottom so it'll scroll/loop forever.

    You can see it in action better if you remove all of the testimonials except for one or two. You'll see that they are repeated enough to fill the container and then it becomes an infinite scroll.
    Last edited by DerrickE; Jul 31st, 2014 at 02:14 PM.
    Ronald Roe likes this.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:53 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com