I'm not sure what type of button you are talking about but, if it is an image, just substitute it for the text portion of a link. Here is a link from the demo:
HTML Code:
<a href="javascript:jumpto('http://www.cnn.com')">CNN.com</a> |
With an image:
HTML Code:
<a href="javascript:jumpto('http://www.cnn.com')"><img src="button.gif" border="0"></a> |
Or, if you are using an actual button:
HTML Code:
<input type="button" onclick="jumpto('http://www.cnn.com')" value="CNN.com"> |
I think it is similar with an image input:
HTML Code:
<input type="image" src="button.gif" onclick="jumpto('http://www.cnn.com')" value="CNN.com"> |
Bookmarks