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 12:41,
3.135.190.244: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://massmind.org/Techref/language/asp/comp/compref_5.htm"> Border</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.