Re: Runtime error opening pop-up

Subject: Re: Runtime error opening pop-up
From: "Dana Worley" <dana -at- campbellsci -dot- com>
To: techwr-l -at- lists -dot- techwr-l -dot- com
Date: Thu, 20 Sep 2007 10:06:19 -0600

On Wednesday, September 19, 2007, Joe Pollock wrote:

> If on your first attempt to open the pop-up you click normally, the
> pop-up works and you cannot force the error after that.

Seems to be an RH specific thing -- something to do with the
javascript they are using to provide formatted popups.

I have the same CHM file compiled with Doc-To-Help, AuthorIT,
Help & Manual, HyperText Studio, and RoboHelp. I can reproduce it
in RH fairly easily, but not in files created with the other tools.

BTW, the error is:
An error has occurred in the script on this page.
Line 1564
Char 2
Error: Access is denied

If you look at the code around Line 1564, the function is determining
the width of the popup window by sizing the window, looking for a
scroll bar, and then resizing to one size larger so there is no
scrollbar. I suspect you are trying to resize the window when it's
being resized :) [and no, I didn't dig into the code that deeply, but
the js is well-commented]

Your options are "don't do that", or use non-formatted text only
popups. (thus, no javascript would be running). Or, use a different
tool ;)

Rather than revert to plain vanilla popups I'd just say, if someone
double-clicks, bummer :)

Dana W.


***************************
Dana Worley
Software Product Manager/Manager, Software Support Group
Campbell Scientific, Inc.
Microsoft MVP, Windows Help


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Create HTML or Microsoft Word content and convert to Help file formats or
printed documentation. Features include support for Windows Vista & 2007
Microsoft Office, team authoring, plus more.
http://www.DocToHelp.com/TechwrlList

True single source, conditional content, PDF export, modular help.
Help & Manual is the most powerful authoring tool for technical
documentation. Boost your productivity! http://www.helpandmanual.com

---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/ for more resources and info.


Follow-Ups:

References:
Runtime error opening pop-up: From: Joe Pollock

Previous by Author: Re: 'Step Up to Leader' Post > Tangential Question
Next by Author: Re: Runtime error opening pop-up
Previous by Thread: RE: Runtime error opening pop-up
Next by Thread: Re: Runtime error opening pop-up


What this post helpful? Share it with friends and colleagues:


Sponsored Ads