ray
|
| Posted: 05/08/2003, 8:31 PM |
|
Using codecharge 2.05 with ASP. I added a links section to my site and want the link to open in a new window.
I have a grid with link_name as a URL field and the the URL field is link_url. So how do I open in a new window?
I tried
fldlink_name = "<a href = ""link_name"" target = ""blank"">" & fldlink_name & "</a>"
Thanks
|
|
|
 |
ray
|
| Posted: 05/09/2003, 2:50 PM |
|
Please help with this. The link to my page is http://www.texaslive.us/links.asp
I want to click on the the name and have the website open in a new window.
Thanks
|
|
|
 |
rclayh
|
| Posted: 05/09/2003, 8:37 PM |
|
target = "_blank"
|
|
|
 |
ray
|
| Posted: 05/11/2003, 1:56 PM |
|
I tried that it does not work
Any more help?
Thanks
|
|
|
 |
jerry
|
| Posted: 05/11/2003, 10:38 PM |
|
Try using the onClick event in the link something like this:
<a href="yourlink.asp" onClick="window.open('yourlink.asp', 'linkWin', 'width=330, height=230, toolbar=0, directories=0, location=0, top=400, left=350, status=1, menubar=0, resizable=1, scrollbars=1, '); return false">
The width,height, toolbar etc are properties that can be set for the new window
|
|
|
 |
|