From: Patricia F. <tec...@ca...> - 2001-01-17 17:23:55
Attachments:
Pruebas.zip
|
I've been looking through the mailing lists and wasn't able to find an answer to my problem, so after trying around for three intensive days I'm posting it along with the example files in a Zip file (Pruebas.zip): I'm working with the new DynApi. I've a frames construction as follows: frame "margen" contains a page called margenJS.htm which contains all of the api libs and the DynApi.onload function. I've added a folder called "aries" into the dynacore folder, which contains all of my code, so I can use the include() method for those files also. Into that folder there are two files beeing used: menuAries.js: contains the DynDocument construction for the frames, and the corePopUp construction. frame "datos1"contains a page called margen_datos1.htm, which contanis an array of elements, which are the items that have to be added to the corePopUp. frame "estado" is the frame where the corePopUp is added. THE PROBLEM Everything works good as long as I don't load a different page into the frame "estado". When this is done, it won't send an error, but the CorePuoUp won't pop. So I tried to execute the addChild(myPopUp1) method again when a new page is loaded, and i got the message: "Attempt to add "'+child.id+'" to the document "'+this.dyndoc.id+'" failed.\n\nThe DynLayer already exists in that DynDocument.\n\nYou must remove the dynlayer from its parent first." So, I wonder why if everything exists, it doesn't show. Also I was writing alerts everywhere, and it will execute, the CorePopUp is set to visible, the z-index, etc. but it doesn't show....where the ! is it poping up?!!!!!!!!!!!!!!!!!! ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- --------- another problem I had (by the way!) When I started using this Construction in the beginnning, everything was the same it is now, but the corePopUp coonstruction. Now I'm puting all the "myPopUp1.add()" sentences into a function called cargaMenu(). I'm calling that function from the DynApi.onload= function(){}. I made it this way, because otherwise, the myPopUp1.add() method was working only the first time I executed it after the computer was started, and never again! ONLY after the computer was restarted, if i restarted only the user session it wouldn't work neither. The corePopUp was working, but it wasn't adding the items. P.D.: I'm a designer who is working with JavaScript since a couple of months, so I'm not that skilled yet. Thanks a lot. Pat |
From: Patricia F. <tec...@ca...> - 2001-01-17 16:52:21
Attachments:
Pruebas.zip
|
I've been looking through the mailing lists and wasn't able to find an answer to my problem, so after trying around for three intensive days I'm posting it along with the example files in a Zip file (Pruebas.zip): I'm working with the new DynApi. I've a frames construction as follows: frame "margen" contains a page called margenJS.htm which contains all of the api libs and the DynApi.onload function. I've added a folder called "aries" into the dynacore folder, which contains all of my code, so I can use the include() method for those files also. Into that folder there are two files beeing used: menuAries.js: contains the DynDocument construction for the frames, and the corePopUp construction. frame "datos1"contains a page called margen_datos1.htm, which contanis an array of elements, which are the items that have to be added to the corePopUp. frame "estado" is the frame where the corePopUp is added. THE PROBLEM Everything works good as long as I don't load a different page into the frame "estado". When this is done, it won't send an error, but the CorePuoUp won't pop. So I tried to execute the addChild(myPopUp1) method again when a new page is loaded, and i got the message: "Attempt to add "'+child.id+'" to the document "'+this.dyndoc.id+'" failed.\n\nThe DynLayer already exists in that DynDocument.\n\nYou must remove the dynlayer from its parent first." So, I wonder why if everything exists, it doesn't show. Also I was writing alerts everywhere, and it will execute, the CorePopUp is set to visible, the z-index, etc. but it doesn't show....where the ! is it poping up?!!!!!!!!!!!!!!!!!! ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- --------- another problem I had (by the way!) When I started using this Construction in the beginnning, everything was the same it is now, but the corePopUp coonstruction. Now I'm puting all the "myPopUp1.add()" sentences into a function called cargaMenu(). I'm calling that function from the DynApi.onload= function(){}. I made it this way, because otherwise, the myPopUp1.add() method was working only the first time I executed it after the computer was started, and never again! ONLY after the computer was restarted, if i restarted only the user session it wouldn't work neither. The corePopUp was working, but it wasn't adding the items. P.D.: I'm a designer who is working with JavaScript since a couple of months, so I'm not that skilled yet. Thanks a lot. Pat |
From: Raides J. <ra...@te...> - 2001-01-19 09:22:31
|
Esto es sólo una pequeña indicación sobre "estilo"... En "margenJS.htm", línea 34, en lugar de --> debe decir: //--> para evitar un error en Netscape 4.x que puede hacer que el código no se ejecute correctamente. Sobre el otro problema, no tengo tiempo para estudiarlo ... :( Raides J. |
From: <os...@wh...> - 2001-01-19 11:14:58
|
I translate this. (more o less) XD ----- Original Message ----- From: "Raides J." <ra...@te...> To: <dyn...@li...> Sent: Friday, January 19, 2001 10:22 AM Subject: Re: [Dynapi-Dev] RV: corePopUp & Frames (forgot the attach in previous mail) > Esto es sólo una pequeña indicación sobre "estilo"... This is only a little tip about "style"... > En "margenJS.htm", línea 34, en lugar de in "margenJS.htm",line 34, instead of > --> --> > debe decir: it has to say: > //--> //--> > para evitar un error en Netscape 4.x que puede hacer que el código no se ejecute to avoid an error in NS 4.x. that can stop the code process > correctamente. > > Sobre el otro problema, no tengo tiempo para estudiarlo ... :( About the other problem, I have no time to study it.... :( > > Raides J. > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > |
From: Patricia F. <tec...@ca...> - 2001-01-19 12:08:45
|
muchas gracias por mirarlo y responder. Esque empiezo con todo esto y mi cabeza ha cuadriplucado su tamaño...todavía errores tontos de esos. eso, que gracias.pat -----Mensaje original----- De: dyn...@li... [mailto:dyn...@li...]En nombre de Raides J. Enviado el: viernes 19 de enero de 2001 10:22 Para: dyn...@li... Asunto: Re: [Dynapi-Dev] RV: corePopUp & Frames (forgot the attach in previous mail) Esto es sólo una pequeña indicación sobre "estilo"... En "margenJS.htm", línea 34, en lugar de --> debe decir: //--> para evitar un error en Netscape 4.x que puede hacer que el código no se ejecute correctamente. Sobre el otro problema, no tengo tiempo para estudiarlo ... :( Raides J. |
From: Doug M. <do...@cr...> - 2001-01-17 17:28:02
|
It would seem that we do indeed have a lady in the house.. :-) Doug Melvin ----- Original Message ----- From: "Patricia Fesser" <tec...@ca...> To: <dyn...@li...> Sent: Wednesday, January 17, 2001 9:21 AM Subject: [Dynapi-Dev] RV: corePopUp & Frames (forgot the attach in previous mail) > > > > > I've been looking through the mailing lists and wasn't able to find an > answer to my problem, so after trying around for three intensive days I'm > posting it along with the example files in a Zip file (Pruebas.zip): > I'm working with the new DynApi. I've a frames construction as follows: > frame "margen" contains a page called margenJS.htm which contains all of the > api libs and the DynApi.onload function. I've added a folder called "aries" > into the dynacore folder, which contains all of my code, so I can use the > include() method for those files also. Into that folder there are two files > beeing used: > menuAries.js: contains the DynDocument construction for the frames, and the > corePopUp construction. > frame "datos1"contains a page called margen_datos1.htm, which contanis an > array of elements, which are the items that have to be added to the > corePopUp. > frame "estado" is the frame where the corePopUp is added. > THE PROBLEM > Everything works good as long as I don't load a different page into the > frame "estado". When this is done, it won't send an error, but the CorePuoUp > won't pop. So I tried to execute the addChild(myPopUp1) method again when a > new page is loaded, and i got the message: > "Attempt to add "'+child.id+'" to the document "'+this.dyndoc.id+'" > failed.\n\nThe DynLayer already exists in that DynDocument.\n\nYou must > remove the dynlayer from its parent first." > So, I wonder why if everything exists, it doesn't show. Also I was writing > alerts everywhere, and it will execute, the CorePopUp is set to visible, the > z-index, etc. but it doesn't show....where the ! is it poping > up?!!!!!!!!!!!!!!!!!! > -------------------------------------------------------------------------- -- > -------------------------------------------------------------------------- -- > --------- > another problem I had > (by the way!) > When I started using this Construction in the beginnning, everything was the > same it is now, but the corePopUp coonstruction. > Now I'm puting all the "myPopUp1.add()" sentences into a function called > cargaMenu(). I'm calling that function from the DynApi.onload= function(){}. > I made it this way, because otherwise, the myPopUp1.add() method was working > only the first time I executed it after the computer was started, and never > again! ONLY after the computer was restarted, if i restarted only the user > session it wouldn't work neither. The corePopUp was working, but it wasn't > adding the items. > P.D.: I'm a designer who is working with JavaScript since a couple of > months, so I'm not that skilled yet. > Thanks a lot. > Pat > > |