I added a new method inside Window class, which appends javascirpt HTML
Object

CODE to add:

setHTMLObjContent: function(htmlobj) {
        
  this.content.appendChild(htmlobj)
        
},


Sample Implementation :

var div = document.createElement("div");

       div.innerHTML = strMessage;

       var btnOk = document.createElement("img");
       btnOk.src = 'buttongif.gif';
       btnOk.className = 'button';

       div.appendChild(btnOk);


       this.objWinAlert.setHTMLObjContent(div);


Jan

--
Lino "Jan" Telera

Obey your master!
La verità nuoce solo agli incompetenti!
----------------------------------------------------
My home page: http://www.linoproject.net
My Google Group: http://groups.google.com/group/ajax-e-dom-italia/
My Blog: http://frontiereweb.blogspot.com/
My ICQ UIN      : 81834420
Jabber              : janosh(at)jabber.org
SKYPE              : linotelera
----------------------------------------------------
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to