| |
rich136
Posts: 1
Score: 0
Joined: 12/13/2005
Status: offline
|
All right, so I am very new to ASP and VBScript (like two weeks into it now!) I used someones script for a calendar but I want the links within the calendar to pop up instead of linking in the same window. Here is the script right now: If isEvent = TRUE Then Response.Write("<a href=""calanderevents.asp?EventDate=" & Server.URLEncode(CurrentDay) & """> "& Day(CurrentDay)& "</a>") If Not rsEvents.BOF Then rsEvents.MoveFirst Do Until rsEvents.EOF If (rsEvents.Fields.Item("eventDate").Value) = CurrentDay Then Response.Write("<p><a href=""calanderevents.asp?id=" & (rsEvents.Fields.Item("eventid").Value)& "" > " & (rsEvents.Fields.Item("eventTitle").Value) & "</a></p>") End If I thought, since it seems to write html (the <p> and <a href>, that I could simply add target ="_blank", but it doesn't seem to work. What do I need to do? Thank you all for your help!
|
|