Results 1 to 3 of 3

Thread: Need help figuring this out

  1. #1

    Thread Starter
    Junior Member DesignGirl's Avatar
    Join Date
    Mar 2007
    Location
    West Palm Beach, FL
    Posts
    31

    Need help figuring this out

    Hi

    I'm having trouble with a adrotator - it shows my pictures and alt just fine, but it tells me the "resource cannot be found" for the pdf its suppose to open.

    Code:
    <Advertisements> 
    <Ad> 
    <ImageUrl>~/trees/_americanbeech.jpg</ ImageUrl> 
    <NavigateUrl>~/pdf/American Beach.pdf</ NavigateUrl> 
    <AlternateText>American Beech image courtesy of forestryimages.com </AlternateText> 
    <Keyword>Group1</Keyword > 
    <Impressions>30</Impressions > 
    </Ad> 
    
    .......more
    
    </Advertisements>
    Not sure if I'm doing something wrong. Any ideas
    thank you

  2. #2
    Hyperactive Member kayos's Avatar
    Join Date
    Apr 2004
    Location
    Largo, Florida
    Posts
    306

    Re: Need help figuring this out

    try pulling the tilde out (~)


    If this post helps, please RATE MY POST!

    Using Visual Studio 2005 SE

  3. #3

    Thread Starter
    Junior Member DesignGirl's Avatar
    Join Date
    Mar 2007
    Location
    West Palm Beach, FL
    Posts
    31

    Re: Need help figuring this out

    kayos

    Thanks. You know I tried about everything & spent most of this morning working on this thing
    but I got it to work!

    Here's what finally worked - assigning the navigateUrl in the AdCreated event:
    Code:
    e.NavigateUrl = e.AdProperties.Item("NavigateUrl")
    Why? I have no idea!

    thanks again

    -claire

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width