This topic is locked

Hyperlink formating in Asprunner 4.1 (build 202)

1/21/2007 4:25:50 PM
ASPRunnerPro General questions
A
Antonio author

Hi,
I'd like to know how I can show a another field (as popup) by clicking in a field in the list view.
For example, in a table with the fields "title" and "description"
In the page_list I'd like to show only the "title" content as hyperlink and when I click on it, a popup page open witn the "description" content.
I'd like to use this as a alternative for the page_view
Thanks a lot for any help.
best regards

J
Jane 1/22/2007

Hi,
you can do it using Custom format on the "View as" settings dialog on the Visual Editor tab.

here is a sample:

strValue="<a href=""#"" onclick=""java script: pwin = window.open('',null,'height=300,width=400,status=yes,resizable=yes,toolbar=no,menubar=no,location

=no,left=150,top=200,scrollbars=yes');pwin.document.write('" & strValue & "');pwin.document.write('
<hr size=1 noshade><a href=# onClick=\'window.close();return false;\'>Close window</a>');return false;"">Title</a>"