*** SOLVED *** TRIP ADVISOR - Inserting a Widget

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
User avatar
ColinM
 
 
Posts: 962
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

*** SOLVED *** TRIP ADVISOR - Inserting a Widget

Post by ColinM »


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
User avatar
zinc
 
 
Posts: 2150
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: TRIP ADVISOR - Inserting a Widget

Post by zinc »

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>
Running WYSIWYG Web Builder since 2007...
User avatar
ColinM
 
 
Posts: 962
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: TRIP ADVISOR - Inserting a Widget

Post by ColinM »

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>
Thanks Zinc! - I had to quote your post to resolve the PHP Bulletin Board truncated URLs which came to this, using BB code tags:

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&amp;uniq=317&amp;locationId=15319104&amp;lang=en_AU&amp;rating=true&amp;nreviews=4&amp;writereviewlink=true&amp;popIdx=true&amp;iswide=true&amp;border=true&amp;display_version=2" data-loadtrk onload="this.loadtrk=true"></script>
Strangely enough, it works isolated in that project extract but the initial big logo display still occurs if I embed that code in HTML container on the Client's site. Maybe it's a load issue.
Yours truly
Colin M
Western Australia
User avatar
zinc
 
 
Posts: 2150
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: TRIP ADVISOR - Inserting a Widget

Post by zinc »

Strange! it worked with your project!

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&amp;uniq=317&amp;locationId=15319104&amp;lang=en_AU&amp;rating=true&amp;nreviews=4&amp;writereviewlink=true&amp;popIdx=true&amp;iswide=true&amp;border=true&amp;display_version=2" data-loadtrk onload="this.loadtrk=true"></script>
Try with a new clean project and a new HTML object... Perhaps that might help.
Running WYSIWYG Web Builder since 2007...
User avatar
ColinM
 
 
Posts: 962
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: TRIP ADVISOR - Inserting a Widget

Post by ColinM »

Yes - agreed - perhaps something is interfering - or it's a load issue.

So what was the difference with your code?
Yours truly
Colin M
Western Australia
User avatar
zinc
 
 
Posts: 2150
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: TRIP ADVISOR - Inserting a Widget

Post by zinc »

Nothing I guess but the life of me cannot figure out why you are still seeing the logo... :?
Running WYSIWYG Web Builder since 2007...
User avatar
ColinM
 
 
Posts: 962
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: TRIP ADVISOR - Inserting a Widget

Post by ColinM »

zinc wrote: Thu Aug 20, 2020 7:21 am Nothing I guess but the life of me cannot figure out why you are still seeing the logo... :?
No, I meant what did you change from my original code to make the Big Initial Logo disappear?
Yours truly
Colin M
Western Australia
User avatar
zinc
 
 
Posts: 2150
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: TRIP ADVISOR - Inserting a Widget

Post by zinc »

ColinM wrote: Thu Aug 20, 2020 7:27 am
zinc wrote: Thu Aug 20, 2020 7:21 am Nothing I guess but the life of me cannot figure out why you are still seeing the logo... :?
No, I meant what did you change from my original code to make the Big Initial Logo disappear?
Removed the reference to the logo that appears during page load...
Running WYSIWYG Web Builder since 2007...
User avatar
ColinM
 
 
Posts: 962
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: TRIP ADVISOR - Inserting a Widget

Post by ColinM »

zinc wrote: Thu Aug 20, 2020 7:41 am
ColinM wrote: Thu Aug 20, 2020 7:27 am
zinc wrote: Thu Aug 20, 2020 7:21 am Nothing I guess but the life of me cannot figure out why you are still seeing the logo... :?
No, I meant what did you change from my original code to make the Big Initial Logo disappear?
Removed the reference to the logo that appears during page load...
Oh, well done Zinc - thanks mate - appreciate your help! 8)
Yours truly
Colin M
Western Australia
User avatar
zinc
 
 
Posts: 2150
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: TRIP ADVISOR - Inserting a Widget

Post by zinc »

ColinM wrote: Thu Aug 20, 2020 7:43 am
zinc wrote: Thu Aug 20, 2020 7:41 am
ColinM wrote: Thu Aug 20, 2020 7:27 am

No, I meant what did you change from my original code to make the Big Initial Logo disappear?
Removed the reference to the logo that appears during page load...
Oh, well done Zinc - thanks mate - appreciate your help! 8)
Pleasure. Good luck mate!
Running WYSIWYG Web Builder since 2007...
User avatar
ColinM
 
 
Posts: 962
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: TRIP ADVISOR - Inserting a Widget

Post by ColinM »

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
User avatar
ColinM
 
 
Posts: 962
Joined: Wed Feb 09, 2011 3:40 am
Location: Western Australia

Re: *** SOLVED *** TRIP ADVISOR - Inserting a Widget

Post by ColinM »

Zinc - Found the issue - I wasn't FTPing the fix to the right staging subdirectory - DOH!!! :oops: :lol:

All good mate! Again, thank you!

Stupid Trip Advisor with that widget code!
Yours truly
Colin M
Western Australia
User avatar
zinc
 
 
Posts: 2150
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: *** SOLVED *** TRIP ADVISOR - Inserting a Widget

Post by zinc »

ColinM wrote: Thu Aug 20, 2020 7:59 am Zinc - Found the issue - I wasn't FTPing the fix to the right staging subdirectory - DOH!!! :oops: :lol:

All good mate! Again, thank you!

Stupid Trip Advisor with that widget code!
Great stuff! :D
Running WYSIWYG Web Builder since 2007...
Post Reply