Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

3.5.x - AJAX module - World Of Warcraft Realm Status module

Banned
Banned
Joined
Sep 4, 2005
Messages
455
Reaction score
0
originaly posted by jim6763nva
I was analyzing the AJAX code that Blizzard has on there Realm Server Status page and was wondering how it could be adapted to a module for Vba CMPS?

I tried putting the following code in the headinclude section:
<script type="text/javascript" src="/shared/third-party/sarissa/sarissa.js"></script>

<script type="text/javascript" src="/shared/third-party/sarissa/sarissa_dhtml.js"></script>

<script type="text/javascript">
<!--
var tableAProcessor;

function initAnnounceDataStyleSheet()
{
tableAProcessor = new XSLTProcessor();
var xslADoc = Sarissa.getDomDocument();
xslADoc.async = false;
xslADoc.load('wow/realmstatus_announce.xsl');
tableAProcessor.importStylesheet(xslADoc);
}

function showAnnounceStatus()
{
if (!tableAProcessor)
initAnnounceDataStyleSheet();
Sarissa.updateContentFromURI("wow/status.xml", document.getElementById("statusAnnounceDisplay"), tableAProcessor);
}
//-->
</script>

and the following code in a template called adv_portal_realmstatus:

<div class="announce">
<div id="statusAnnounceDisplay"></div>
<script type="text/javascript">
<!--
showAnnounceStatus();
//-->
</script>

<h5 style="text-align: center">Updated: Thu Jul 6 15:10:01 MST 2006</h5>
</div>

I set all this up as a template module on my front page, but all I get is the collapsable header.
 
Newbie Spellweaver
Joined
Oct 19, 2005
Messages
13
Reaction score
0
so where are the needed java script files?
 
Custom Title Activated
Loyal Member
Joined
Nov 28, 2004
Messages
2,236
Reaction score
0
it's for wowemu?

that's incomplete code. we don't have this:
Code:
<script type="text/javascript" src="/shared/third-party/sarissa/sarissa.js"></script>
<script type="text/javascript" src="/shared/third-party/sarissa/sarissa_dhtml.js"></script>
give the example url here. I wanna see demo
 
Last edited:
Newbie Spellweaver
Joined
Feb 25, 2006
Messages
13
Reaction score
0
so where are the needed java script files?

it's for wowemu?

that's incomplete code. we don't have this:
Code:
<script type="text/javascript" src="/shared/third-party/sarissa/sarissa.js"></script>
<script type="text/javascript" src="/shared/third-party/sarissa/sarissa_dhtml.js"></script>
give the example url here. I wanna see demo

Here you go. Sarissa 9.2


greetz, t.c.
 

Attachments

You must be registered for see attachments list
Custom Title Activated
Loyal Member
Joined
Nov 28, 2004
Messages
2,236
Reaction score
0
do you know any online demo? wanna see it in action
 
Back
Top