Re: Custom Dialog Box

  •  10-22-2007, 1:01 PM

    Re: Custom Dialog Box

    I guess I'm confused by the editor argument in the Custom Button code:
     
    var newwin=editor.ShowDialog(null,"/modules/manage/addStandalonePageLink.asp?dpt=<%=Request.QueryString("dpt")%>&_rand="+new Date().getTime(),editor,"dialogWidth:292px;dialogHeight:175px");
     
    What good does this do me in the dilog box?
    I thought it was a pointer -> to the editor object in the parent window????
    This is confusing me because I see (from the online example of a custom dialong box code) that a function scoped variable of the same name is declared:
     
    function button_click() {
        var editor = Window_GetDialogArguments(window);
        ....
     
    Can I make use of the editor argument in my custom dialog box?
     
     

    Work Hard! Play Harder!!
View Complete Thread