Re-post: Setting scrollbars to a portlet...
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Re-post: Setting scrollbars to a portlet...




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re-post: Setting scrollbars to a portlet...  
LTH


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-31-04 06:33 PM

One of the easiest ways to control this is using HTML <DIV> tag to
wrap you
output and define the height and width for the tag.

<div style="width:450;height:160;overflow:auto;">
List of records...
</div>

Once the length of your records exceed 160px (height), the scrollbar
will automatically appear.

Or you can use <IFRAME> if the list of records is returned from a URL:

<iframe height='300' width='100%' name='Records' scrolling='auto'
src='http://mydb.com/servlet/GetAllRecords'
title='Records'>
</iframe>

LTH.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:25 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register