Skip to content

Instantly share code, notes, and snippets.

@karok karok/Original Widget Secret
Created Jul 18, 2013

Embed
What would you like to do?
Tripadvisor Widget
<html>
<head>
</head>
<body>
<h1>TripAdv</h1>
<div id="addTripAdvBox"></div>
<!-- Facebook später laden -->
<script>
window.onload = function(){
var wait = 3000; // 3s
var btn = document.getElementById('addTripAdvBox');
setTimeout(function(){
// TRIPADVISOR
var add = document.createElement('div');
add.innerHTML = '<div id="TA_excellent413 tripadvisorexcellent" class="TA_excellent"><ul id="g9UbZ3Xo9OPh" class="TA_links Mm0jwWB"><li id="sFM5jWI" class="LxMwKPup89"><a target="_blank" href="http://www.tripadvisor.co.uk/Hotel_Review-g189121-d1154914-Reviews-GoodFeeling_Hostel-Sagres_Faro_District_Algarve.html">GoodFeeling Hostel</a> rated "excellent" by travellers</li></ul></div>';
btn.appendChild(add);
document.write('<script src="http://www.tripadvisor.com/WidgetEmbed-excellent?amp;uniq=413&amp;lang=en_UK&amp;locationId=1154914"></script>');
}, wait);
}
</script>
</body>
</html>
<div id="TA_excellent800" class="TA_excellent">
<ul id="o5BkEWe" class="TA_links 7A1DG6va2TI">
<li id="mzMNxezVw" class="1NENmnn01hn"><a target="_blank" href=http://www.tripadvisor.com/Hotel_Review-g189121-d1154914-Reviews-GoodFeeling_Hostel-Sagres_Faro_District_Algarve.html>GoodFeeling Hostel</a> rated "excellent" by travelers</li>
</ul>
</div>
<script src="http://www.jscache.com/wejs?wtype=excellent&amp;uniq=800&amp;locationId=1154914&amp;lang=en_US"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.