what should I do to edit the DOM before that the page is shown?

Add-in Express™ Support Service
That's what is more important than anything else

what should I do to edit the DOM before that the page is shown?
Manipulating DOM before page is rendered 
Alistair Swanson




Posts: 13
Joined: 2009-08-19
There was a http://www.add-in-express.com/forum/read.php?FID=5&TID=4929&MID=24596&phrase_id=1657004 in this forum a few months ago that interested me, about how to manipulate the DOM before a page gets rendered.

It finished with no resolution.

I've been trying to implement something similar with the main problem being removing a slight flicker as the initial page renders and then gets changed.

I've managed to remove this flicker by increasing
Me.HTMLDocument.parentWindow.screen.updateInterval
on the IEModule_NavigateComplete2 event to create a delay before IE renders the page. (and the theory is that I will remove the delay once I'm sure all manipulation of the DOM is done).

Before I implement this could you advise if there are any other alternatives?
Posted 27 Aug, 2009 07:17:35 Top
Eugene Astafiev


Guest


Hi Alistair,

Nope. You are on the right way. I don't know another way.
Posted 27 Aug, 2009 07:56:43 Top
Alistair Swanson




Posts: 13
Joined: 2009-08-19
Thanks.
Posted 27 Aug, 2009 08:18:41 Top
Eugene Astafiev


Guest


You are welcome, Alistair.
Posted 27 Aug, 2009 08:38:14 Top