SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: changing images

  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2001
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    changing images

    hi
    how do you have the images change in an image input type on a form when a radio button is selected the radio btns work fine i can figure out how to display the differant images ive done it in vb but cant figure out jscript

    thanks chris

    sorry if thats not too clear ill try again

    is it possible that when a user selects a certain radio button the image that was being displayed in an image box is changed eg . you re offering a customer to choose between products like cars and bikes ..when the radio btn for cars is clicked a pic of a car appears and visa versa

    thanks chris
    Last edited by chrissss; Dec 23, 2001 at 22:26.

  2. #2
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,810
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I think you may need to describe what you are trying to achieve again - I could be being thick but I couldn't suss out what you are on about after reading the post several times!

    H
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS

  3. #3
    Xbox why have you forsaken me? moospot's Avatar
    Join Date
    Feb 2001
    Location
    Clearwater, FL
    Posts
    3,615
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think what chrisss means is that there is a set of rasio buttons and depending on which one is clicked, the appropriate image is displayed.

    I have a script that works like that with hyperlinks, but not radio buttons. I looked everywhere on the net and couldn't find anything. If you want I can post my code with the hyperlink image swap.


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
  •