Go Back   Dynamic Drive Forums > General Coding > HTML
Search Dynamic Drive Forums:

Reply
 
Thread Tools Search this Thread
  #1  
Old 03-19-2008, 07:21 PM
queerfm queerfm is offline
Regular Coders
 
Join Date: May 2006
Posts: 266
Thanks: 1
Thanked 0 Times in 0 Posts
Default google finance html

Hi i have tryed everything and read for over 1 hour on this http://code.google.com/apis/gadgets/docs/finance.html however i have no idea on how to make it work with my html website.

If any one knows how to get it to work would you please post the html or php code.

Thanks
__________________
The web in one word.
Reply With Quote
  #2  
Old 03-19-2008, 07:43 PM
djr33's Avatar
djr33 djr33 is offline
Global Moderator
 
Join Date: Mar 2006
Location: N. California, USA
Posts: 6,408
Thanks: 11
Thanked 82 Times in 82 Posts
Default

You know the standard procedure for posting-- post a link to your site with the problematic page, etc.

And here's your html code:
http://code.google.com/apis/gadgets/..._world_example

If that doesn't help, which I'm guessing as you read the page it doesn't, you'll need to, y'know, post more info.
__________________
Daniel - <?php?> | <html>| Ich lerne Deutsch. | Studio l'italiano. | Estudiaba español. | Estudo português. | 日本語の勉強。| मैं हिन्दी सीखो | درس العربية
Reply With Quote
  #3  
Old 03-20-2008, 03:57 AM
queerfm queerfm is offline
Regular Coders
 
Join Date: May 2006
Posts: 266
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks i used that code
Code:
Hello world!
Here is your portfolio:<br/>
  GOOG: <span id=_IG_SYM1_l></span> (<span id=_IG_SYM1_c></span>)<br/>

  AAPL: <span id=_IG_SYM2_l></span> (<span id=_IG_SYM2_c></span>)<br/>
  INTC: <span id=_IG_SYM3_l></span> (<span id=_IG_SYM3_c></span>)<br/>

  
<script type="text/javascript">
  var quote = new google.finance.Quote();
  quote.enableDomUpdates( { 'GOOG' : '_IG_SYM1', 'AAPL' : '_IG_SYM2', 
    'INTC' : '_IG_SYM3' } );

  quote.getQuotes(["GOOG", "AAPL", "INTC"]);
</script>
However it does not work, it come up with

Hello world! Here is your portfolio:
GOOG)
AAPL: ()
INTC: ()

when it should look something like this

Hello world! Here is your portfolio:
GOOG: 631.58 (+15.58)
AAPL: 171.46 (+1.88)
INTC: 26.65 (+1.17)
__________________
The web in one word.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:37 PM.

Home - Contact Us - Archives - Link to DD - Top 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.