![]() |
Re: Spell Guide Beta-0
Quote:
|
Re: Spell Guide Beta-0
i.e. 7 or whatever the newest version is. running xp.
|
Re: Spell Guide Beta-0
Can you post that as a stand alone executable that we could download to our hard drive??? This looks like a really neat tool that we could use.
|
Re: Spell Guide Beta-0
Quote:
Quote:
Not so much for IE though I'm afraid jimkehn http://forum.shrapnelgames.com/images/smilies/frown.gif As I mentioned before, I may rewrite the page to add support for all kinds of clients, but right now I'll continue on this track and try to keep supporting Firefox as well as Opera. Next up I'll try to add some handling of the national spells, they are just mixed in with all the others right now which is quite annoying. Quote:
|
Re: Spell Guide Beta-0
Quote:
|
Re: Spell Guide Beta-0
Quote:
* Bridge XMLHTTP to XMLHttpRequest in pre-7.0 Internet Explorers */ if( typeof XMLHttpRequest == "undefined" ) XMLHttpRequest = function() { try{ return new ActiveXObject("Msxml2.XMLHTTP.6.0") }catch(e){} try{ return new ActiveXObject("Msxml2.XMLHTTP.3.0") }catch(e){} try{ return new ActiveXObject("Msxml2.XMLHTTP") }catch(e){} try{ return new ActiveXObject("Microsoft.XMLHTTP") }catch(e){} throw new Error("This browser does not support XMLHttpRequest or XMLHTTP.") };</pre><hr />I didn't get to test it, though. Unless KHTML implements XSLTProcessor support, this page won't work for Konqueror and Safari. But in case Snoddasmannen wants to add support for them, I think that a cross-browser wrapper library named Sarissa takes care to add just this functionality for browsers. |
Re: Spell Guide Beta-0
lch, does IE really have XSLTProcessor, or some ActiveX equivalent? If not it will take more than wrapping around XHR :/
Anyway, if I'm going to spend some time making this thing work for everybody then I think I might as well just move all the logic to the server side, with a simple form interface. Not many will be able to tell the difference, and even fewer care about it http://forum.shrapnelgames.com/images/smilies/happy.gif Plus I really dislike browser specific workarounds ... I'm happy that this code is running in both Opera and FF without any iffery. But instead of working on the spell guide, I spent time rewriting my map generator instead. Now with fractals http://forum.shrapnelgames.com/images/smilies/wink.gif If it gets good, I'll release the source. |
Re: Spell Guide Beta-0
Quote:
|
Re: Spell Guide Beta-0
Quote:
For perfect wrapping in any JavaScript browser, I guess you should use Sarissa like I wrote before. Quote:
|
Re: Spell Guide Beta-0
Quote:
|
All times are GMT -4. The time now is 04:32 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.