.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #15  
Old November 14th, 2007, 02:28 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Spell Guide Beta-0

Quote:
Snoddasmannen said:
Yeah that's from firefox right? It's weird. Using the firefox dom inspector, I can clearly see the spell div, spell table and all the spells nicely tucked in there with the images and everything. But visually it still looks like it's just dumped the whole xml document in there without any xslt transformation.
I guess that's because you are overwriting the element in Code:
parent.replaceChild(result.firstChild,spellDiv);

instead of overwriting the innerHTML element or something like that. Usually Mozilla is the closest to implement the specifications, so I guess that you're doing it wrong.

Here's what the element looks like before the replace:

and here's what it looks like afterwards:
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:23 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.