Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you click on a graphic and change the page? 1

Status
Not open for further replies.

meeble

Programmer
Sep 24, 2002
137
GB
Hello. I have a graphic on a page. I want to use onClick so that when you click it the page changes to another page.

How do you do this please?

James
 
<img src='whatever.jpg' onclick='document.location="somepage.html"'>

-kaht

banghead.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top