form>


 

 CBox Auto Refresh
picano
Posted: Jun 14 2007, 10:57 AM


Angel's Doggy!


Group: Moderators
Posts: 630
Member No.: 3
Joined: 6-June 07



Searched around a bit on how to CBox auto refresh.... and wrote up my own test page I've been using.

CODE
<html>
<head>
</head>
<body>

<script type=text/javascript>
 function refresh()
 {
   document.all.cboxmain.src = document.all.cboxmain.src;
 }
 window.setInterval("refresh()",7500);
</script>

<center>
<!-- BEGIN CBOX - [URL=http://www.cbox.ws]http://www.cbox.ws[/URL] -->
<div align="center" id="cboxdiv">
<iframe frameborder="0" width="500" height="242" src="http://www4.cbox.ws/box/?

boxid=3265223&amp;boxtag=9742&amp;sec=main" marginheight="2" marginwidth="2" scrolling="auto"

allowtransparency="yes" name="cboxmain" style="border:#48515A 1px solid;"

id="cboxmain"></iframe><br/>
<iframe frameborder="0" width="500" height="78" src="http://www4.cbox.ws/box/?

boxid=3265223&amp;boxtag=9742&amp;sec=form" marginheight="2" marginwidth="2" scrolling="no"

allowtransparency="yes" name="cboxform" style="border:#48515A 1px solid;border-top:0px"

id="cboxform"></iframe>
</div>
<!-- END CBOX -->
</center>

</body>


All that was added to enable auto refresh was within the <script> tags. With that setting, it refreshes every 7.5 seconds


--------------------
user posted image
Top
SilentStar19
Posted: Jun 14 2007, 11:16 AM


Lost in the World


Group: Admin
Posts: 638
Member No.: 1
Joined: 6-June 07



O_o?


--------------------

user posted image

"I've been having these weird thoughts lately...like is any of this for real, or not?" ~ Sora
Top
picano
Posted: Jun 14 2007, 11:18 AM


Angel's Doggy!


Group: Moderators
Posts: 630
Member No.: 3
Joined: 6-June 07



Just a little javascript. happy.gif

(I needed to learn a bit for my Vista gadget)

So... arf... gonna try it out? happy.gif


--------------------
user posted image
Top
SilentStar19
Posted: Jun 14 2007, 11:40 AM


Lost in the World


Group: Admin
Posts: 638
Member No.: 1
Joined: 6-June 07



<script type=text/javascript> function refresh() { document.all.cboxmain.src = document.all.cboxmain.src; } window.setInterval("refresh()",7500);



--------------------

user posted image

"I've been having these weird thoughts lately...like is any of this for real, or not?" ~ Sora
Top
picano
Posted: Jun 14 2007, 11:42 AM


Angel's Doggy!


Group: Moderators
Posts: 630
Member No.: 3
Joined: 6-June 07



Hmm... guess you can't do javascript in there...

Well, I could host that on my site and give you the iframe code to that... it should work then.


--------------------
user posted image
Top
picano
Posted: Jun 14 2007, 11:46 AM


Angel's Doggy!


Group: Moderators
Posts: 630
Member No.: 3
Joined: 6-June 07



CODE
<iframe frameborder="0" height="320" width="500" marginwidth="0" marginheight="0" scrolling="no" src="http://www.soifall.net/~picano/chat/CBox.html" >


That should work, might need to modify the height / width.


--------------------
user posted image
Top
SilentStar19
Posted: Jun 14 2007, 11:46 AM


Lost in the World


Group: Admin
Posts: 638
Member No.: 1
Joined: 6-June 07





--------------------

user posted image

"I've been having these weird thoughts lately...like is any of this for real, or not?" ~ Sora
Top
picano
Posted: Jun 14 2007, 11:52 AM


Angel's Doggy!


Group: Moderators
Posts: 630
Member No.: 3
Joined: 6-June 07



Just testing something. If this posts... I wonder if I can see it. o.o;;


--------------------
user posted image
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | CBox | Next Newest »


Topic Options Quick Reply




Hosted for free by InvisionFree (Terms of Use: Updated 7/7/05) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Page creation time: 0.2533 seconds | Archive
Image hosted by Photobucket.com Affliates Table (1.0)
By The Incredible Coder Of Mint Support © Content Copyright 2006
Image hosted by Photobucket.com
Image hosted by Photobucket.com
Image hosted by Photobucket.com
Image hosted by Photobucket.com
The beginnings of Dreamland
Information About Affliate Here Information About Affliate Here Information About Affliate Here Information About Affliate Here
DL V2 Recent Button