Ide o to ze v menu ktore je dole sa ma pri kurzore ukazovat "bublina",ak je kurzor nad ikonou... IE aj Opera to robia perfektne ale v FireFoxe akoby mi nenacitalo poziciu alebo...neviem no prosim o radu...
Stretli ste sa uz s problemovym "onMouseMove" alebo s kombinaciou "Move" a "Over" ktora by robi problemy vo Firefoxe? Alebo to je fakt len scriptom...
Stranka:
Kód: Vybrať všetko
http://kubiq-design.wz.cz/kontakt.htmlKód: Vybrať všetko
function mouse(e){
e = window.event;
mouseY = e.pageY || e.clientY;
mouseX = e.pageX || e.clientX;
document.getElementById("bubble").style.left = (mouseX-98)+"px";
document.getElementById("bubble").style.top = (mouseY-90)+"px";
}
function Hide(d) {
if (d == "home") {document.getElementById("img1").src = "b"+d+".png";}
if (d == "who") {document.getElementById("img3").src = "b"+d+".png";}
if (d == "pro") {document.getElementById("img4").src = "b"+d+".png";}
if (d == "kon") {document.getElementById("img2").src = "b"+d+".png";}
document.getElementById("bubble").style.display = "none";
}
function Show(d) {
help = document.getElementById("bubble");
help.style.display = "block";
t = "<img src='clear.png' height='25px'/><br/><b>";
if (d == "home") {
document.getElementById("img1").src = d+".png";
help.innerHTML = t+"Domovská stránka</b>";
}
if (d == "who") {
document.getElementById("img3").src = d+".png";
help.innerHTML = t+"Kto je KubiQ?</b>";
}
if (d == "pro") {
document.getElementById("img4").src = d+".png";
help.innerHTML = t+"Projekty</b>";
}
if (d == "kon") {
document.getElementById("img2").src = d+".png";
help.innerHTML = t+"Kontakt</b>";
}
}