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/29 16:54,
18.221.27.56: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://ecomorder.com/Techref/language/asp/comp/compref_5.htm"> Border</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.