Fronda - Archiwum - Nr 06
TABLE.main {}
TR.row {}
TD.cell {}
DIV.block {}
DIV.paragraph {}
.font0 { font:7.5pt "Arial", sans-serif; }
.font1 { font:8.0pt "Arial", sans-serif; }
#divMenu {font-family:sans-serif; font-size:10pt}
#divMenu a{color:black;}
#divMenu a:visited{color:#333333;}
#divMenu a:hover{color:red;}
self.name = 'dol'
/********************************************************************************
Submitted with modifications by Jack Routledge (http://fastway.to/compute) to DynamicDrive.com
Copyright (C) 1999 Thomas Brattli @ www.bratta.com
This script is made by and copyrighted to Thomas Brattli
This may be used freely as long as this msg is intact!
This script has been featured on http://www.dynamicdrive.com
********************************************************************************
Browsercheck:*/
ie=document.all?1:0
n=document.layers?1:0
ns6=document.getElementById&&!document.all?1:0
var ltop;
var tim=0;
//Object constructor
function makeMenu(obj,nest){
nest=(!nest) ? '':'document.'+nest+'.'
if (n) this.css=eval(nest+'document.'+obj)
else if (ns6) this.css=document.getElementById(obj).style
else if (ie) this.css=eval(obj+'.style')
this.state=1
this.go=0
if (n) this.width=this.css.document.width
else if (ns6) this.width=document.getElementById(obj).offsetWidth
else if (ie) this.width=eval(obj+'.offsetWidth')
// this.left=b_getleft
this.obj = obj + "Object"; eval(this.obj + "=this")
}
//Get's the top position.
function b_getleft(){
if (n||ns6){ gleft=parseInt(this.css.left)}
else if (ie){ gleft=eval(this.css.pixelLeft)}
return gleft;
}
/********************************************************************************
Checking if the page is scrolled, if it is move the menu after
********************************************************************************/
function checkScrolled(){
if(!oMenu.go)
{
oMenu.css.top=eval(scrolled)+parseInt(ltop)
oMenu.css.left=eval(scrollex)+parseInt(llef)
}
if(n||ns6) setTimeout('checkScrolled()',30)
}
/********************************************************************************
Inits the page, makes the menu object, moves it to the right place,
show it
********************************************************************************/
function menuInit(){
oMenu=new makeMenu('divMenu')
if (n||ns6)
{
scrolled="window.pageYOffset"
ltop=oMenu.css.top
scrollex="window.pageXOffset"
llef=oMenu.css.left
}
else if (ie)
{
scrolled="document.body.scrollTop"
ltop=oMenu.css.pixelTop
scrollex="document.body.scrollLeft"
llef=oMenu.css.pixelLeft
}
var sz = document.body.clientWidth;
if(!sz) sz = window.innerWidth-20;
oMenu.css.width=sz
oMenu.css.visibility='visible'
ie?window.onscroll=checkScrolled:checkScrolled();
}
//Initing menu on pageload
window.onload=menuInit;
372
FRONDA PRZEDWIOŚNIE 1996
FRONDA PRZEDWIOŚNIE 1996
373
« Poprzednie [Spis treści] Następne »
_uacct = "UA-3447492-1";
urchinTracker();
Wyszukiwarka
Podobne podstrony:
373 37710 (372)373 376372,17,artykul373 374373 376 2y6ernrrl7llggqrqhkgl7gq4x4c2niirkuh5yq(Ebook Free Energy) Creative Science & Research Tesla Coil (#372) (2003)362 372371 373371 373z;nuta;szalenstwa,kategoria,372więcej podobnych podstron