CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Links Demo - New window open

Print topic Send  topic

Author Message
fcy
Posted: 04/23/2002, 5:22 PM

How can I get the URL firlds stored in the links demo to open in a new window?
Nicole
Posted: 04/24/2002, 2:12 AM

Hello,
you should create links manually in Before Show event and add "target" attribute to link. Set "name" field type to Label and select 'HTML' flag on its properties. Here is sample code for Before Show event:
ASP
fldname = "<a href = '"&fldurl&"' target = ""_blank"">"&fldname&"</a>"

PHP
$fldname = "<a href = '". $fldurl ."' target = \"_blank\">". $fldname ."</a>";

Note, that to be able to use "url" field in custom code it should be added to the form.
Alex Alexapolsky
Posted: 04/24/2002, 2:16 AM

Set field type to Label , check 'html" checkbox in field properties.
in before show event :

fldfield_name = "<a href=yahoo.com target=_blank>Yahoo</a>"

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.