473,385 Members | 1,465 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

AdRotator

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
Awards
50
/images/banner2.gif
http://www.starone-intranet.com/main.asp
Banner2
50
And my code looks like this:
<%
set adrotator=Server.CreateObject("MSWC.AdRotator")
response.write(adrotator.GetAdvertisement("banners .txt"))
%>

Jul 21 '05 #1
5 5478
View Source and post the resulting HTML here.

Jeff

"Erica" <Er***@discussions.microsoft.com> wrote in message
news:6A**********************************@microsof t.com...
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
Awards
50
/images/banner2.gif
http://www.starone-intranet.com/main.asp
Banner2
50
And my code looks like this:
<%
set adrotator=Server.CreateObject("MSWC.AdRotator")
response.write(adrotator.GetAdvertisement("banners .txt"))
%>

Jul 21 '05 #2
Here is the relevant source:

<td height="119" align="center" bgcolor="#FFFFCC">
<A
HREF="redirect.asp?url=http://www.starone-intranet.com/main.asp&image=/images/awards.swf"
<IMG SRC="/images/awards.swf" ALT="Awards" WIDTH=215 HEIGHT=115 BORDER=0></A>

</td>

"Jeff Dillon" wrote:
View Source and post the resulting HTML here.

Jeff

"Erica" <Er***@discussions.microsoft.com> wrote in message
news:6A**********************************@microsof t.com...
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
Awards
50
/images/banner2.gif
http://www.starone-intranet.com/main.asp
Banner2
50
And my code looks like this:
<%
set adrotator=Server.CreateObject("MSWC.AdRotator")
response.write(adrotator.GetAdvertisement("banners .txt"))
%>


Jul 21 '05 #3
Erica,

The adRotator component outputs only <IMG> tags, and not <embed> tags that
are required by ShockWave files. You might want to use a third-party ad
rotating component such as BanManPro (www.banmanpro.com) to rotate different
types of multimedia ads.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Erica" <Er***@discussions.microsoft.com> wrote in message
news:6A**********************************@microsof t.com...
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
Awards
50
/images/banner2.gif
http://www.starone-intranet.com/main.asp
Banner2
50
And my code looks like this:
<%
set adrotator=Server.CreateObject("MSWC.AdRotator")
response.write(adrotator.GetAdvertisement("banners .txt"))
%>

Jul 21 '05 #4
Is this code want you want created via ASP? I guess I meant, show the
current broken HTML, and what you want.

jeff

"Erica" <Er***@discussions.microsoft.com> wrote in message
news:B9**********************************@microsof t.com...
Here is the relevant source:

<td height="119" align="center" bgcolor="#FFFFCC">
<A
HREF="redirect.asp?url=http://www.starone-intranet.com/main.asp&image=/image
s/awards.swf"
<IMG SRC="/images/awards.swf" ALT="Awards" WIDTH=215 HEIGHT=115

BORDER=0></A>

</td>

"Jeff Dillon" wrote:
View Source and post the resulting HTML here.

Jeff

"Erica" <Er***@discussions.microsoft.com> wrote in message
news:6A**********************************@microsof t.com...
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
Awards
50
/images/banner2.gif
http://www.starone-intranet.com/main.asp
Banner2
50
And my code looks like this:
<%
set adrotator=Server.CreateObject("MSWC.AdRotator")
response.write(adrotator.GetAdvertisement("banners .txt"))
%>


Jul 21 '05 #5
a swf is not an image. it can't be displayed with an <img> tag.
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.

"Erica" <Er***@discussions.microsoft.com> wrote in message
news:B9**********************************@microsof t.com...
Here is the relevant source:

<td height="119" align="center" bgcolor="#FFFFCC">
<A
HREF="redirect.asp?url=http://www.starone-intranet.com/main.asp&image=/images/awards.swf"
<IMG SRC="/images/awards.swf" ALT="Awards" WIDTH=215 HEIGHT=115
BORDER=0></A>

</td>

"Jeff Dillon" wrote:
View Source and post the resulting HTML here.

Jeff

"Erica" <Er***@discussions.microsoft.com> wrote in message
news:6A**********************************@microsof t.com...
> 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
> Awards
> 50
> /images/banner2.gif
> http://www.starone-intranet.com/main.asp
> Banner2
> 50
>
>
> And my code looks like this:
> <%
> set adrotator=Server.CreateObject("MSWC.AdRotator")
> response.write(adrotator.GetAdvertisement("banners .txt"))
> %>
>


Jul 21 '05 #6

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

Similar topics

0
by: kdmath | last post by:
I want to use the AdRotator control to dispay pay per click ads in the banner. I am able to use the AdRotator control for other links but when I use the code that the pay per click ads say to...
0
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...
0
by: Kiran R | last post by:
Hi, Is there any way to show different advertisements(images) in a certain interval of time using AdRotator. I am able to display different images when the page get refreshed using AdRotator....
1
by: Miguel Dias Moura | last post by:
Hello, In AdRotator I can use only images or can I also use Flash Movies? Thanks You, Miguel
1
by: clintonG | last post by:
After months of stable operation the AdRotator has become unstable. Maybe its the Themes or the MasterPage who knows? The AdRotator is showing the images from Theme 1 when Theme 2 is selected...
5
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>...
7
by: Aussie Rules | last post by:
Hi, I have a adrotator control on a page, and want to program the connection of the control via SQL. I have the following code which doesn't seem to do much, and not sure what else to do? ...
1
by: Aussie Rules | last post by:
Hi, I have a few adrotators on a page, each bound to a sql dataset from my database The function works fine, but as we are going to charge for the advertising impression and click throughs I...
0
by: MC | last post by:
I have coded an AdRotator to use a Database for it's data source. If I use a SqlDataSource control it functions as expected, however if I manually retreive the data using an OleDBDataReader It...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.