brodjah
05-17-2009, 03:51 PM
Basically I am designing a simple shop website. On my page I would like to have buttons that as used as anchors to link to other parts of the SAME page.
I know I can use buttons using javascript to go to different pages using...
<input type="button" value="Go To Checkout" onclick="location.href =
'URL goes here';" />
However I would now like to make buttons that link from the button to a sertain point on the same page, in this case, make a "view my basket" button go to where the basket is on the same page but can't seem to figure out how.
Any ideas?
Thanks,
Mike
I know I can use buttons using javascript to go to different pages using...
<input type="button" value="Go To Checkout" onclick="location.href =
'URL goes here';" />
However I would now like to make buttons that link from the button to a sertain point on the same page, in this case, make a "view my basket" button go to where the basket is on the same page but can't seem to figure out how.
Any ideas?
Thanks,
Mike