entoone
|
Posted: 09/18/2005, 1:22 PM |
|
I have been reading the post for answer to my question, but they just don't seem to match and I have spent hours on what should take a few mins. SO here goes! hope you can help.
I have a field, "website" within my database.
I can display records etc, no issues there.
I want to have the field "website" be clickable with the information contained in the field. Right now the informaiton within the field does show up, but when you move over the link, it's not a correct ur, it's my site, plus the website url and some other paremeers. This should be easy, but I'm having a devil of a time with it. Any help would be wonderful.
I have change from text, to heml and played with all options and just can't seem to get it. Also, I would like the link to open a new window.. I have tried _blank and still I'm LOST! HELP.
|
|
|
tom
|
Posted: 09/18/2005, 3:24 PM |
|
1. change field to 'label', check 'html' chbox
2. in 'before show' event write:
$fldyourfieldname = "<a href=\"sample.php\" target=\"_blank\">click here</a>";
where sample.php is your desired url of course.
on your page you will see "click here" as link, which will open in new window
be careful of " and \"
|
|
|
|
|
|
|
|