The Border property enables you to specify whether to display the advertisements with a surrounding border.
Border (size)
size
Specifies the thickness of the border that surrounds the displayed advertisement. The default is the value set in the header of Rotator Schedule file.
The following example displays the advertisements without a border.
<%
Set ad = Server.CreateObject("MSWC.AdRotator")
ad.BorderSize(0) %>
<%= ad.GetAdvertisement("/ads/adrot.txt") %>
© Microsoft Corporation. All rights reserved.
file: /Techref/language/asp/comp/compref_5.htm, 1KB, , updated: 1996/11/21 18:01, local time: 2024/11/22 21:27,
3.145.177.173:LOG IN
|
©2024 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://sxlist.com/Techref/language/asp/comp/compref_5.htm"> Border</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.