The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.

Create a free forum like this one.

Pop-out problem

View previous topic View next topic Go down

Pop-out problem

Post by Przmus on July 13th 2011, 9:23 pm

To my forum:
I added some pop-out elements.

For example:
<div id="EE2Glitchers_ret_cont" onmouseout="" onclick="" onmousever="" style="border-top: 1px solid rgb(148, 11, 11); border-left: 1px solid rgb(148, 11, 11); border-right: 1px solid rgb(148, 11, 11); z-index: 10000; -moz-border-radius: 20px 0pt 0pt 0pt; background-color: #000000; position: fixed; bottom: 0pt; right: 104pt; border-color: #ff0000;"><div onclick="(document.getElementById('EE2Glitchers_ret').style.display=='block')?my_setcookie('EE2Glitchers_ret','0',0,0):my_setcookie('EE2Glitchers_ret','1',1,0); $('#EE2Glitchers_ret').toggle('normal');" style="font-size: 15px; font-family: 'trebuchet ms',serif; cursor: pointer; padding: 3px;"><span id="EE2Glitchers_ret_online" style="color: red;">EE2Glitchers</span></div><iframe scrolling="auto" frameborder="1" onload="if(cb_new) { cb_start(); cb_new=0; }" style="width: 1250px; height: 600px; display: none;" marginheight="0" marginwidth="0" name="EE2Glitchers_ret" id="EE2Glitchers_ret" src=""></iframe></div>

Problem is, that it's 5 elements, and everything is loading on every page - so site working slower.
Is any way how to change this script, that src will load only when I maximize one of pop-out elements?

I'm not sure, but I think it's something with:
onload="if(cb_new) { cb_start(); cb_new=0; }
I need to change it that links will load only when you need them.

Sorry for bad english


Male Posts : 60
Reputation : 2
Language : English

Back to top Go down

View previous topic View next topic Back to top

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