...

View Full Version : Is there any way to make a button a link with no form?



bsharif
08-01-2006, 04:00 PM
Is there any way to make a button a link with no form? Button when pressed just links to another page.

mic2100
08-01-2006, 05:42 PM
yeah this is how you do it, this one moves the entire page



<input name="button" type="button" title="Next Page" onclick="window.top.location-'Your Next Page'" value="Next Page" />


or.... if you only want the frame you r working in to change try this..



<input name="button" type="button" title="Next Frame" onclick="window.location='Next Frame'" value="Next Frame" />


Hopfully this will help you

bsharif
08-01-2006, 08:20 PM
Thanks for the information .:thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum