Category:Developers: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 44: Line 44:


== Javascript ==
== Javascript ==
Javascript can be entered in  This page is about the menu {{#fas:cog}} (SETTINGS)> BOOKING ENGINE > DEVELOPERS > "Advanced HTML Settings"
Javascript can be entered in  This page is about the menu {{#fas:cog}} (SETTINGS)> BOOKING ENGINE > DEVELOPERS or in {{#fas:cog}} (SETTINGS) >BOOKING ENGINE > MULTIPLE PROPERTIES > DEVELOPER "Advanced HTML Settings"
 
=== Frame busting ===
For example: this would cause property 1234 to open in the parent window (frame busting) when it's book button is clicked on the multiple property page
 
<script>
$(document).ready(function(){
$('#propid1234 a').attr('target', '_parent');
});
</script>
 
<span style="color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span> Check the settings under  {{#fas:cog}} (SETTINGS) >BOOKING ENGINE > BOOKING PAGE > BEHAVIOUR before you add such a script.


=== Change the title text ===
=== Change the title text ===