Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Simple Stock Quote Option

  • This topic is empty.
Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #38828
    goalieman34
    Member

    Hey everyone,
    I have been fighting with this problem for a few months now and still can not find an option that I am able to get to work properly.
    Does anyone know of a way to display a companies stock price? I have found a few but cant get them to work as I need it to use javascript not php
    Thanks ,
    Chris

    #105695
    TheDoc
    Member
    #105696
    goalieman34
    Member

    Ok so I am trying to get the http://stackoverflow.com/questions/5150040/stock-quotes-with-javascript example to work. Are you able to get it working for me in a jsfiddle?


    #105699
    TheDoc
    Member
    #106006
    goalieman34
    Member

    Thanks for putting it into a codepen for me. I am searching the code and can not find where I can change the stock symbol. I need it to find PRW which is Petrowest Corporation.

    #106007
    TheDoc
    Member

    Looks like you’ll need to use PRW.TO for the symbol: http://codepen.io/ggilmore/pen/single-stock-price/14

    I’m guessing because it’s on the TSE, so ‘TO’ for Toronto.

    #106008
    goalieman34
    Member

    Great! You bet it does need the .TO so thanks for adding that. So close to finally getting this stock ticker up on the site haha

    #106009
    TheDoc
    Member

    haha I know what you mean! I actually had to dig really deep into the Yahoo Finance stuff to make any sense of their crazy YQL language. It took a lot of trial and error!

    #106010
    goalieman34
    Member

    haha Well I do really appreciate you spending some time and looking into it for me. Thanks again!

    #106487
    goalieman34
    Member

    @TheDoc well the stock ticker works awesome! only one little problem… haha not working on Internet Explorer. Any idea on how to fix this or should I look at buying one. http://petrowest.squarespace.com/home/

    #106488
    TheDoc
    Member

    Hmmmm… very odd. I’ll try to have a look soon.

    #106491
    goalieman34
    Member

    ok that would be awesome! Thank you

    #106493
    TheDoc
    Member

    I’m not sure if I’ll be able to properly debug it soon. For something like this, I like posting a question up on Stackoverflow.

    #106495
    goalieman34
    Member

    Ok sounds good Ill try and post it on Stackoverflow and see if I get a response.

    #107072
    goalieman34
    Member

    Can anyone see a way to get rid of the “Ads by Google, Stock Quotes, Shares Stock” on my stock ticker? I did have it gone for a minute and then things showed up again.

    .gadget img { display:none !important;}
    .gadget .powered { display:none !important;}
    #abg { display:none !important;}
    .al .alt, .al a {display:none !important;}

    http://petrowest.squarespace.com/home/

Viewing 15 posts - 1 through 15 (of 16 total)
  • The forum ‘Other’ is closed to new topics and replies.