|
| |
|
|
WIryeman
Posts: 14 Joined: 2/27/2003 Status: offline
|
Opening new window with frontpage link - 11/2/2003 13:07:47
I have tried several different ways but I can not get the coding right please help here is my code and it is on spookey's diet <%="<a href=""" & FP_FieldLink(fp_rs,"URL") & """>" & FP_FieldVal(fp_rs,"URL") & "</a>"%> Thanks In Advance
_____________________________
May Your Boots Dry Quickly
|
|
|
|
WIryeman
Posts: 14 Joined: 2/27/2003 Status: offline
|
RE: Opening new window with frontpage link - 11/2/2003 14:01:49
The displaying is fine I just can not get it so the link opens in a new window. As it sits because I am using frames the link opens in the same frame. These are outside links so I want the user to have a new window open when they click on it
_____________________________
May Your Boots Dry Quickly
|
|
|
|
Patti
Posts: 125 From: USA Status: offline
|
RE: Opening new window with frontpage link - 11/2/2003 14:15:56
I think all you need is to add in the hyperlink target="_blank" to open in new window. I open some links on my page using asp as follows: <a href="http://<%=strURL%>" target="_blank"><%=strWebsite%></a> Patti
|
|
|
|
WIryeman
Posts: 14 Joined: 2/27/2003 Status: offline
|
RE: Opening new window with frontpage link - 11/2/2003 14:19:07
I have tried that in the location you suggested and I get an asp coding errror when I open the page with the link on it.
_____________________________
May Your Boots Dry Quickly
|
|
|
|
Patti
Posts: 125 From: USA Status: offline
|
RE: Opening new window with frontpage link - 11/2/2003 14:30:59
Can you tell us the asp error you get. Patti
|
|
|
|
WIryeman
Posts: 14 Joined: 2/27/2003 Status: offline
|
RE: Opening new window with frontpage link - 11/2/2003 14:37:28
With this coding: <%="<a target="_blank" href=""" & FP_FieldLink(fp_rs,"URL") & """>" & FP_FieldVal(fp_rs,"URL") & "</a>"%> I get this error: Microsoft VBScript compilation error '800a0408' Invalid character /Links/PostedLinks.asp, line 74 Response.Write("<a target="_blank" href=""" & FP_FieldLink(fp_rs,"URL") & """>" & FP_FieldVal(fp_rs,"URL") & "</a>")
|
|
|
|
WIryeman
Posts: 14 Joined: 2/27/2003 Status: offline
|
RE: Opening new window with frontpage link - 11/2/2003 17:55:50
Thank you Spooky Duh! I guess you get a little rusty on the rules when you only tinker with your code every now and then. Thanks Again
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|