Results 1 to 1 of 1

Thread: Chat application

  1. #1
    Join Date
    Jun 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Chat application

    Hi all ,
    I am doing chat appliation using ejaberd and JWchat. I load chat window in iframe just as in orkut. It works fine in FireFox but it create lot of problems in IE.Can u please give any suggestions or site.

    Code:
    if (document.createElement && (iframe =
    		document.createElement('iframe'))) {
    			iframe.name = iframe.id = user.jid;
    			iframe.width = "250px";
    			iframe.height = "234px";
    			iframe.frameborder = 0;
    			iframe.style.border = "none";
    			iframe.style.allowtransparency = "true";
    			iframe.style.margin = "1px";
    			parent.top.chat_windows = document.getElementById('chat_windows');
    			chat_windows.appendChild(iframe);
    			
    		}
    		user.chatW = open("/1/modules/Chat/jwchat/chat.html?jid="+escape(jid),user.jid,"width=258,height=260,resizable=yes");
    Am trying to load above url in iframe but not working in IE .

    Thanks in advance
    Last edited by Snookerman; 06-23-2009 at 07:47 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •