TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 651
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 175
  • Total: 176
  • lurkalot

menublock vetical scrollbar

Started by ltdeta, October 15, 2007, 04:20:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ltdeta

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 :)


IchBin

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.

Lesmond

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>&nbsp;</div>

This website is proudly hosted on Crocweb Cloud Website Hosting.