Results 1 to 4 of 4

Thread: Netscape IMG change on click

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Posts
    67

    Post

    I have have an image and i want it to change for another
    one when i click on it.

    How can i do that so it work in both
    Internet Explorer and
    Netscape
    If possible please provide codes.
    Process by example is the best way to learn.

  2. #2
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    doesn't


    function changeimg() {
    document.ImageName.Src = "dffh.gif"
    }


    <a href = "JavaScript:changeimg()">sdafjkl</a>

    work?
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Posts
    67

    Post Doesn't work

    No it doesn't work with this code
    If possible please provide codes.
    Process by example is the best way to learn.

  4. #4
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    check out this web page it uses mouse overs as well as clicks.



    http://www.richardsonsicecream.com/golfcountry.html
    Kurt Simons
    [I know I'm a hack but my clients don't!]

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