Log in or Sign up
Coin Talk
Home
Forums
>
Coin Forums
>
Bullion Investing
>
Add Real Time Precious Metals Price Table at top of this Forum?
>
Reply to Thread
Message:
<p>[QUOTE="iPen, post: 2319532, member: 69760"]@<b><a href="https://www.cointalk.com/members/peter-t-davis.1/" class="internalLink ProxyLink" data-proxy-href="https://www.cointalk.com/members/peter-t-davis.1/">Peter T Davis</a>, et al: </b></p><p><br /></p><p>Well, I just learned JavaScript for the first time now, sort of lol.</p><p><br /></p><p>Will this do? It's a bit crude though...</p><p><br /></p><p>I had to find random arrow images at 25 pixels each from some random "soccer" website lol, but of course the image can be pulled from any random URL in case that site goes down (I don't think it will but who knows).</p><p><br /></p><p>The table, font, arrangement, title, etc. can be edited to whatever you'd like, to make it look more pretty.</p><p><br /></p><p>The nominal values and the arrow images that gets triggered are "examples" and I think they'll need to be edited to get dynamically imported. Haven't learned that part yet... it'll probably be a lot faster if someone with actual knowledge of JavaScript fixes the code below.</p><p><br /></p><p><br /></p><p><i>Source is from A-Mark Precious Metals</i>:</p><p><br /></p><p><script type="text/javascript"></p><p> function showProgress() {</p><p> window.top.document.getElementById('ctl00_ctl00_ctl00_ctl00_body_body_MainContent_MainContent_UpdateProgress1').style.display = "block";</p><p> }</p><p> </script></p><p><div id="ctl00_ctl00_ctl00_ctl00_body_body_MainContent_MainContent_UpdateProgress1" style="display:none;" role="status" aria-hidden="true"></p><p><br /></p><p> <div class="updateProgress" style="z-index: 1000001 !important"></p><p> <img src="../images/ajax-loader.gif" id="ctl00_ctl00_ctl00_ctl00_body_body_MainContent_MainContent_Img1" style="z-index: 10000001 !important" alt="Loading..."></p><p> Working...</p><p> </div></p><p> <div class="FadedBackground" style="z-index: 10000 !important"></p><p> </div></p><p> </p><p></div></p><p><div id="MeltValuesSpotPricesContainer"></p><p> <div class="MeltValuesSpotPricesHeader"></p><p> <div class="floatL"></p><p> <h2> Spot Precious Metals USD</h2></p><p> <span class="updatedtxt"><em>Updated on 1/13/2016 12:56:03 PM EST</em></span></p><p> </div></p><p> <div class="infotxt floatR"></p><p> <img src="<a href="http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png" target="_blank" class="externalLink ProxyLink" data-proxy-href="http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png" rel="nofollow">http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png</a>"><img src="<a href="http://www.ppsoccer.com/wp-content/uploads/2015/05/red-down-arrow-hi-e1431127302326.png" target="_blank" class="externalLink ProxyLink" data-proxy-href="http://www.ppsoccer.com/wp-content/uploads/2015/05/red-down-arrow-hi-e1431127302326.png" rel="nofollow">http://www.ppsoccer.com/wp-content/uploads/2015/05/red-down-arrow-hi-e1431127302326.png</a>"> = Δ ASK vs. NY Market Close<br></p><p> <br></p><p> Source: A-Mark Precious Metals, Inc.</p><p> </div></p><p> <div class="clear"></div></p><p> </div></p><p> <div class="MeltValuesSpotPrices"></p><p> <div id="ctl00_ctl00_ctl00_ctl00_body_body_MainContent_MainContent_uxSpotMetalPrice_uxPrices"></p><p> <table cellpadding="0" cellspacing="0" border="0" class="SpotPriceListing"></p><p> </p><p> <tbody></p><p><br /></p><p><tr></p><p> <th> Gold : </th></p><p> <td> <strong>BID</strong> $1,090.80 </td></p><p> <td> <strong>ASK</strong> $1,091.50 </td></p><p> <td> <strong>CHANGE</strong> </td></p><p> <td class="spotMetalArrowsPG"> <img visible="True" src="<a href="http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png" target="_blank" class="externalLink ProxyLink" data-proxy-href="http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png" rel="nofollow">http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png</a>"> </td></p><p> <td>5.80</td></p><p> </tr></p><p> </p><p> </p><p> <tr></p><p> <th> Platinum : </th></p><p> <td> <strong>BID</strong> $854.00 </td></p><p> <td> <strong>ASK</strong> $857.00 </td></p><p> <td> <strong>CHANGE</strong> </td></p><p> <td class="spotMetalArrowsPG"> <img visible="True" src="<a href="http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png" target="_blank" class="externalLink ProxyLink" data-proxy-href="http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png" rel="nofollow">http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png</a>"> </td></p><p> <td>19.40</td></p><p> </tr></p><p> </p><p> <tr></p><p> <th> Silver : </th></p><p> <td> <strong>BID</strong> $14.20 </td></p><p> <td> <strong>ASK</strong> $14.24 </td></p><p> <td> <strong>CHANGE</strong> </td></p><p> <td class="spotMetalArrowsPG"> <img visible="True" src="<a href="http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png" target="_blank" class="externalLink ProxyLink" data-proxy-href="http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png" rel="nofollow">http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png</a>"> </td></p><p> <td>0.45</td></p><p> </tr></p><p> </p><p> </p><p> </tbody></table></p><p> </div></p><p> </p><p> </div></p><p></div>[/QUOTE]</p><p><br /></p>
[QUOTE="iPen, post: 2319532, member: 69760"]@[B][URL='https://www.cointalk.com/members/peter-t-davis.1/']Peter T Davis[/URL], et al: [/B] Well, I just learned JavaScript for the first time now, sort of lol. Will this do? It's a bit crude though... I had to find random arrow images at 25 pixels each from some random "soccer" website lol, but of course the image can be pulled from any random URL in case that site goes down (I don't think it will but who knows). The table, font, arrangement, title, etc. can be edited to whatever you'd like, to make it look more pretty. The nominal values and the arrow images that gets triggered are "examples" and I think they'll need to be edited to get dynamically imported. Haven't learned that part yet... it'll probably be a lot faster if someone with actual knowledge of JavaScript fixes the code below. [I]Source is from A-Mark Precious Metals[/I]: <script type="text/javascript"> function showProgress() { window.top.document.getElementById('ctl00_ctl00_ctl00_ctl00_body_body_MainContent_MainContent_UpdateProgress1').style.display = "block"; } </script> <div id="ctl00_ctl00_ctl00_ctl00_body_body_MainContent_MainContent_UpdateProgress1" style="display:none;" role="status" aria-hidden="true"> <div class="updateProgress" style="z-index: 1000001 !important"> <img src="../images/ajax-loader.gif" id="ctl00_ctl00_ctl00_ctl00_body_body_MainContent_MainContent_Img1" style="z-index: 10000001 !important" alt="Loading..."> Working... </div> <div class="FadedBackground" style="z-index: 10000 !important"> </div> </div> <div id="MeltValuesSpotPricesContainer"> <div class="MeltValuesSpotPricesHeader"> <div class="floatL"> <h2> Spot Precious Metals USD</h2> <span class="updatedtxt"><em>Updated on 1/13/2016 12:56:03 PM EST</em></span> </div> <div class="infotxt floatR"> <img src="[url]http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png[/url]"><img src="[url]http://www.ppsoccer.com/wp-content/uploads/2015/05/red-down-arrow-hi-e1431127302326.png[/url]"> = Δ ASK vs. NY Market Close<br> <br> Source: A-Mark Precious Metals, Inc. </div> <div class="clear"></div> </div> <div class="MeltValuesSpotPrices"> <div id="ctl00_ctl00_ctl00_ctl00_body_body_MainContent_MainContent_uxSpotMetalPrice_uxPrices"> <table cellpadding="0" cellspacing="0" border="0" class="SpotPriceListing"> <tbody> <tr> <th> Gold : </th> <td> <strong>BID</strong> $1,090.80 </td> <td> <strong>ASK</strong> $1,091.50 </td> <td> <strong>CHANGE</strong> </td> <td class="spotMetalArrowsPG"> <img visible="True" src="[url]http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png[/url]"> </td> <td>5.80</td> </tr> <tr> <th> Platinum : </th> <td> <strong>BID</strong> $854.00 </td> <td> <strong>ASK</strong> $857.00 </td> <td> <strong>CHANGE</strong> </td> <td class="spotMetalArrowsPG"> <img visible="True" src="[url]http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png[/url]"> </td> <td>19.40</td> </tr> <tr> <th> Silver : </th> <td> <strong>BID</strong> $14.20 </td> <td> <strong>ASK</strong> $14.24 </td> <td> <strong>CHANGE</strong> </td> <td class="spotMetalArrowsPG"> <img visible="True" src="[url]http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png[/url]"> </td> <td>0.45</td> </tr> </tbody></table> </div> </div> </div>[/QUOTE]
Your name or email address:
Do you already have an account?
No, create an account now.
Yes, my password is:
Forgot your password?
Stay logged in
Coin Talk
Home
Forums
>
Coin Forums
>
Bullion Investing
>
Add Real Time Precious Metals Price Table at top of this Forum?
>
Home
Home
Quick Links
Search Forums
Recent Activity
Recent Posts
Forums
Forums
Quick Links
Search Forums
Recent Posts
Competitions
Competitions
Quick Links
Competition Index
Rules, Terms & Conditions
Gallery
Gallery
Quick Links
Search Media
New Media
Showcase
Showcase
Quick Links
Search Items
Most Active Members
New Items
Directory
Directory
Quick Links
Directory Home
New Listings
Members
Members
Quick Links
Notable Members
Current Visitors
Recent Activity
New Profile Posts
Sponsors
Menu
Search
Search titles only
Posted by Member:
Separate names with a comma.
Newer Than:
Search this thread only
Search this forum only
Display results as threads
Useful Searches
Recent Posts
More...