CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Frames in CodeCharge

Print topic Send  topic

Author Message
Jeff Haskell
Posted: 04/09/2001, 1:21 PM

Anyone experiment with frames with CodeCharge. I assume you could refrence
an URL from a Default page but was wondering if anyone else has done it so I
can steal....er...uh..check out their methods.

Thanks.

Jeff

Seth Wagoner
Posted: 04/09/2001, 11:58 PM



"Jeff Haskell" <jhaskell@neogent.com> wrote in message
news:9at5l6$hvb$1@mail.tankhill.com...
> Anyone experiment with frames with CodeCharge. I assume you could
refrence
> an URL from a Default page but was wondering if anyone else has done it so
I
> can steal....er...uh..check out their methods.

There doesn't seem to be any built in support for frames and new windows, we
can only hope it'll be in a future version. One trick I used to open new
windows could also be used to target frames. In the "before_show" event
(using ASP in this case) I put the following:
transit_params = transit_params & """ target=""_blank"" "

This trick however sets the same target for each URL in the form that uses
transit params, so isn't going to be appropriate all the time.

Seth.
------------------------------------------------------
Seth Wagoner, Webfoundry Ltd
seth@webfoundry.co.nz - http://webfoundry.co.nz



Seth Wagoner
Posted: 04/10/2001, 12:54 AM

> There doesn't seem to be any built in support for frames and new windows,
we
> can only hope it'll be in a future version. One trick I used to open new
> windows could also be used to target frames. In the "before_show" event
> (using ASP in this case) I put the following:
> transit_params = transit_params & """ target=""_blank"" "
>
> This trick however sets the same target for each URL in the form that uses
> transit params, so isn't going to be appropriate all the time.

Thinking about it again, an alternative which gets around this (again,
without having to muck with the generated HTML) is to use a label, and use
the before_show event to
construct the appropriate URL.

For a simple example, if you wanted a field "Offsite_URL" to display as a
link to an offsite html page in another frame, in the "before_show" event
of the form put (for ASP):

fldOffsite_URL = "<A href=""http:"+fldOffsite_URL+"""
target=""framename"">"+fldOffsite_URL+"</A>"

and remember to check "html" on the label's options.

------------------------------------------------------
Seth Wagoner, Webfoundry Ltd
seth@webfoundry.co.nz - http://webfoundry.co.nz



   


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

Web Database

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.