Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: Marquee II Scrolling Time Between Star and End of News

  1. #1
    Join Date
    Aug 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Marquee II Scrolling Time Between Star and End of News

    Ok I have this site Im working on http://www.oceancup.com/ and I got the script working to display my news. My news is being generated by CuteNews and as you can see its all working great. What I hate is the long pause from the end of all the news to the repeat of the news. How can this be eliminated to be seemless?

    I found on example durring my search of the forums but it was for text only and wont work with a php include.

    http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    seems to work fine for me :-/

  3. #3
    Join Date
    Aug 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yes the script is working, I said that, what I want is not to have the long pause at the very end before it starts rotating through the news again.

  4. #4
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    I found on example during my search of the forums but it was for text only and wont work with a php include.
    Could we see a link to the other solution? Also it doesn't matter whether the html is hand coded or from a php include.

  5. #5
    Join Date
    Aug 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

  6. #6
    Join Date
    Aug 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    anyone got an idea?

  7. #7
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Can I ask why you don't just use that? I see nowhere is the source that says it will only work for text.

  8. #8
    Join Date
    Aug 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    There is one line of code in the example where they say all news must be on the same line, well if I sub in an include it doesnt work.
    Last edited by Badge; 08-07-2006 at 09:04 PM.

  9. #9
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    Quote Originally Posted by Badge
    Yes the script is working, I said that, what I want is not to have the long pause at the very end before it starts rotating through the news again.
    what I meant was that I did not see a long delay in the time between the two.... I tested in both IE and Firefox (latest versions available to PC) and I did not see any significant delay.

  10. #10
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    well this should be solved serverside then. I haven't tested this by the way.
    Put all of this code where your include was
    PHP Code:
    <?php
    ob_start
    ();
    //Replace with your include
    include('blah.html');
    $ob_contents ob_get_contents();
    ob_end_clean();
    $ob_contents str_replace('\n',' ',$ob_contents);
    $ob_contents str_replace("'","\'",$ob_contents);
    echo 
    $ob_contents;
    ?>

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
  •