473,793 Members | 2,927 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AdRotator Component doesn't Rotate Ads

I include an AdRotator component but the component doesn't rotate the ads
_index.asp_
<%
Set objAd=Server.Cr eateObject("MSW C.AdRotator")
vAdRotation=obj Ad.GetAdvertise ment("ads.txt")

Response.Write "<center>" & vAdRotation & "</center>"

%>
<html>
----------------------------------------------------------
_ads.txt_
REDIRECT redirect.asp
*
1.jpg
http:www.1.com
1.com
1
2.jpg
http:www.2.com
2.com
1
3.jpg
http:www.3.com
3.com
1
4.jpg
http:www.4.com
4.com
1
5.jpg
http:www.5.com
5.com
1
-------------------------------------------------------------------
redirect.asp
<%
vURL=Request.Qu eryString("url" )
Response.Redire ct vURL
%>


Jul 19 '05
10 4881
"Apostolis K." <ap***********@ hotmail.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
It does do it. But remember, it's a SERVER-SIDE component, not a
client-side thing.


Yes but not in real time. You have to reload the page so the ad is changed


Well, yes, of course. It's an Active SERVER Pages component, not an active
CLIENT pages thing.

Ray at work

Jul 19 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
5595
by: Erica | last post by:
My images in Adrotator are not displaying. The ALT tag only displays. My text file looks like this: redirect redirect.asp border 0 height 115 width 215 * /images/awards.swf http://www.starone-intranet.com/main.asp
0
2566
by: Erica | last post by:
Hopefully someone can offer me a workaround to this problem: I am using adRotator to rotate some reminders on my intranet site. I have a redirect page name redirect.asp that recieves the querystring variable, 'url' and redirects the user to that page. One of the reminders should be redirected to a url that contains query strings itself. The url passes in the string up to the first '&'. What should I do. Here is the code on the page...
0
3396
by: DDK | last post by:
Does anyone know if the asp.net adrotator control supports flash banners. If so, how does the XML file look with a flash banner in it. I am trying to get a .swf flash file to work with the adrotator and it doesn't seem to be displaying. I just not sure what needs to done. Any info would be much appreciated, D.
0
1227
by: Scott | last post by:
Hi Everyone, I would like to rotate a series of images based on a time interval, not when the pages is refreshed. Can the AdRotator control be configured to change images every x seconds? I found this control does most of what I need, the exception being this post. I am open to the idea of using a third party content rotator, preferable open source, if the adrotator cannot do this. Please feel free to offer suggestions.
0
1265
by: saravanavs | last post by:
I am using Adrotator ... i am included multiple images in xml file.. based on timing i have to display the image dynmically in the same Adrotator component..... But the images get changed if i click refresh button on the explorer
5
3125
by: Dan | last post by:
Hi, I created an AdRotator control with this code: <asp:AdRotator id="AdRotator1" Runat="Server" AdvertisementFile="adrotator.xml"> </asp:AdRotator> The xml file contains: <Advertisements> <Ad>
2
1290
by: Salimunnisaa | last post by:
Hello friends, I am using an adrotator. I want the images to rotate for specific intervals. I also want to ad a banner. If I click on that it should take me to a different page. It is very urgent.
2
1061
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, Can the AdRotator rotate on a timer? for instance if a user is sitting on one page can the ad rotate on a timer? thanks, rodchar
2
1544
by: sonia.sardana | last post by:
With AdRotator adrvertisements keep changing........ I write the below code no error is there but two pictures are not displayed simultaneously and even they are not moving.... When we execute the below code.One picture is displayed...and when we refresh the page then the second picture is displayed....... <html> <form runat ="server> <asp:AdRotator id="AdRotator1" runat="server" Target="_self" ...
0
9518
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10430
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10211
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10159
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3719
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2917
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.