TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
It is a RoboHelp specific thing and here's the deal. I'm unsure how
popups are handled in other tools. In RoboHelp, they are handled using
JavaScript. And guess what? In the world of HTML, almost nothing
requires a double-click. It mostly operates from single mouse clicks. So
the rapid double-click causes the error because the first click
triggered the script. The second is issuing an immediate repeat of a
script in progress.
Cheers... Rick :)
Dana Worley wrote:
> 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-