VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Using the Ad Rotator component from Micrsoft, this will make the browser create a new window when t

by Matt Massey (4 Submissions)
Category: Active Server Pages
Compatability: ASP (Active Server Pages)
Difficulty: Unknown Difficulty
Originally Published: Sun 31st January 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Using the Ad Rotator component from Micrsoft, this will make the browser create a new window when the ad is clicked on. (This is simmilar to

Rate Using the Ad Rotator component from Micrsoft, this will make the browser create a new window when t



Set AdRotator = Server.CreateObject("MSWC.AdRotator")
AdText = AdRotator.GetAdvertisement("/banners/ads.txt")
BeginLoc = InStr(AdText, "<A")
TELoc = InStr(BeginLoc + 3, AdText, " ")
AdText = Left(AdText,TELoc) & "TARGET=NewWin " & Right(AdText,(Len(AdText)-TELoc))
response.write AdText
%>

Download this snippet    Add to My Saved Code

Using the Ad Rotator component from Micrsoft, this will make the browser create a new window when t Comments

No comments have been posted about Using the Ad Rotator component from Micrsoft, this will make the browser create a new window when t. Why not be the first to post a comment about Using the Ad Rotator component from Micrsoft, this will make the browser create a new window when t.

Post your comment

Subject:
Message:
0/1000 characters