Form Button Hyperlinks

  • Thread starter Thread starter Cracker Jacks
  • Start date Start date
C

Cracker Jacks

Is it possible to have a form button as a
hyperlink to another page? ie; Home ect. Thank you
in advance.
 
-----Original Message-----
Is it possible to have a form button as a
hyperlink to another page? ie; Home ect. Thank you
in advance.

Sure. Just switch to HTML view and code:

<input type="button" value="Microsoft"
onclick="window.location.href='http://www.microsoft.com'">

Jim Buyens
Microsoft FrontPage MVP
(e-mail address removed)
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
Cracker Jacks said:
Thanks. How do I get it to come up in a new
window?

<input type="button" value="Microsoft"
onclick="window.open('http://www.microsoft.com','_blank');">

For more info onthe window.open method, browse
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 
Back
Top