Joined: 25 Aug 2003 Posts: 1842 Location: Zagreb, Hrvatska
Posted: 23.02.2004 00:11 Post subject:
mozilla ne podrzava document.all model...
probaj ovako doci do txtObj i imgObj, tj. dodaj to umjesto one svoje dvije linije (ovako iz glave nabrzaka):
Code:
if (document.getElementById && document.getElementById('t_' + katID) != null)
var txtObj = document.getElementById('t_' + katID);
var imgObj = document.getElementById('i_' + katID);
} else if (document.layers && document.layers['t_' + katID] != null) {
var txtObj = document.layers['t_' + katID];
var imgObj = document.layers['i_' + katID];
} else if (document.all) {
var txtObj = document.all('t_' + katID);
var imgObj = document.all('i_' + katID);
}
Doduse, nisam probao, jer nemam kompletnu stranicu i neda mi se slagat testni page kompletan, ali mozda ce raditi (teoretski trebalo bi raditi u nn4, ie 4, 5, 6 i mozilli)...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum