Sometimes I have a need to display several fields from each record in a
selection interface but I don't want to use the screen space that a
table would take.

The normal solution for a single-line input choice is a <select>
element, but these aren't too good at displaying large text fields such
as the description and don't allow nice formatting to separate fields.
So I was using a <table> with an <input type="radio"> column but that
takes up too much screen real estate.

So I've written some Javascript that just displays one row of the table
at a time. It replaces the radio buttons with a <select> element and
displays the appropriate row as the user browses through the options.

It isn't Maypole-dependent, or even TT dependent, but it does work
nicely with it. It does use the DOM and I've only tested with one
browser - Firefox 1.0.6.

Cheers, Dave



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to