|
EXAMPLE
Scroll vertically and you'll see the
image with text floating at the left side of this page.
1) Download
this ZIP file with
the float.js script file and unzip into the appropriate directory.
2) Insert this HTML code anywhere inside
the <BODY> section of the page.
3) Define the top and the left position of the
image/text on the page in this section of the .js
script file:
// modify top position
var IMGH= 10;
// modify left position
us.style.left = 6;
4) Define the path to the script file in the <BODY>
section:
<SCRIPT src="script_files/float.js"></SCRIPT>
|