buvo toks elementas. Dabar kitame replajuje matosi kad net be jokiu parametru kimbga. Tuoj ismeginsiu visas narsykles kiek turiu.. -- Tyro Peugeot 605 RC offraod, fun-fly "gopas" <netikras@jamailas.lt> wrote in message news:hr62g2$5mc$1@trimpas.omnitel.net... > yra toks elementas su id="body"? nors cia tik pasvarstymas :) > > "Tyro" <tyro@xxx.lt> wrote in message > news:hr60ag$1tf$1@trimpas.omnitel.net... >> Sveiki, zemiau idesiu skirpta 1:1 koki naudoju puslapyje. Prasidejo >> anomalijos - jeigu eilute funkcijoje procesikai >> >> if (divh > bodis) >> document.getElementById('copyright').style.top=divh-15+"px"; >> >> pakeiciu eilute >> >> if (divh > bodis) { >> document.getElementById('copyright').style.top=divh-15+"px"; >> } >> skirptas jau nebeveikia :-| Nesuprantu kokios nesamones prasidejo, gal >> kazka >> ne ta includinau, nors pasalinus viska niekas nepasikeicia. Skriptas >> vistiek >> nesileidzia sis tol, kol neistrinu f-jos fotochng(). Kur ka galejau >> praziureti, kad JS pradejo neveikti parasytas standartine iprasta >> sintakse? >> >> >> >> >> >> <script type="text/javascript"> >> var pictureArchive= new Array(4); >> pictureArchive[0]='media/img/pic1.jpg'; >> pictureArchive[1]='media/img/pic2.jpg'; >> pictureArchive[2]='media/img/pic3.jpg'; >> pictureArchive[3]='media/img/pic4.jpg'; >> current = 1; >> >> function procesiukai() { >> var bodis = document.getElementById('body').offsetHeight; >> var divh = document.getElementById('divh').offsetHeight+189; >> if (divh > bodis) >> document.getElementById('copyright').style.top=divh-15+"px"; >> } >> >> function fotochng() { >> alert('keiciam'); >> } >> >> >> >> </script> >> >> -- >> Tyro >> >> Peugeot 605 >> RC offraod, fun-fly >> >>