CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Simple URL Question

Print topic Send  topic

Author Message
MrVanJohnson
Posted: 07/27/2002, 11:18 PM

OK, I think this one is easy. I am using CCS 1.0.6 to create some PHP pages talking to a MySQL back end.
Basically what I am doing is serving up some information on locations with links to Yahoo Maps for directions. I have everything working. I store the URL in a database and server it up on the page just fine. The problem, the URL's are long and ugly. I would rather have users click on text saying 'Click here to view Yahoo Map' and then let that link be built with the URL in the database. Any ideas how I can do this in CCS?

Bonus question... How can I make the Yahoo Map page become a target="_blank" ??
Alex Alexapolsky
Posted: 07/29/2002, 6:01 AM

1) Regarding link try setting Default property to "Click here to view Yahoo Map"
2) target="_blank" should be specified right in html tab.
Alex Alexapolsky
Posted: 07/29/2002, 6:01 AM

1) Regarding link try setting Default property to "Click here to view Yahoo Map"
2) target="_blank" should be specified right in html tab.
MrVanjohnson
Posted: 07/29/2002, 7:51 AM

Thanks for the reply. I assume you are referring to the Default entry under Data in the properties box. This doesn't work. I think this entry will only take affectif there was no data from the database to fill it. So, I think I could set it to 'Sorry, there is no Yahooo Map for this location' and if there were no map entris, this message would come up.

Any other ideas?
MrVanJohnson
Posted: 07/29/2002, 8:02 AM

OK, I just edit the HTML to have a target open a new page. While I was there I thought, why not set the text I want to display here. I did and it worked. Thanks for all you suggestions. Funny, you get stuck in a frame of mind some times and forget the old reliables. I kept saying, there's got to be a way to have Code Charge do this. When the whole time I could just go bad to old HTML code editing :-) Thanks again

   


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.