Learn HTML Code Tutorial Reference Guide

Back Link: Setting the Text

By default the back link script creates a link with the text Go Back. You can set your own text by setting the text property of the backlink object. For example, the following script creates a back link with the text Get Back, Jack. Note that the text setting must be set before the write() command:

<SCRIPT TYPE="text/javascript">
<!--
var gb = new backlink();
gb.text = "Get Back, Jack";
gb.write();
//-->
</SCRIPT>

Which gives us this link: .


 
HOSTING / DESIGN

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   Privacy Policy   |   About
Copyright ©1997-2002 Idocs and ©2002-2011 HTML Code Tutorial