iFrame bug, works perfectly but has a problem

Go down

iFrame bug, works perfectly but has a problem

Post by Neoroify on July 8th 2011, 7:40 am

Well, It really works very good, But as I mentioned in the description.. I open the chatbox which is in iframe it opens normally and perfectly, when I close it, it closes normally and perfectly.. but when I open it again after I closed it, It goes out of range. and I must refresh the page so it would work again.

This is not only with me but my members aswell.

Forum link: www.n-tbotb.net or www.neoroify.forumotion.eu

P.S.: I am using the iframe code which was included somewhere in this forum by an official staff (I think so) and I edited it to my needs..


<div id="chatbox_ret_cont" onmouseout="stopINT()" onclick="stopINT()" onmousever="stopINT()" style="border-top: 7px solid rgb(148, 11, 11); border-left: 7px solid rgb(148, 11, 11); z-index: 10000; -moz-border-radius: 20px 0pt 0pt 0pt; background-color: black; position: fixed; bottom: 0pt; right: 0pt; border-color: cyan;"><div onclick="(document.getElementById('chatbox_ret').style.display=='block')?my_setcookie('chatbox_ret','0',0,0):my_setcookie('chatbox_ret','1',1,0); $('#chatbox_ret').toggle('normal');" style="font-size: 12px; font-family: 'trebuchet ms',serif; cursor: pointer; padding: 3px;"><center><span id="chatbox_ret_online" style="color: black);">Chat</span><span id="chatbox_ret_offline" style="color: cyan;">Box</span></center></div><iframe onload="if(cb_new) { cb_start(); cb_new=0; }" style="width: 540px; height: 405px; display: none;" marginheight="0" marginwidth="0" name="chatbox_ret" id="chatbox_ret" src="/h13-xatchat" scrolling="no" frameborder="0"></iframe></div>


Posts : 99
Reputation : 0
Language : English

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum