Back Link: As An Image

The back link script can also create a back link using an image. Set the type property to image and the src property to the source for the image. You can also optionally set the width and height properties. The text property is used as the alternate text for the image. For example, this code creates a back link image with a source of getback.gif, text of get back, width of 100 and height of 17.

<SCRIPT TYPE="text/javascript">
<!--
var gb = new backlink();
gb.type = "image";
gb.src = "getback.gif";
gb.text = "get back";
gb.width = 100;
gb.height = 17;
gb.write();
//-->
</SCRIPT>

get back





About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.