Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, 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: 377
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: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 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: 377
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