This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Needless to say I parse the text and get the info I need to make my own mini-armory.
now on my page sometimes when I click on a certain user, everything will work just fine, then on the other hand sometimes it won't but if I close the browser and try that same character's armor again, it works fine.
I was just wondering if AJAX sometimes just gets overloaded and bombs out, or if there is some special code I need to put in to insure my responseText is returned.
I mean, it simi-works in ff, enough for you to get the concept of what I'm doing. The armor image thumbnails are sent back in one ajax call, the health/mana in one and their main professions (mining,skinning,enchanting and etc) in one and the stats on that piece of gear when you hover in another(the stats are supposed to pop up in a div when you onmouseenter, but doesn't seem to work in ff).
Sometimes it all works fine and then sometimes the health won't show up, or the amor won't change for that person.
If AJAX doesn't tend to mess up sometimes, then I'm obviously going about this the wrong way... here is an example of my ajax functions:
I've done AJAX before, but I guess I could've bit the dust on this try.
Well it's for our guild site, rather that going to wowarmory, searching a guild members name, then looking for the corresponding realm, you can just go to the guild site, click on members, then look at everyone's gear and class etc..
The only think I can't get to work properly is the Armor-Stats popup in firefox, it keeps flashing on and off really fast. In IE it works good though.
Just a way of representing the same data in an more accessible way for a particular guild.
If for no other reason people are more likely to help you if the code is short :)