In order to embed OfiTourWeb booking engine into another website, it is necessary to include the following code in every single page that will send a communication call to OfiTourWeb. You will be able to do this just above the label </head>
<script type="text/javascript"
src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="SUBDOMAIN/Scripts/easyXDM.min.js"></script>
<script type="text/javascript"
src="SUBDOMAIN/Scripts/comunicacionMarcaBlanca.js"></script>
Where SUBDOMAIN will be provided as data for the nesting development of OfiTourWeb.
IMPORTANT: The full URL of each page that contains the nesting of OfiTourWeb booking engine must be provided to the provider in order to complete the whole OfiTourWeb booking engine nesting integration process in your website.
This web page will actually do the booking process on the OfiTourWeb booking engine. It hast to include the following code wherever you wish to place the booking engine.
<script type="text/javascript">
$(function () {
generaComunicacionOfiTour('http://SUBDOMAIN?ClienteMarcaBlancaFrame=
CODIGOCLIENTE&urlCliente=URLCLIENTE&idOpcionReserva=IDOPCIONRESERVA', WIDTH, false, HEIGHT)
});
</script>
<div id="divContenedorMarcaBlanca"></div>
Attributes of generaComunicacionOfiTour:
This web page will show the summary of your reservation. It hast to include the following code wherever you wish to place this summary page.
<script type="text/javascript">
$(function () {
generaResumenOfiTour('http://SUBDOMAIN)
});
</script>
<div id="divContenedorMarcaBlanca"></div>
Attributes of generaResumenOfiTour:
This web page will create a PDF with a budget obtain during the Booking process through OfiTourWeb.
<script type="text/javascript">
$(function () {
generaResumenPdf('http://SUBDOMAIN)
});
</script>
<div id="divContenedorMarcaBlanca"></div>
Attributes of generaResumenPdf:
Please do not hesitate to contact us at the following email addresses: