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 !
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Vertical tabs error
-
- Posts: 45
- Joined: Mon Sep 02, 2019 11:54 am
Vertical tabs error
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact:
Re: Vertical tabs error
Here's a fix:
Add this function in the Header (under Setup) and login again into nuBuilder.
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);
}
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact: