WebSphere Portal Server - Re-post: Setting scrollbars to a portlet...

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > January 2004 > Re-post: Setting scrollbars to a portlet...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

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

2004-01-31, 1: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.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com