Hi
I have a HTML object that has text returned to from the database.
Is it possible to have a scrollbar on the on the HTML object? I understand the HTML object can be dynamic and grow as need but I want to only have the HTML object be a certain height.
Any thoughts would be greatly appreciated
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.
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.
HTML Box Scrollbar
-
- nuBuilder Team
- Posts: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 times
- Contact:
Re: HTML Box Scrollbar
Hi,
You could add some JavaScript to show scrollbars:
Or to show a horizontal scrollbar:
Or to show a vertical scrollbar:
You could add some JavaScript to show scrollbars:
Code: Select all
$('#your_html_object_ID').css("overflow", "scroll");
Or to show a horizontal scrollbar:
Code: Select all
$('#your_html_object_ID').css("overflow-y", "scroll");
Code: Select all
$('#your_html_object_ID').css("overflow-x", "scroll");
Last edited by kev1n on Wed Nov 11, 2020 2:35 pm, edited 1 time in total.