![]() |
|
||||||||||
|
|||||||
|
|
« Предыдущая тема | Следующая тема » |
| Опции темы | Опции просмотра |
|
![]() |
|
|||||
|
Народ, подскажите, почему возвращается 0 (zero) из offsetTop и offsetLeft в НН6?
----------------------------------------------------------------------------------- <script language="javascript" type="text/javascript"> if (document.layers) var ns=true; if (document.all) var ie=true; if (!ie&&document.getElementById){ns=false; var n6=true;} top1 = 0; left1 = 0; if(n6) {document.write('<DIV ID="one" style="position:absolute; top:100; left:200">hello </DIV>');}top1 = document.getElementById("one").offsetTop; left1 = document.getElementById("one").offsetLeft; document.write(top1); document.write(left1); </script> ----------------------------------------------------------------------------------
__________________
crz. The LuniZz |
|
|||||
|
Один в один скопировал и всё ОК (НН6.1)
__________________
Two beer or not two beer?... |
|
|||||
|
Каличная версия шкафа, наверное
((
__________________
crz. The LuniZz |
|
|||||
|
сабж
__________________
crz. The LuniZz |
![]() |
Часовой пояс GMT +4, время: 14:38. |
|
|
« Предыдущая тема | Следующая тема » |
|
|