The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Code to Refresh a Created Widget

2 posters

Go down

Code to Refresh a Created Widget Empty Code to Refresh a Created Widget

Post by Duff4r December 26th 2013, 5:20 am

I created a Widget on the Portal page that shows; 'Who's On Teamspeak'. This is NOT the Real time viewer. My forum users must manually refresh the Portal Page to see changes. Thay asked if I could help?

I found this bit of code:
Code:
<meta http-equiv="refresh" content="30" />

That works but it refreshes the entire Portal Page not just the Teamspeak widget?

Does anyone know how to modify the above code or a different code that will refresh only the Teamspeak 3 Widget I created?

Here's the entire Code
Code:
<meta http-equiv="refresh" content="30" /><span id="its838310"><a href="http://www.instantteamspeak.com/">teamspeak server</a> Hosting by </span><script type="text/javascript" src="http://view.light-speed.com/teamspeak3.php?IP=72.5.195.130&PORT=9987&QUERY=10011&UID=838310&display=block&font=11px&background=transparent&server_info_background=transparent&server_info_text=black&server_name_background=transparent&server_name_text=black&info_background=transparent&channel_background=transparent&channel_text=black&username_background=transparent&username_text=black"></script>

Thanks for replies and info. It is appreciated.

Duff4r
avatar
Duff4r
New Member

Posts : 7
Reputation : 1
Language : English

Back to top Go down

Code to Refresh a Created Widget Empty Re: Code to Refresh a Created Widget

Post by Sir. Mayo December 29th 2013, 8:12 am

Have you tried an iframe?
Sir. Mayo
Sir. Mayo
Forumember

Male Posts : 980
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

http://sir-mayo.forumotion.com/

Back to top Go down

Code to Refresh a Created Widget Empty Re: Code to Refresh a Created Widget

Post by Duff4r December 29th 2013, 4:45 pm

Ok, thanks for the suggestion. My HTML is sketchy as in 'self-taught'. I'm sure I figure out how to do this.

Here's my site: http://42sqn.forumotion.com/ Then left hand side 'Who's on Teamspeak'

Regards,
Duff4r
avatar
Duff4r
New Member

Posts : 7
Reputation : 1
Language : English

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum