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 19:01, local time: 2020/7/8 21:29,
|©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://www.sxlist.com/techref/language/asp/comp/compref_7.htm"> TargetFrame</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!