View Single Post
Old 12-19-2010, 09:08 AM   PM User | #2
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,812
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
Yes. All you're doing on the images, with javascript, is changing the src attribute of the large image. In a similar way you can change the content of your <p> tag (the innerHTML). Have a look here for an introduction.
SB65 is offline   Reply With Quote