The information in this article applies to:
SUMMARYThis article provides sample HTML code that inserts a command button, or a hyperlink, on a Web page that will return you to the previous document when you click the link or button. MORE INFORMATIONMicrosoft Technical Support will not resolve problems produced by editing the HTML that FrontPage generates. This HTML Code sample is provided as a convenience for authors seeking to extend the capabilities of FrontPage. For more information about writing HTML, please see the following Microsoft Web site: http://www.microsoft.com/workshop/c-frame.htm#/workshop/author/default.asp WARNING: ANY USE BY YOU OF THE HTML PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this HTML "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The following HTML code adds a command button to a Web page form:HTML Code That Uses VBScript:<FORM method="POST" name="VBScript_Nav_Sample"> HTML Code That Uses JavaScript:<FORM>The following HTML code adds a hyperlink that retraces the Web browser's history: <a href="JavaScript:history.back(1)">the past</a>Note: Netscape Navigator versions 4.5 and earlier require all form elements to be contained within form tags. If you are certain your browsing audience will be using Internet Explorer, you may omit the form tags from the sample above. Netscape Navigator 2.0 and Internet Explorer 3.0 and all more recent versions of those browsers support the onClick method of the button input type. Additional query words: JavaScript Link History Back kbusage kbhowto kbprg kbcode fphtml fpscript front page
Keywords : kbdta fphtml |
Last Reviewed: January 10, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |