Kannst du den mit for (temp in this.obj)
Die propertys auflisten ? Daniel -----Urspr�ngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Mansur Esmann [OM] Gesendet: Freitag, 14. M�rz 2003 11:51 An: [EMAIL PROTECTED] Betreff: [Coffeehouse] Profiskripter? Hallo, ich habe hier ein Problem, da� ich nix verstehsda: menuObj = document.all['IN' + ItemMenu.id ]; // menuObj existiert "INNavigation1" document.body.appendChild(ItemMenu.ItemElement); //ItemMenu.ItemElement ist vom Typ DIV (--> Object) mit einigen vielen Properties (id, style...) // Die ID von ItemMenu.ItemElement ist z.B. OUNavigation1 menuObj.propertyTransfer = propertyTransfer; menuObj.propertyTransfer(); // �berschreibe also die Properties von INNavigation1 mit OUNavigation1 // Und zwar so: function propertyTransfer() { this.obj = ItemMenu.ItemElement; // also INNAvigation1.obj = OUNavigation1 for (temp in this.obj) { this[temp] = this.obj[temp] //alert(temp + " " + this.obj[temp]) // Das alert gibt mit alle m�glichen } // Properties zur�ck. Auch die ich selbst } // in OUNavigation definiert habe Ich m�chte also von DIV1 (OUNavigation) zu DIV2 (INNavigation) alle Properties �bertragen. Ich kriege aber den Fehler: "Das Objekt unterst�tzt diese Aktion nicht"! Kann mir da vielleicht wer helfen? Mansur ~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United Planet~~~~~~~~~~~~~~~~~ Kaffeepause im United Planet Communityserver ... http://www.intrexx.com/communityserver _______________________________________________ Coffeehouse mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/coffeehouse ~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United Planet~~~~~~~~~~~~~~~~~ Kaffeepause im United Planet Communityserver ... http://www.intrexx.com/communityserver _______________________________________________ Coffeehouse mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/coffeehouse
