rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Guest on June 26, 2006, 04:46:50 PM

Title: Is there a way to reload only server graph with javascript?
Post by: Guest on June 26, 2006, 04:46:50 PM
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?
Title: Is there a way to reload only server graph with javascript?
Post by: rejetto on June 29, 2006, 08: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.