TinyPortal
Development => Feedback => Topic started by: ltdeta on October 15, 2007, 04:20:28 PM
i need a vertical scrollbar for the menublock
i have a lot off menuitems and the box will be higher and higher
can anybody help please :)
This would require to edit some of the tinyportal files. If I were you, I would just custom code a menu and change that menu to have a scroll bar.
Place this in a script block, changing the links to suit, not very tidy but it works ok ???
<style type="text/css">
* {
margin: 0;
padding: 0;
}
body {
margin: 20px;
}
#content {
margin-left: 20px;
width: 50%;
height: 20em;
overflow: auto;
background: #gray;
}
</style>
<div id="content" style="width: 150px; height: 150px">
<b><a href="http://www.anylink.net">Link 1</a></b>
<p><b><a href="http://www.anylink.net">Link 2</a></b></p>
<p><b><a href="http://www.anylink.net">Link 3</a></b></p>
<p><b><a href="http://www.anylink.net">Link 4</a></b></p>
<p><b><a href="http://www.anylink.net">Link 5</a></b></p>
<p><b><a href="http://www.anylink.net">Link 6</a></b></p>
<p><b><a href="http://www.anylink.net">Link 7</a></b></p>
<p><b><a href="http://www.anylink.net">Link 8</a></b></p>
<p><b><a href="http://www.anylink.net">Link 9</a></b></p>
<p><b>Link 10</b>
<p><b>Link 1</b></p>
<p><b>Link 2</b></p>
<p><b>Link 3</b></p>
<p><b>Link 4</b></p>
<p><b>Link 5</b></p>
<p><b>Link 6</b></p>
<p><b>Link 7</b></p>
<p><b>Link 8</b></p>
<p><b>Link 9</b></p>
<p><b>Link 10</b><p> </div>