Support Team
posted this
28 July 2020
Sam,
We are sorry for the delayed answer.
Our developers have fixed problems with work Tabs in popup windows.
It will be fixed in the nearest updates of the Nicepage.
For a temporary fix, you can add next code
$('body').on('click', '.u-tab-link', onTabClick);
function onTabClick(event) {
event.preventDefault();
event.stopPropagation();
var link = $(event.currentTarget);
var tabsControl = new TabsControl(link);
tabsControl.show();
}
inside "window.onload = function () {" in Site Settings -> Additional HTML.
So you must get something like this piece of code:
.....
window.onload = function () {
$('body').on('click', '.u-tab-link', onTabClick);
function onTabClick(event) {
event.preventDefault();
event.stopPropagation();
var link = $(event.currentTarget);
var tabsControl = new TabsControl(link);
tabsControl.show();
}
....
And after next updates you can remove it.
...................................................
Sincerely,
Nicepage Support Team
Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp
Sam,
We are sorry for the delayed answer.
Our developers have fixed problems with work Tabs in popup windows.
It will be fixed in the nearest updates of the Nicepage.
For a temporary fix, you can add next code
<code>
$('body').on('click', '.u-tab-link', onTabClick);
function onTabClick(event) {
event.preventDefault();
event.stopPropagation();
var link = $(event.currentTarget);
var tabsControl = new TabsControl(link);
tabsControl.show();
}
</code>
inside "window.onload = function () {" in Site Settings -> Additional HTML.
So you must get something like this piece of code:
<code>
.....
window.onload = function () {
$('body').on('click', '.u-tab-link', onTabClick);
function onTabClick(event) {
event.preventDefault();
event.stopPropagation();
var link = $(event.currentTarget);
var tabsControl = new TabsControl(link);
tabsControl.show();
}
....
</code>
And after next updates you can remove it.
...................................................
Sincerely,
Nicepage Support Team
Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp