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.
Specifies the name of the frame in which to display the advertisement. This parameter can also be one of the HTML frame-keywords, such as _TOP, _NEW, _CHILD, _SELF, _PARENT, or _BLANK. The default value is NO FRAME.
The following example displays the advertisements in the frame AdFrame.
Set ad = Server.CreateObject("MSWC.AdRotator")
ad.TargetFrame (AdFrame) %>
<%= ad.GetAdvertisement("/ads/adrot.txt") %>
Ad Rotator Component
© Microsoft Corporation. All rights reserved.
|file: /Techref/language/asp/comp/compref_7.htm, 1KB, , updated: 1996/11/21 18:01, local time: 2020/1/23 19:32,
|©2020 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://techref.massmind.org/techref/language/asp/comp/compref_7.htm"> TargetFrame</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!