*** SOLVED *** TRIP ADVISOR - Inserting a Widget
*** SOLVED *** TRIP ADVISOR - Inserting a Widget
Online Example: HERE
Project Extract Download: HERE
Hi Pablo and All,
I'm trying to insert a Trip Advisor(TA) widget into a Client's website.
I've got authorised within their TA account, obtained the widget code and added into a html container.
It works, but when it loads it momentarily displays a very large TA logo then the widget - see Online Example.
Anyone experienced that/know how to get around it please?
Yours truly
Colin M
Western Australia
Colin M
Western Australia
Re: TRIP ADVISOR - Inserting a Widget
Try this mate:
<div id="TA_selfserveprop317" class="TA_selfserveprop"><ul id="mvvkHH9" class="TA_links cfx9J6KB"><li id="IjKJb8ZU" class="ZaMZmO6Rm"><a target="_blank" href="https://www.tripadvisor.com.au/Hotel_Re ... iv><script async src="https://www.jscache.com/wejs?wtype=self ... _version=2" data-loadtrk onload="this.loadtrk=true"></script>
<div id="TA_selfserveprop317" class="TA_selfserveprop"><ul id="mvvkHH9" class="TA_links cfx9J6KB"><li id="IjKJb8ZU" class="ZaMZmO6Rm"><a target="_blank" href="https://www.tripadvisor.com.au/Hotel_Re ... iv><script async src="https://www.jscache.com/wejs?wtype=self ... _version=2" data-loadtrk onload="this.loadtrk=true"></script>
Running WYSIWYG Web Builder since 2007...
Re: TRIP ADVISOR - Inserting a Widget
Thanks Zinc! - I had to quote your post to resolve the PHP Bulletin Board truncated URLs which came to this, using BB code tags:zinc wrote: ↑Thu Aug 20, 2020 6:24 am Try this mate:
<div id="TA_selfserveprop317" class="TA_selfserveprop"><ul id="mvvkHH9" class="TA_links cfx9J6KB"><li id="IjKJb8ZU" class="ZaMZmO6Rm"><a target="_blank" href="https://www.tripadvisor.com.au/Hotel_Re ... iv><script async src="https://www.jscache.com/wejs?wtype=self ... _version=2" data-loadtrk onload="this.loadtrk=true"></script>
Code: Select all
<div id="TA_selfserveprop317" class="TA_selfserveprop"><ul id="mvvkHH9" class="TA_links cfx9J6KB"><li id="IjKJb8ZU" class="ZaMZmO6Rm"><a target="_blank" href="https://www.tripadvisor.com.au/Hotel_Review-g10429989-d15319104-Reviews-The_Travellers_Rest_B_B-Tenterden_Western_Australia.html"></li></ul></div><script async src="https://www.jscache.com/wejs?wtype=selfserveprop&uniq=317&locationId=15319104&lang=en_AU&rating=true&nreviews=4&writereviewlink=true&popIdx=true&iswide=true&border=true&display_version=2" data-loadtrk onload="this.loadtrk=true"></script>
Yours truly
Colin M
Western Australia
Colin M
Western Australia
Re: TRIP ADVISOR - Inserting a Widget
Strange! it worked with your project!
Try with a new clean project and a new HTML object... Perhaps that might help.
Code: Select all
<div id="TA_selfserveprop317" class="TA_selfserveprop"><ul id="mvvkHH9" class="TA_links cfx9J6KB"><li id="IjKJb8ZU" class="ZaMZmO6Rm"><a target="_blank" href="https://www.tripadvisor.com.au/Hotel_Review-g10429989-d15319104-Reviews-The_Travellers_Rest_B_B-Tenterden_Western_Australia.html"></li></ul></div><script async src="https://www.jscache.com/wejs?wtype=selfserveprop&uniq=317&locationId=15319104&lang=en_AU&rating=true&nreviews=4&writereviewlink=true&popIdx=true&iswide=true&border=true&display_version=2" data-loadtrk onload="this.loadtrk=true"></script>
Running WYSIWYG Web Builder since 2007...
Re: TRIP ADVISOR - Inserting a Widget
Yes - agreed - perhaps something is interfering - or it's a load issue.
So what was the difference with your code?
So what was the difference with your code?
Yours truly
Colin M
Western Australia
Colin M
Western Australia
Re: TRIP ADVISOR - Inserting a Widget
Nothing I guess but the life of me cannot figure out why you are still seeing the logo... 

Running WYSIWYG Web Builder since 2007...
Re: TRIP ADVISOR - Inserting a Widget
No, I meant what did you change from my original code to make the Big Initial Logo disappear?
Yours truly
Colin M
Western Australia
Colin M
Western Australia
Re: TRIP ADVISOR - Inserting a Widget
Removed the reference to the logo that appears during page load...
Running WYSIWYG Web Builder since 2007...
Re: TRIP ADVISOR - Inserting a Widget
Oh, well done Zinc - thanks mate - appreciate your help!

Yours truly
Colin M
Western Australia
Colin M
Western Australia
Re: TRIP ADVISOR - Inserting a Widget
Pleasure. Good luck mate!
Running WYSIWYG Web Builder since 2007...
Re: TRIP ADVISOR - Inserting a Widget
Thanks Zinc - got some work to do to find out why the same darn code causes the large Logo on the client page. 

Yours truly
Colin M
Western Australia
Colin M
Western Australia
Re: *** SOLVED *** TRIP ADVISOR - Inserting a Widget
Zinc - Found the issue - I wasn't FTPing the fix to the right staging subdirectory - DOH!!!
All good mate! Again, thank you!
Stupid Trip Advisor with that widget code!


All good mate! Again, thank you!
Stupid Trip Advisor with that widget code!
Yours truly
Colin M
Western Australia
Colin M
Western Australia
Re: *** SOLVED *** TRIP ADVISOR - Inserting a Widget
Great stuff!

Running WYSIWYG Web Builder since 2007...