Sure. No making fun though, I have my childish moments like anyone else.
http://Y3KUniverse.Proboards.com
- Warning, due to problems, the code is loading slow right now. Scrubbing it in pieces as we speak, so...yeah.
Edit: Actually, it's server side. So my code is fine, besides the lack of being able to toggle the reloading script.
Updated code (Still not working) - By the way, if it's something really stupid, I apologize, I don't know JavaScript well at all.
-------------------------------------
Code:
</script>
<script>function toggle(id){
var element = document.getElementById(id);
element.style.display = (element.style.display == 'block') ? "none" : "block";
}
</script>
<tr><td width="43.5%" valign="top" class="windowbg">
<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div>
<div id="refresh" style="display:block"><script type=text/javascript>
function refresh()
{
document.all.cboxmain.src = document.all.cboxmain.src;
}
window.setInterval("refresh()",7500);
</script></div>
<iframe name='cboxmain' frameborder="0" width="300" height="100" src="http://www5.cbox.ws/box/?boxid=407802&boxtag=7124&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#FFFFFF 1px solid;" id="cboxmain"></iframe><script>
</script></div>
<div><iframe frameborder="0" width="300" height="75" src="http://www5.cbox.ws/box/?boxid=407802&boxtag=7124&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#FFFFFF 1px solid;border-top:0px" id="cboxform"></iframe></div>
</div>
<!-- END CBOX -->
<script type="text/javascript">
|<a href="javascript: toggle(id);">Test Refresh</a></Center>
Note: This isn't all the code, the tables and stuff specific to the site have been stripped. If you need those, please let me know.
Bookmarks