From: Dev <de...@ti...> - 2003-06-11 08:49:19
|
Hi, sorry for sending a blank mail before this... I'm having a big problem, and i really can get it to work or understand how to get it to work after hours of trying... I'm loading a page (post) with the ioElement and in the file that is called i write the following: var lyrAdminErrorLogin=parent.dynapi.document.addChild(new parent.DynLayer('Error<br><a href="javascript:lyrAdminErrorLogin.setVisible(false);">OK</a>',(parent.dynapi.document.getWidth()-100)/2,(parent.dynapi.document.getHeight()-35)/2,100,35,'#496481')) The Layer shows up in in my page(parent) as intended but somehow i cant call the object from the parent page with the href:javascript:lyrAdminErrorLogin.setVisible(false); how do i make this work? Or is the only option to make the file return a variable with all the actions to be done and then do a eval on it? Thanks in advance. Daniel |