[Javascript] .appendParent
Terry Riegel
riegel at clearimageonline.com
Tue Nov 18 08:49:56 CST 2008
Hello All,
Is there a way to do something like .appendParent?
If I have the following Markup
<div id="main">
blah...
</div>
I can do .appendChild to get something like
<div id="main">
<div id="appendage"></div>
blah...
</div>
Is there a way to appendParent to get something like
<div id="appendage">
<div id="main">
blah...
</div>
</div>
Basically I want to wrap a DIV so that I can set the width and height
of the wrapped div, then adjust the width and height of the original
div without causing the page to reflow.
Any help would be appreciated.
Terry Riegel
More information about the Javascript
mailing list