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
|
|
|
 |
|