Results 1 to 4 of 4

Thread: Need a script that will display a certain image based on the current page URL

  1. #1
    Join Date
    Mar 2008
    Posts
    15
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Need a script that will display a certain image based on the current page URL

    This seems like it would be an easy thing to do, but I may be wrong-

    I need a script that will change what image displays within a div (or td) based on the current page URL. For example, if the page URL is www.homepage.com&clientid=1, image 1 would appear in the div or td...if the page URL is www.homepage.com&clientid=2, image 2 would appear instead, and so on. If the URL is simply www.homepage.com, a default image would appear in the div/td.

    I've been looking all over for this, it seems like it would be something already written a hundred times- I'm not a coder, but am comfortable implementing code. If anyone has seen this kind of script or uses it, I would really appreciate the help!

    Thanks-

  2. #2
    Join Date
    Jun 2007
    Posts
    543
    Thanks
    3
    Thanked 78 Times in 78 Posts
    Blog Entries
    1

    Default

    do you have php on your server?
    [Jasme Library (Javascript Motion Effects)] My Site
    /\/\@§†ê® §©®¡þ† /\/\@|{ê®
    There are 10 kinds of people in the world, those that understand binary and those that don't.

  3. #3
    Join Date
    Mar 2008
    Posts
    15
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default I checked and no php--

    The server supports asp and embedded javascript- this is for an ecommerce site being hosted on the ecommerce solution provider's servers.
    Last edited by padstow; 11-11-2008 at 01:04 AM. Reason: misspelling

  4. #4
    Join Date
    Jun 2007
    Posts
    543
    Thanks
    3
    Thanked 78 Times in 78 Posts
    Blog Entries
    1

    Default

    sorry i'm not very good with asp. maybe someone with better knowledge on the subject could help you out.
    [Jasme Library (Javascript Motion Effects)] My Site
    /\/\@§†ê® §©®¡þ† /\/\@|{ê®
    There are 10 kinds of people in the world, those that understand binary and those that don't.

  5. The Following User Says Thank You to Master_script_maker For This Useful Post:

    padstow (11-12-2008)

Bookmarks

Posting Permissions

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