Pop-out problem

Go down

Pop-out problem

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

To my forum: http://easywinclan.forummotion.com/
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="http://ee2glitchers.ace.st/"></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

Back to top

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