Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Change style if iFrame subform. Topic is solved

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Change style if iFrame subform.

Unread post by kknm »

I'm setting up many subforms (iFrames) on 1 form.
While there is no data, there is no horizontal scrolling. When the data appears, it appears even though the table fits within the allocated width. Tried applying css in the RUN properties overflow-x: hidden - to no avail.
Is it possible ?
scroll.png
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: Change style if iFrame subform.

Unread post by kev1n »

Add to the embedded form (iFrame):

Code: Select all

$('body').css('overflow-x', 'hidden');
kknm
Posts: 366
Joined: Sat Apr 11, 2020 12:03 am
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: Change style if iFrame subform.

Unread post by kknm »

Thanks it helped!
Post Reply