This topic is locked

how I do to get view record in a popup window

4/2/2008 10:42:46 PM
PHPRunner General questions
A
anjeko author

It's possible to get VIEW record in a popup window?

Thanks for solution.
anjeko

J
Jane 4/3/2008

Hi,
you can do it editing your list page in the HTML mode on the Visual Editor.

Find this code:

<A class=tablelinks2 href="TableName_view.php?{$row.1editlink}">View</A>



and replace it with this one:

<A class=tablelinks2 href="TableName_view.php?{$row.1editlink}" target=_blank>View</A>

A
anjeko author 4/3/2008

Hi,

you can do it editing your list page in the HTML mode on the Visual Editor.

Find this code:
and replace it with this one:


Hi Jane,
Thanks very much for your help. I need to find out how to set correct size for this screen.
Regards,
anjeko

J
Jane 4/3/2008

Hi,
use JavaScript to open window with given size.

<A class=tablelinks2 href="TableName_view.php?{$row.1editlink}" onclick="window.open('TableName_view.php?{$row.1editlink}',null,

'height=200,width=400,status=yes,toolbar=no,menubar=no,location=no');">View</A>

A
anjeko author 4/7/2008

Hi,

use JavaScript to open window with given size.


Thanks Jane and All for halp.
anjeko