The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

"Pop-Out Chat Box" - Question

Go down

"Pop-Out Chat Box" - Question Empty "Pop-Out Chat Box" - Question

Post by Przmus July 10th 2011, 7:04 am

Hello.
In overall_header I use script:
Code:
<div id="chatbox_ret_cont" onmouseout="" onclick="" onmousever="" style="border-top: 1px solid rgb(148, 11, 11); border-left: 1px solid rgb(148, 11, 11); z-index: 10000; -moz-border-radius: 20px 0pt 0pt 0pt; background-color: #000000; position: fixed; bottom: 0pt; right: 0pt; border-color: #ff0000;"><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: 20px; font-family: 'trebuchet ms',serif; cursor: pointer; padding: 3px;"><span id="chatbox_ret_online" style="color: red;">Chat</span><span id="chatbox_ret_offline" style="color: red;">Box</span></div><iframe scrolling="no" frameborder="1" onload="if(cb_new) { cb_start(); cb_new=0; }" style="width: 650px; height: 250px; display: none;" marginheight="0" marginwidth="0" name="chatbox_ret" id="chatbox_ret" src="/chatbox/index.forum"></iframe></div>
To have chatBox on all forum's pages.
Problem is that's its minimized all time, when I go to other forum's page (When I open new topic, etc). I don't want to have it maximized all the time, but would be nice to have it maximized when I go to next page, if previous page was maximized/clicked it. I don't know if I good explain... I just want to have manually "minimize", and if I don't then I want to have it maximized on next pages (Like Chat on facebook or something)

I don't know, maybe it's something with cookies?
Code:
my_setcookie('chatbox_ret','0',0,0):my_setcookie('chatbox_ret','1',1,0);

Please help.

Sorry for bad english
avatar
Przmus
Forumember

Male Posts : 60
Reputation : 2
Language : English

http://easywinclan.forummotion.com/

Back to top Go down

"Pop-Out Chat Box" - Question Empty Re: "Pop-Out Chat Box" - Question

Post by Przmus July 13th 2011, 9:26 pm

*Bump*
avatar
Przmus
Forumember

Male Posts : 60
Reputation : 2
Language : English

http://easywinclan.forummotion.com/

Back to top Go down

Back to top

- Similar topics

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