On 04/19/2012 01:02 PM, Jirka Kosek wrote:
> On 18.4.2012 14:01, Hussein Shafie wrote:
>
>>> It seems that sufficient solution is to replace newlines with spaces.
>>> Javascript code is the same but IE8 will not trigger warning message.
>>
>> Yes, we have noticed that but we thought that there was a way to disable
>> this warning in IE8 (which also requests the user to confirm the
>> execution of JavaScript, no matter the size of the script).
>
> It seems that situation is more complex, thanks IE :-(
>
> If you open WebHelp from local drive then you are asked for ebabling
> script execution. This doesn't happen if you open files from network
> share or over HTTP.

OK.


>
> Slow script execution dialog is another issue which can be solved by
> disabling this through registry, see:
>
> http://support.microsoft.com/kb/175500

Thank you for this information.


>
>>> It seems that sufficient workaround is to modify saveTo() methods to
>>> emit space instead of \n.
>>
>> Please confirm that this workaround actually works, so we can do the
>> same change in the next release of whc.
>
> Hmm, it seems that IE8 has unpredictable behavior here. After replacing
> newlines in search/index/toc.js with spaces messages seems appear less
> frequently but it's still there.
>
> So finally it seems that this proposal is not solution at all.
>
> Instead I have tried to put HTML rendering of ToC directly to each
> generated page instead of loading it dynamically from toc.js. This
> solves issue (except that you can still get warning from loading
> search.js) but resulting pages are really large and if you have many
> such pages whole documentation then became really huge (hundreds of MB
> compared to few MB).
>
> I will update you if I will find something which really works in IE8.
>

Thanks.
 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to