Photo Gallery
Member List
Search
Calendars
FAQ
Ticket List
Log Out
Forums
Register
Login
My Profile
Inbox
Address Book
My Subscription
My Forums
Ad Rotator
Logged in as: Guest
arrSession:exec spGetSession 2,3,434
Active Users: There are
0
members and
0
guests.
Users viewing this topic: none
Printable Version
All Forums
>>
[Scripting]
>>
ASP
>> Ad Rotator
Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page:
[1]
Login
Message
<< Older Topic
Newer Topic >>
Ad Rotator -
10/12/2001 10:07:30 AM
Bryan Freed
Posts: 4
Score: 0
Joined: 10/9/2001
From: USA
Status:
offline
I am using the ad rotator component and having a problem with the name of the banner image being added to the end of the specified url. It is being added in the followinf format:
http://www.somesite.com/photo/banners.asp?url=http://www.somesite.com/newsletter.asp&image=http://www.somesite/images/banners/banner2.jpg
I am using the asp page containing the ad rotator code as and include file (<!--#include file=banners.asp-->). Could using it as an include file be the problem or am I missing something. Here is the code I am using:
<% Response.Redirect Request.QueryString("url") %>
<% set adrotator = Server.CreateObject("MSWC.AdRotator")
adrotator.TargetFrame=("_blank")
adrotator.Clickable = (True)
Response.write(adrotator.GetAdvertisement("textfile")
%>
Post #: 1
If you found our site useful please link to us
<a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>
.
All Forums
>>
[Scripting]
>>
ASP
>> Ad Rotator
Page:
[1]
Jump to:
Select a Forum
All Forums
----------------------
[Welcome]
- - Forum Rules
- - Test Posting Messages
- - New Member Area/Introduction
[Scripting]
- - WSH & Client Side VBScript
- - WSH & Client Side VBScript Tutorial
- - Post a VBScript
- - Windows PowerShell
- - ASP
- - ASP.NET
- - Windows Script Components
[General Forum]
- - Other Programming/Scripting Languages
- - Suggestions & Feedback
- - Off-Topic Lounge
New Messages
No New Messages
Hot Topic w/ New Messages
Hot Topic w/o New Messages
Locked w/ New Messages
Locked w/o New Messages
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
Forum Software ©
ASPPlayground.NET
Advanced Edition
2.5.5 ANSI