By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,650 Members | 1,778 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,650 IT Pros & Developers. It's quick & easy.

AdRotator

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.