If you’re using Freeway 6, you can apply the ID they sent you in this code (yelp-biz-badge-rrc-FfJD4vO-iYUL2Kr0WWzNYg) to an empty HTML box on the page. Then put the script portion in the Page / HTML Markup / Before section. That should do the trick.
Note the use of protocol-less URLs here, which means that you will not be able to preview this on your Mac – you will only see it running correctly on your server. If you change this line:
Thanks for the tips. I’ve added “http” to help preview in Freeway.
Before I can see this, I have another newb question… Having inserted the (empty) HTML object, then added Page>Markup code, how do I apply the markup to the HTML object?
On 14 Apr 2013, 2:22 pm, waltd wrote:
If you’re using Freeway 6, you can apply the ID they sent you in this code (yelp-biz-badge-rrc-FfJD4vO-iYUL2Kr0WWzNYg) to an empty HTML box on the page. Then put the script portion in the Page / HTML Markup / Before section. That should do the trick.
Note the use of protocol-less URLs here, which means that you will not be able to preview this on your Mac – you will only see it running correctly on your server. If you change this line:
The markup “applies” itself. The key is that the empty box has the exact same ID (name) that the JavaScript code includes, so the JavaScript can find that empty box and do things with it. All this happens in the browser, you just provide the correct set of parts and let the browser assemble it.
Walter
On Apr 15, 2013, at 6:49 AM, Stephen Todd wrote:
Before I can see this, I have another newb question… Having inserted the (empty) HTML object, then added Page>Markup code, how do I apply the markup to the HTML object?