will generate a box 98% of the width of the post body and 400px in height. The box will have a border of 1px. If there is any content that would be larger than the set size of the scrollbox, scrollbars will be generated.
Example:
[scrollbox]This will generate a scrollbox 98% of the width of the post body and 400px in height.[/scrollbox]
Settings:
BBCode Usage:
Code: Select all
[scrollbox]{TEXT}[/scrollbox]
Code: Select all
<div style="max-width:98%; max-height:400px; padding:5px; overflow:auto; resize:both; border: 1px solid;">{TEXT}</div>
Code: Select all
[scrollbox]CONTENT[/scrollbox] | Optional: [scrollbox=WIDTH,HEIGHT]CONTENT[/scrollbox] | Example: [scrollbox=500,90]CONTENT[/scrollbox]
scrollbox=
This will create a scrollbox which users can set a specific width and height.
Example:
[scrollbox=500,200]This will generate a scrollbox 500px wide and 200px in height.[/scrollbox]
Settings:
BBCode Usage:
Code: Select all
[scrollbox={NUMBER1},{NUMBER2}]{TEXT}[/scrollbox]
Code: Select all
<div style="width:{NUMBER1}px; height:{NUMBER2}px; padding:5px; overflow:auto; resize:both; border: 1px solid;">{TEXT}</div>
Code: Select all
[scrollbox=WIDTH,HEIGHT]CONTENT[/scrollbox] | Example: [scrollbox=500,90]CONTENT[/scrollbox]