Bak2Top (Strict) Example Page

[Bak2Top homepage]

This example page has the DOCTYPE set to:

<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">

This version of the script also be used with no DOCTYPE setting.

 

Configuration

To modify the position and HTML of the bak2top link edit the following line in the bak2top_strict.js file:

var b2tx=80,b2ty=50,b2th='<nobr>Back To Top</nobr>';

b2tx=80  ::  Sets the horizontal position

b2ty=50  ::  Sets the vertical position

b2th='<nobr>Back To Top</nobr>'  ::  Sets the HTML to be displayed

 

Style

The bak2top link has a style class embedded and this can be modified by adding the following example to your cascading style sheet:

<style>
   .bak2top {
      font-family: Arial;
      font-size: 10px;
      font-weight: bold;
      color: #0000FF;
      background-color: #CCCCFF;
      border: 1px solid;
      border-color: #0000FF;
      padding: 2px;
   }
</style>

 

Installation

To add the script to your page inset the following HTML within the <BODY> </BODY> tags on your page:

<script language="JavaScript" src="pathto/bak2top.js"></script>

modify "pathto/bak2top.js" to suit the location of the script within your site.

 


junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

junk

MaxxBlade's JavaScripts 2004