See below:

--- Dev <[EMAIL PROTECTED]> wrote:
> 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'))

Change:
var lyrAdminErrorLogin=parent.dynapi.document.addChild

to:

parent.lyrAdminErrorLogin=parent.dynapi.document.addChild


--
Raymond Irving
 
> 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
> 
> 
>
-------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of
> TotalView, The best
> thread debugger on the planet. Designed with thread
> debugging features
> you've never dreamed of, try TotalView 6 free at
> www.etnus.com.
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/dynapi-help


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to