first commit
This commit is contained in:
39
stara/pod kopiarki/develop/ineo 161_pliki/develop.js
Normal file
39
stara/pod kopiarki/develop/ineo 161_pliki/develop.js
Normal file
@@ -0,0 +1,39 @@
|
||||
sfHover = function() {
|
||||
if(document.getElementById('nav') != null){
|
||||
var sfEls = document.getElementById('nav').getElementsByTagName("LI");
|
||||
for (var i=0; i<sfEls.length; i++) {
|
||||
sfEls[i].onmouseover=function() {
|
||||
this.className+=" sfhover";
|
||||
}
|
||||
sfEls[i].onmouseout=function() {
|
||||
this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (window.attachEvent) window.attachEvent("onload", sfHover);
|
||||
|
||||
|
||||
lfHover = function() {
|
||||
if(document.getElementById('navlist') != null){
|
||||
|
||||
var lfEls = document.getElementById('navlist').getElementsByTagName("LI");
|
||||
for (var i=0; i<lfEls.length; i++) {
|
||||
lfEls[i].onmouseover=function() {
|
||||
this.className+=" lfhover";
|
||||
}
|
||||
lfEls[i].onmouseout=function() {
|
||||
this.className=this.className.replace(new RegExp(" lfhover\\b"), "");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (window.attachEvent) window.attachEvent("onload", lfHover);
|
||||
|
||||
|
||||
function popup(name,width,height,directories,toolbar,location,menubar,scrollbars,status,resizable,dependent,fullscreen)
|
||||
{
|
||||
var einstellungen;
|
||||
einstellungen="width="+ width +",height="+ height +",directories=" + directories +",toolbar="+ toolbar +",location="+ location +",menubar="+ menubar +",scrollbars="+ scrollbars +",status="+ status +",resizable="+ resizable +",dependent="+ dependent +",fullscreen="+ fullscreen;
|
||||
window.open('',name,einstellungen);
|
||||
}
|
||||
Reference in New Issue
Block a user