Give these modifications a try - In the configuration area for the script, add this variable (highlight red):
Code:
var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var tLimit = 175 //set vertical scroll trigger point for bar's appearance/disappearance, use 0 for always visible
var verticalpos="fromtop" //enter "fromtop" or "frombottom"
Add this function (just above function staticbar):
Code:
function restrictbar(){
pageScroll=typeof pageYOffset!=='undefined'? pageYOffset : iecompattest().scrollTop
document.getElementById("topbar").style.display=pageScroll>=tLimit? "block" : "none"
setTimeout("restrictbar();", 200)
}
Add to function staticbar, like so (addition red):
Code:
function staticbar(){
if (tLimit) restrictbar();
barheight=document.getElementById("topbar").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
Bookmarks