The TargetFrame property specifies the target frame into which the link should be loaded. This property fulfills the same function as the TARGET parameter in an HTML anchor statement.
AdRotator.TargetFrame = frame
The following example displays the advertisements in the frame AdFrame
.
--- AdRot_TargetFrame.asp ---
<%
Set ad = Server.CreateObject("MSWC.AdRotator")
ad.TargetFrame = "target=_TOP"
%>
<%= ad.GetAdvertisement("/ads/adrot.txt") %>