how to link a picture to another page by clicking on it?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
zealane
Forum Newbie
Posts: 4
Joined: Wed May 12, 2004 12:03 pm

how to link a picture to another page by clicking on it?

Post by zealane »

Do you know how to link two pages by clicking at a picture that can be displayed in another page in a bigger size?
Thank you.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Moved to client-side.
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

they are called thumbnails, smaller one is anyway :P.

Code: Select all

<a href="path/to/page/with/larger/image.html"><img src="path/to/smaller/image.ext"></a>
you might wanna get frontpage or dreamwaver, but if you want to learn html (which is needed to script php), then carry on with notepad or whatever you have :).
Post Reply