Jump to content

Help with CLick Event in Pictures !!

- - - - -

  • Please log in to reply
3 replies to this topic

#1
Paulo_Jorge

Paulo_Jorge

    Learning Programmer

  • Members
  • PipPipPip
  • 54 posts
HI . I searched and I hadn't find anything good for this problem !!

I have 5 images in my website (horizontally) !! And I have other in a frame bellow !!

What I want is : when someone clicks in of the 5 pictures , the clicked picture appears in the frame bellow (change the older image) ??

Any ideas ?? Thanks!!

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
What if you change the class of the div below, and have the background image of the div be based on the class.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Paulo_Jorge

Paulo_Jorge

    Learning Programmer

  • Members
  • PipPipPip
  • 54 posts
How can I do that ?? An example would be great for me !! For a better understanding !! Thanks !!

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
javascript set class at DuckDuckGo
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users