dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: possible display different image?

  1. #1
    Join Date
    Aug 2009
    Posts
    6

    possible display different image?

    Hi. I not sure whether this is under javascript problem.

    for example:
    I've a page with an image (assume this page name is display.html)
    When userA arrive this page with a link A, the image will display image A.
    When userB arrive this page with a link B, the image will display image B.
    When userC arrive this page with a link C, the image will display image C.

    i not sure how to set the parameter behind the link.. anyone can help me plz?

  2. #2
    Join Date
    Dec 2010
    Posts
    21
    Are you referring to one or multiple pages? Maybe you can try if & else statements?

    This might help:
    http://www.w3schools.com/js/js_if_else.asp
    Last edited by 7kelt; 12-09-2010 at 11:10 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles