AdRotator

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Erica

    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

    Awards
    50
    /images/banner2.gif

    Banner2
    50


    And my code looks like this:
    <%
    set adrotator=Serve r.CreateObject( "MSWC.AdRotator ")
    response.write( adrotator.GetAd vertisement("ba nners.txt"))
    %>

  • Jeff Dillon

    #2
    Re: AdRotator

    View Source and post the resulting HTML here.

    Jeff

    "Erica" <Erica@discussi ons.microsoft.c om> wrote in message
    news:6AAFF6B6-B940-4667-AB8C-68971BCC8738@mi crosoft.com...[color=blue]
    > 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=Serve r.CreateObject( "MSWC.AdRotator ")
    > response.write( adrotator.GetAd vertisement("ba nners.txt"))
    > %>
    >[/color]


    Comment

    • Erica

      #3
      Re: AdRotator

      Here is the relevant source:

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


      </td>

      "Jeff Dillon" wrote:
      [color=blue]
      > View Source and post the resulting HTML here.
      >
      > Jeff
      >
      > "Erica" <Erica@discussi ons.microsoft.c om> wrote in message
      > news:6AAFF6B6-B940-4667-AB8C-68971BCC8738@mi crosoft.com...[color=green]
      > > 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=Serve r.CreateObject( "MSWC.AdRotator ")
      > > response.write( adrotator.GetAd vertisement("ba nners.txt"))
      > > %>
      > >[/color]
      >
      >
      >[/color]

      Comment

      • Manohar Kamath

        #4
        Re: AdRotator

        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



        "Erica" <Erica@discussi ons.microsoft.c om> wrote in message
        news:6AAFF6B6-B940-4667-AB8C-68971BCC8738@mi crosoft.com...[color=blue]
        > 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=Serve r.CreateObject( "MSWC.AdRotator ")
        > response.write( adrotator.GetAd vertisement("ba nners.txt"))
        > %>
        >[/color]


        Comment

        • Jeff Dillon

          #5
          Re: AdRotator

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

          jeff

          "Erica" <Erica@discussi ons.microsoft.c om> wrote in message
          news:B9C869CA-9656-4C9F-8D36-6D79403DC8EA@mi crosoft.com...[color=blue]
          > Here is the relevant source:
          >
          > <td height="119" align="center" bgcolor="#FFFFC C">
          > <A
          >[/color]
          HREF="redirect. asp?url=http://www.starone-intranet.com/main.asp&image=/image
          s/awards.swf"[color=blue][color=green]
          > ><IMG SRC="/images/awards.swf" ALT="Awards" WIDTH=215 HEIGHT=115[/color][/color]
          BORDER=0></A>[color=blue]
          >
          >
          > </td>
          >
          > "Jeff Dillon" wrote:
          >[color=green]
          > > View Source and post the resulting HTML here.
          > >
          > > Jeff
          > >
          > > "Erica" <Erica@discussi ons.microsoft.c om> wrote in message
          > > news:6AAFF6B6-B940-4667-AB8C-68971BCC8738@mi crosoft.com...[color=darkred]
          > > > 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=Serve r.CreateObject( "MSWC.AdRotator ")
          > > > response.write( adrotator.GetAd vertisement("ba nners.txt"))
          > > > %>
          > > >[/color]
          > >
          > >
          > >[/color][/color]


          Comment

          • Jason Brown [MSFT]

            #6
            Re: AdRotator

            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" <Erica@discussi ons.microsoft.c om> wrote in message
            news:B9C869CA-9656-4C9F-8D36-6D79403DC8EA@mi crosoft.com...[color=blue]
            > Here is the relevant source:
            >
            > <td height="119" align="center" bgcolor="#FFFFC C">
            > <A
            > HREF="redirect. asp?url=http://www.starone-intranet.com/main.asp&image=/images/awards.swf"[color=green]
            >><IMG SRC="/images/awards.swf" ALT="Awards" WIDTH=215 HEIGHT=115
            >>BORDER=0></A>[/color]
            >
            >
            > </td>
            >
            > "Jeff Dillon" wrote:
            >[color=green]
            >> View Source and post the resulting HTML here.
            >>
            >> Jeff
            >>
            >> "Erica" <Erica@discussi ons.microsoft.c om> wrote in message
            >> news:6AAFF6B6-B940-4667-AB8C-68971BCC8738@mi crosoft.com...[color=darkred]
            >> > 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=Serve r.CreateObject( "MSWC.AdRotator ")
            >> > response.write( adrotator.GetAd vertisement("ba nners.txt"))
            >> > %>
            >> >[/color]
            >>
            >>
            >>[/color][/color]


            Comment

            Working...