Home > JavaScript, jQuery > jStockTicker v1.1.1

jStockTicker v1.1.1

This is just a quick update to the jStockTicker code. I have applied the fix suggested by Shay in the jStockticker v1.1 comments.

New demo page here.
Archive: jStockTicker-1.1.1.tar.gz

  1. paperbits
    July 11, 2010 at 6:13 am | #1

    Hi,
    Great Work !!
    But i have a problem using that. If i have lots of tags inside the
    then the ticker acts weirdly. How should it work for ‘n’ number of Stock Quotes??

  2. July 11, 2010 at 7:43 am | #2

    Hello,

    This happens because the container element is not wide enough.
    For now the solution is to change the following

    $ticker.width(2 * screen.availWidth);
    

    Just change the 2 to something higher until everything looks correct.
    I’ll try to correct this in a future version.

  3. Simon
    August 23, 2010 at 9:55 pm | #3

    How would I put a delay onto this? I don’t want the ticker to show until after a flash animation has finished playing.

    http://themarketingdemocracy.com/ticker/

    • August 24, 2010 at 7:19 am | #4

      You could use setTimeout() or jquery’s .delay() function to achieve this.
      Might not be the best solution since you can’t really control when the flash finishes.
      The other option would be to listen to a custom event that is fired after the flash finishes.

      Hope this helps.

      Cheers,
      Peter

  4. September 22, 2010 at 1:04 am | #5

    This might be an odd request but I might use this stock ticker on a fairly high profile site. But… the client wonders if I can make it so that the text can be dragged left and right. Their reasoning is that somebody might catch the tail end of a news item and want to drag it back into view. Oh, and we credit where all our JavaScript bits come from.

  5. September 23, 2010 at 8:34 pm | #6

    Hello Christian,

    I have no problems with you using it.
    I think you could manage the dragging with adding in some drag ‘n’ drop functionality.

    Cheers,
    Peter

  6. September 23, 2010 at 8:36 pm | #7

    I’ve tried adding jQuery UI draggable functionality but no luck yet. Will keep trying.

  7. Jason
    October 21, 2010 at 8:50 am | #8

    Hi, great plug-in! Just curious – I am using it to display multiple tickers on a single page (which contain images and text) it all works fine on desktops/laptops but performance degrades noticeably on Ipad (iphone is ok) – any thoughts suggestions?

    I actually wasn’t even if sure the plugin worked with multiple tickers but it does so that is great.

    • November 26, 2010 at 10:09 am | #9

      Hello,

      Not too sure. Unfortunately I don’t have an iPad to test this on. Might be something in the js implementation of that version of Safari.

      Is this still a problem after the upgrade to iOS 4.2?

    • Byron
      January 27, 2011 at 3:58 pm | #10

      Hey Jason, can you comment on how you got multiple tickers to work? Thanks.

  8. andy
    November 21, 2010 at 2:41 pm | #11

    I’ve been trying to add a select box inline with the scroller, but in IE the select keeps forcing the scroller line underneath. If i set the container width = minus width of select, then it’s ok, but then the scroller is too short the opposite end! How can i fix something inline with the scroller and have the total width = container width?

    • November 26, 2010 at 10:10 am | #12

      Hello,

      Without seeing how you have the DOM structure and the CSS rules I can’t really say what is causing it.

      Do you have an example I could look at?

      • andy
        November 26, 2010 at 10:13 am | #13

        I’ve deleted the attempt now! Any chance you could just give an example of your ticker inline with eg a 100px wide div… i think it’s the automated adding of the container/wrap divs but not 100% sure!

  1. June 16, 2010 at 8:52 pm | #1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.