rejetto forum
May 24, 2012, 06:28:17 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Is there a way to reload only server graph with javascript?  (Read 1502 times)
0 Members and 2 Guests are viewing this topic.
Guest
Guest
« on: June 26, 2006, 11:46:50 AM »

I think it would be nice not to open status frame but to see updating server status all the time.
I downloaded that kind of template, but the graph updates only when i hit refresh. So i was thinking if there is a way with javascript to update only the graph image every some seconds?

maybe something like in the tag where you show the image you set it's id:
id="Graph"

and you write some code like:
document.getElementById('Graph').src =[the filename of the graph image]

i'm not good at javascript will someone say if it will work?
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #1 on: June 29, 2006, 03:02:58 AM »

it would be a nice idea if only the graph need to update.
but also other information in that page need it.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 07, 2012, 10:51:58 PM