особенность в том щто бесплатно

Модераторы: ELMA, Laur-Balaur
Код: Выделить всё
<SCRIPT>
ns4 = document.layers && true;
msie = document.all && true;
function init() {
center();
}
function getPageWidth() {
if (ns4)
return window.innerWidth;
else
return document.body.clientWidth;
}
function move(e, x) {
if (msie)
document.all[e].style.left = x;
else if (ns4)
document.layers[e].left = x;
else if (document.getElementById)
document.getElementById(e).style.left = x;
}
function center() {
move('e0', Math.max(getPageWidth() - 840, 0) / 2 + 580);
move('e1', Math.max(getPageWidth() - 840, 0) / 2 + 159);
move('e2', Math.max(getPageWidth() - 840, 0) / 2 + 609);
move('e3', Math.max(getPageWidth() - 840, 0) / 2 + 148);
move('e4', Math.max(getPageWidth() - 840, 0) / 2 + 5);
move('e5', Math.max(getPageWidth() - 840, 0) / 2 + 31);
}
</SCRIPT>
Добавить в избранное
Код: Выделить всё
<SCRIPT language=JavaScript src="files/script_site.js"
type=text/javascript></SCRIPT>
ximX писал(а):Faithless,
а что пробовать то?
Код: Выделить всё
посмотри код