WeiglWorks
Member
Posted 2 years ago #
I am searching for a plugin that will allow me to create a fixed-size text box on a page, with scroll bars. You see it a lot for Terms & Conditions or Forum Rules. I want to include a lot of text in the box without making the page extremely long.
I don't even know where to start or what search terms to use. Any help is much appreciated.
I'm looking for something like this. http://www.matrox.com/video/en/support/mac/mxo2/forum/
Not a plugin, but this might help: Codex Template Tags/the widget.
You can then put a text widget in the new 'widgetized' area and use code like this to get a sidebar:
<div style="overflow:auto;height:150px;">
<p>First entry and a really long one to see how it handles a long line</p>
<p>another</p>
<p>and another</p>
<p>still another</p>
<p>and again</p>
<p><yet again</p>
<p>one more time</p>
</div>
at matrox they use the html tag <textarea>
http://www.w3schools.com/TAGS/tag_textarea.asp
another possibility is to use a div with fixed height and overflow-y:auto;