Page 1 of 1
Vertical tabs error
Posted: Thu Jan 09, 2020 2:04 pm
by mariri
Hi guys !
When I use the 'nuSetVerticalTabs()' Javascript procedure in any form with the latest version of NuBuilder, I have a problem with the first tab : an HTML code appears instead of the tab title.
Does anyone else have the same problem ?
Thanks for ur help !
Re: Vertical tabs error
Posted: Thu Jan 09, 2020 2:25 pm
by kev1n
Here's a fix:
Add this function in the Header (under Setup) and login again into nuBuilder.
Code: Select all
function nuSetVerticalTabs(){
$('#nuTabHolder').css('display', 'inline-block');
$('.nuTab').css('display', 'block');
$('#nuRecord').css('display', 'inline-block');
$('.nuTab').css('padding', '8px 2px 0px 2px');
$('#nuTabHolder').css('height', window.innerHeight)
var w = 0;
$('.nuTab').each(function( index ) {
$(this).html(' ' + $(this).html());
w = Math.max(w, nuGetWordWidth($(this).html()));
});
$('#nuTabHolder').css('width', w + 30);
$('.nuTab').css('width', w + 30);
}
Re: Vertical tabs error
Posted: Thu Jan 09, 2020 2:42 pm
by mariri
Ok it works ! Thanks

Re: Vertical tabs error
Posted: Tue Jan 14, 2020 11:14 pm
by admin
kev1n,
I have added your changes to nuBuilder.
Thanks again.
Steven
Re: Vertical tabs error
Posted: Wed Jan 15, 2020 4:47 am
by kev1n
Thanks Steven
Re: Vertical tabs error
Posted: Wed Jan 15, 2020 9:31 pm
by admin
.