Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Back Link: As a Button

By default the back link script creates a hyperlink. If you prefer you can create a back button instead, set the type property of your backlink object to button, like this:

<SCRIPT TYPE="text/javascript">
<!--
var gb = new backlink();
gb.type = "button";
gb.write();
//-->
</SCRIPT>

which gives us this button:

Be sure to set the type property before calling the write() method.

By default the button type of back link writes out <FORM> and </FORM> tags. If you use this type of back link inside a form then set the form property to false before calling write():

<SCRIPT TYPE="text/javascript">
<!--
var gb = new backlink();
gb.type = "button";
gb.form=false;
gb.write();
//-->
</SCRIPT>

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire