Microsoft Content Management Server - Resizing HTML Placeholder (NCPHRICH_) in javascript breaks w/ IE6

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > August 2006 > Resizing HTML Placeholder (NCPHRICH_) in javascript breaks w/ IE6





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Resizing HTML Placeholder (NCPHRICH_) in javascript breaks w/ IE6
Clif Peterson

2006-08-30, 1:19 am

Situation:
MCMS 2002 SP1a application uses some simple javascript while editing a
posting to allow for resizing the standard HTML Placeholder input box to
match the height of the current content. Here is an abbreviated sample of
the javascript with a hardcoded height.

var phObj = document.getElementById("NCPHRICH_phName");
phObj.height = 100;

In IE6 with SP1, this would happen almost instantly and the page would
dynamically adjust the display as expected.

Now, with IE6, SP2, the line where the height of the NCPHRICH object is set
pegs the CPU with IExplore.exe for about 10 seconds before the page is
finally redisplayed. Setting the height of other page elements does not
cause this problem, only when changing the NCPHRICH object. This is hitting
hard due to one of the recent security patches that our company pushes out to
all desktops to patch security holes and has killed something that recently
worked just fine.

Any ideas?

I put this on this newsgroup instead of an IE newsgroup because it seems to
be tied specifically the MCMS 2002 SP1a HTML Editor control.


Browser version details:
Works: IE 6, Version: 6.0.2800.1106, Update Versions: SP1; Q837009;
Q833989; Q903235;
Broken: IE 6, Version: 6.0.2900.2180.xpsp.041130-1728, , Update Versions: SP2
Stefan [MSFT]

2006-08-30, 7:25 am

Hi Clif,

this is an IE issue. Please post to an IE related newsgroup.

Thanks,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights


"Clif Peterson" <ClifPeterson@discussions.microsoft.com> wrote in message
news:38F7E3AF-47DB-4C6B-82F2-BF8C857E4B96@microsoft.com...
> Situation:
> MCMS 2002 SP1a application uses some simple javascript while editing a
> posting to allow for resizing the standard HTML Placeholder input box to
> match the height of the current content. Here is an abbreviated sample of
> the javascript with a hardcoded height.
>
> var phObj = document.getElementById("NCPHRICH_phName");
> phObj.height = 100;
>
> In IE6 with SP1, this would happen almost instantly and the page would
> dynamically adjust the display as expected.
>
> Now, with IE6, SP2, the line where the height of the NCPHRICH object is
> set
> pegs the CPU with IExplore.exe for about 10 seconds before the page is
> finally redisplayed. Setting the height of other page elements does not
> cause this problem, only when changing the NCPHRICH object. This is
> hitting
> hard due to one of the recent security patches that our company pushes out
> to
> all desktops to patch security holes and has killed something that
> recently
> worked just fine.
>
> Any ideas?
>
> I put this on this newsgroup instead of an IE newsgroup because it seems
> to
> be tied specifically the MCMS 2002 SP1a HTML Editor control.
>
>
> Browser version details:
> Works: IE 6, Version: 6.0.2800.1106, Update Versions: SP1; Q837009;
> Q833989; Q903235;
> Broken: IE 6, Version: 6.0.2900.2180.xpsp.041130-1728, , Update Versions:
> SP2



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com