Click to See Complete Forum and Search --> : AdRotator link to open target="_blank"?


dunkin44
September 28th, 2005, 01:12 PM
I'm using the ASP AdRotator script that randomly inserts ads on our website at www.misterbasketball.com. Currently the txt file that controls the ad does not allow for the link to open in a new target window. An example of the .txt (GenAdRotator1.txt) script is below.

REDIRECT /scripts/redir.asp
WIDTH 150
HEIGHT 100
BORDER 0
*
http://www.misterbasketball.com/images/ADS/animated/HolidayInn.gif
http://www.heartlandhospitality.com/HolInn_index.htm
Mr. Basketball's Official Hotel Partners
50

this is the ASP code that is on the page before the <BODY> tag.
<%
Dim objAdRotator
Set objAdRotator = Server.CreateObject("MSWC.AdRotator")
%>

this is the HTML and ASP code that calls the txt file above.

<p><!--webbot bot="HTMLMarkup" startspan -->
<%=objAdRotator.GetAdvertisement("/scripts/GenAdRotator1.txt")%>
<!--webbot bot="HTMLMarkup" endspan --></p>

Where or what do I add in order to have the target link open in a NEW WINDOW ie:
<a target="_blank" href="http://www.heartlandhospitality.com/HolInn_index.htm">?

Thanks for any help.

Ejaz
September 29th, 2005, 12:52 AM
[ Moved Thread ]