booking.com widgets
-
Can I use the following widget from booking.com on my website:-
<script>
(function() {
var randomId = Math.floor(Math.random() * 100000);
var targetElemId = ‘bcom_rwidget_’ + randomId;
document.write(‘<div id=”‘ + targetElemId + ‘”></div>’);
var script = document.createElement(‘script’);
script.type = ‘text/javascript’;
script.async = true;
script.src = ‘http://www.booking.com/review_widget/fr/de-france-et-de-russie.en.html?tmpl=review_widget/review_widget&wid=’ + targetElemId + ‘&wtype=button_dark_ver&hotel_id=425433&widget_language=en’;
var node = document.getElementsByTagName(‘script’)[0];
node.parentNode.insertBefore(script, node);
}());
</script>
Many thanksLinda
The blog I need help with is: (visible only to logged in users)
-
I’m sorry but JavaScript widgets are a security risk and we cannot use them here. The software will strip the code out. http://en.support.wordpress.com/code/
To use it you would have to hire a web host http://wordpress.org/hosting and set up your own WordPress.org install. Read the differences here > http://en.support.wordpress.com/com-vs-org/
- The topic ‘booking.com widgets’ is closed to new replies.