AdRotator

Discussion in 'ASP General' started by Erica, Oct 20, 2004.

  1. Erica

    Erica Guest

    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"))
    %>
     
    Erica, Oct 20, 2004
    #1
    1. Advertising

  2. Erica

    Jeff Dillon Guest

    View Source and post the resulting HTML here.

    Jeff

    "Erica" <> wrote in message
    news:...
    > 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"))
    > %>
    >
     
    Jeff Dillon, Oct 20, 2004
    #2
    1. Advertising

  3. Erica

    Erica Guest

    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" <> wrote in message
    > news:...
    > > 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"))
    > > %>
    > >

    >
    >
    >
     
    Erica, Oct 20, 2004
    #3
  4. 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" <> wrote in message
    news:...
    > 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"))
    > %>
    >
     
    Manohar Kamath, Oct 20, 2004
    #4
  5. Erica

    Jeff Dillon Guest

    Is this code want you want created via ASP? I guess I meant, show the
    current broken HTML, and what you want.

    jeff

    "Erica" <> wrote in message
    news:...
    > 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" <> wrote in message
    > > news:...
    > > > 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"))
    > > > %>
    > > >

    > >
    > >
    > >
     
    Jeff Dillon, Oct 20, 2004
    #5
  6. 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" <> wrote in message
    news:...
    > 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" <> wrote in message
    >> news:...
    >> > 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"))
    >> > %>
    >> >

    >>
    >>
    >>
     
    Jason Brown [MSFT], Oct 21, 2004
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DDK

    Adrotator and flash banner?

    DDK, Jun 25, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    3,352
    akino
    Oct 25, 2007
  2. C Downey

    AdRotator

    C Downey, Jun 16, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    412
    Trevor Benedict R
    Jun 17, 2004
  3. Britney

    how to use adrotator

    Britney, Sep 8, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,995
    Rutger Smit
    Sep 8, 2004
  4. John Buchmann

    Similar to adrotator, but to generate text?

    John Buchmann, Sep 21, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    384
    Hermit Dave
    Sep 25, 2004
  5. Miguel Dias Moura

    AdRotator

    Miguel Dias Moura, Oct 14, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    527
    Jim Cheshire [MSFT]
    Oct 14, 2004
Loading...

Share This Page