Hey Thierry & all,
Well, for the heck of it I tried moving the
functions that create the left and right blocks up
above the code that fills in the center column,
and it began then expanding the center column
appropriately.
Thierry's suggestion of executing that
first.Child.data modification in Firebug did work,
so I must have had a problem elsewhere, but you're
suggested reading got me much more in tune with
using child nodes for this sort of thing, so
you're responses were quite educational. Thanks!
However, Svip's recommendation of scrapping
innerHTML for an XML parsed piece of code sounds
like an excellent recommendation and fortunately
our use of innerHTML is very centralized in a JS
library so we're going to immediately start
looking into this.
Thanks Theirry, Svip and everyone for the help and
recommendations.
Hey, Svip, if you just swap that 'v' for a 'k'
you'd have a really cool name! ;)
S"k"ip
Thierry Koblentz wrote:
And the node looks like this:
<div id="newsnode">!!main_content!!</div>
Try this:
var maincontent=document.getElementById('newsnode');
maincontent.firstChild.data="Hello World!";
That is not changing the content of the div tag,
or anything on the screen.
It should. What happens when you run the following in the Firebug console?
$('newsnode').firstChild.data="Hello World!";
--
Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison, WI 53703
608-250-2720
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and versatile
PHP/MySQL, AJAX & DHTML development framework.
http://phpenguin.bigskypenguin.com/
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************