WuBook Community Forum

Versión completa: Open in same window
Actualmente estas viendo una versión simplificada de nuestro contenido. Ver la versión completa con el formato correcto.
Hi,

I am loading my Wubook widget in this way:

var wbparams= {
lang: 'e',
layout: 'octaviana',
width: '100%',
bids: 0,
height: 270,
bgcolor: '#ffffff',
openParams: { samewindow: 1 }, // trying
css: '',
failback_lang: 'en',
cards: 0,
textcolor: '#140000',
bestprice: 0,
email: 0,
default_nights: 1,
};
WuBook.design_widget("__wubookwidget__", wbparams);

but when the user submits the button, the result opens in a new window... is it possible to pass a parameter to open in the same window?

Thanks!

white

Hello LM073.

And Merry Christmas :)

So, just for your info, we also have an english version of our forum:
en.wubook.net/forum

You wrote to the spanish one..
anyway, the chance to keep the booking engine on the URL of the website is more than possible. I suggest you to check this information:
https://es.wubook.net/nwidget/?lcode=1427301247
From this section you will be able to configure and prepare the booking engine the way you prefer.

Popup or iFrame, no problem.

I also suggest you to contact your WuBook reseller to ask them for help!

Warm regards

Saludos cordiales!
(27-12-2017, 02:19 AM)white escribió: [ -> ]Hello LM073.

And Merry Christmas :)

So, just for your info, we also have an english version of our forum:
en.wubook.net/forum

You wrote to the spanish one..
anyway, the chance to keep the booking engine on the URL of the website is more than possible. I suggest you to check this information:
https://es.wubook.net/nwidget/?lcode=1427301247
From this section you will be able to configure and prepare the booking engine the way you prefer.

Popup or iFrame, no problem.

I also suggest you to contact your WuBook reseller to ask them for help!

Warm regards

Saludos cordiales!

Disculpa, no se por qué me dio por preguntar en inglés. Lo que quiero es que al pulsar en el botón de reservar del widget no se abra un popup, sino que se abra en la misma ventana en la que estoy, ya que algunas veces los navegadores bloquean los popus....

Gracias

white

Bueno, no te preocupe por el idioma :) Eso es lo de menos ehehehe

En cuanto a tu necesidad, tienes la posibilidad de elegir tu opción favorita (popup o iFrame) desde el enlace que te puse. Allí mismo verás varias opciones y puedes configurar la que mejor te parezca. Sugiero que, si no eres tu el webmaster, se lo pases o lo consultes con él.

Quedo a disposición

Saludos