Gnwrizei kaneis pws mporw na kanw to ekshs?
Exw dhmiourghsei ena menu me Java kai DHTML to opoio 8elw na vrisketai se ena shmeio ths selidas mou STA8ERO enw h selida na anevokatevainei kanonika me ta bars tou explorer.To layer h h i-frame na einai floating sth selida se sta8ero shmeio pou 8a exw ka8orisei egw.Kapou eida kati antistoixo alla den 8ymamai pou!
Euxaristw
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function floatButton () {
if (document.all) {
document.all.topButton.style.pixelTop = document.body.scrollTop;
}
else if (document.layers) {
document.topButton.top = window.pageYOffset;
}
else if (document.getElementById) {
document.getElementById('topButton').style.top = window.pageYOffset + 'px';
}
}
if (document.all)
window.onscroll = floatButton;
else
setInterval ('floatButton()', 100);
function initButton () {
if (document.all) {
document.all.topButton.style.pixelLeft = document.body.clientWidth - document.all.topButton.offsetWidth;
document.all.topButton.style.visibility = 'visible';
}
else if (document.layers) {
document.topButton.left = window.innerWidth - document.topButton.clip.width - 15;
document.topButton.visibility = 'show';
}
else if (document.getElementById) {
document.getElementById('topButton').style.left = (window.innerWidth - 35) + 'px';
document.getElementById('topButton').style.visibility = 'visible';
}
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->
<BODY onLoad="initButton()">
<!-- STEP THREE: Copy this code into the BODY of your HTML document -->
<SPAN ID="topButton" STYLE="position: absolute; visibility: hidden; top: 0px;">
<A HREF="javascript: window.scrollTo(0, 0); void 0" ONMOUSEOVER="window.status = 'top'; return true;" ONMOUSEOUT="window.status = ''; return true;">Back to Top</A>
</SPAN>
anti gia rreturn bale to kodika tou menu sou
se poio shmeio tou kwdika pou mou esteiles file?
To script mou xrhsimopoiei ekswteriko *.js!
ti prepei na antikatasthsw akrivws??
Euxaristw
tip: Το γρήγορο και το καλό ποτέ δεν παν μαζί τα δυο . * F5 για νέο tip