![]() |
possible to reload specific sidebar block?
is it possible to reload a specific sidebar block only instead of the whole page?
here is the code I'm using currently: <form><input type="image" src="/images/Refresh.png" onClick="window.location.reload()"></form> tried changing "window" to "block"...no luck also tried "block_html" and no luck...also tried "block_html_19" = div id name. all option's refresh the entire page. or is there a javascript I can use that auto-refresh's the block? or is it even possible? |
You could try using jQuery to refresh the page or the specific block on a timer. I have done this myself with my radio site as the radio stats need to refresh every 60-80 seconds. I'll try get a hold of this code for you and let you know.
EDIT: This is the code i have, you may need to change the div ids and such, i have bolded out what needs to be changed. Code:
$(".statsrefresh").click(function(e){ |
All times are GMT. The time now is 01:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|