2 Attachment(s)
JavaScript Assistance Required
What I need assistance with is the following...
I require to do is show alternative currencies based on the exchange rates of the time when the person goes to the page on each and every property listing we have.
Our Website URL : http://www.silvertreeestates.co.za if you want to take a look :rolleyes:
So I can get the actual updated info for the exchange rates by going to this URL : http://api.fixer.io/latest?base=ZAR
Now I just need assistance with the actual JavaScript to pull this info and then the HTML code to display it on my page next to each property listing as below example, as my JavaScript ability is limited, so I would need the script element and the HTML element that goes on each listing price:
Example Current :
Attachment 6095
What I would like to see :
Attachment 6096
HTML Code currently for that section:
Code:
<!-- Property Listing Start -->
<div><img src="img/navi.jpg" width="700" height="2" alt="">
<table style="width: 100%"><tr><td style="width: 450px" class="text-left">
<a href="http://www.property24.com/Search/RedirectToListing.aspx?listingNumber=104599615" target="_blank">
<img src="img/listing/104599615.jpg" width="450" height="253" alt="" class="bw pic tilt"> </a>
</td></tr><tr><td>
<h1>Little Falls</h1>
<h2>ZAR 2,429,999</h2>
<h2><i class="iconsprite loungesprite"></i> 4<i class="iconsprite bedsprite"></i> 3<i class="iconsprite bathsprite"></i> 2.5
<i class="iconsprite garagesprite"></i> 2<i class="iconsprite swimsprite"></i> 1<i class="iconsprite erfsprite">
</i> 1,004m²<i class="iconsprite sizesprite"></i> 390m²</h2>
</td></tr></table></div>
<!-- Property Listing End -->
All help will be greatly appreciated, and many thanks in advance. rgds, Simon