Thank you very much for you reply. No, the JS file doesn't fix my issues.
I assume that you work with Adobe, if not, please accept my apologies. Is it OK that I sent our project files to you for a quick look? Or I could also raise that issue directly with Adobe support group.
Thank you again for your time.
Thanks, Peter, but the new JS file didn't solve these issues.
1) I copied the second file JS file to Program Files\Adobe\Adobe RoboHelp 8\RoboHTML and Program Files\Adobe\Adobe RoboHelp 8\RoboHELP, turned on 'Convert RoboHelp edited topics to HTML', then re-generated the CHM file. (I noticed that the js file under the project directory was not re-freshed). And tested it.
2) I also copied the js file to the project directory, and tested inside RH8 using the 'View Selected Item' button on the RH8 tool bar.
None of the 3 issues was resolved in my tests (1) and (2). The first two issues are the most critical (location and size).
CHMs are not really my area but I was hoping that JS file would help you. However I just realised too that those are text popups rather than topics appearing as popups so not too surprised it hasn't fixed the issue. Sorry to have wasted your time on that.
I just created a popup in RH8 and it is coming up where it should and with the shadow.
I think my next step in your situation would be to import a good topic and a bad topic into a new project. If things change, you know it is the project. If they don't then a look at the HTML might reveal something.
Any other CHM users out there having similar problems?
See www.grainge.org for RoboHelp and Authoring tips
Good detective work. There is a bug but we are both seeing something slightly different.
1] No shadow in all text boxes
2] Box not sized to text in all text boxes
3] Appears top right if there is a dropdown.
1] No shadow if there is a dropdown
2] Box not sized to text if there is a dropdown
3] Position correct regardless of whether or not there is a dropdown.
There is obviously a bug so please report both findings. The more people who report a bug or request a feature, the more likely it is to be actioned. Please follow this link.
See www.grainge.org for RoboHelp and Authoring tips
Please find attached Script file, you need to download the attached file and rename as .jsx and then import this file in RoboHelp 8 script manager pod.
Back up your project before proceeding further.
Open the project and run this script file. And try the chm output again.
Hope this will help you and other users who are facing issue with Popups in CHM output.
I have shared the file @ https://share.acrobat.com/adc/document.do?docid=bd9b822a-6a2a-4495-9255-260c4d6c718f
I am having similar problems. I tried your file, and it did not seem to make any difference. However, I have a question: You said to "run the script" -- what do you mean by that? I imported it into the project and recompiled. Was there something else I was supposed to do?
(I didn't have to rename the file, either. The file you shared already has the JSX extension.)
Ah, now I figured it out: Right-click the JSX file and select Run after importing it.
This solution worked in my project. Thank you very much.
Adobe should issue a service pack or something. It's ridiculous to make all users have to discover this problem for themselves, and spend hours testing, experimenting, and searching for a solution.
Well, You need to follow following steps for running the script file
- Download the script file.
- Open Script explorer pod, and import this file.
- Open the project where the popup issue is coming
- Opne the script explorer pod, select the popup fixer script file, right click and select Run option
- This script will edit all the topics and fix the popup issues in the topic files.
- Generate the CHM file.
Be sure to back up the project before running the script file.
In addition to the location of the popup window issue, there is also an issue with drop shadow box and the size of the popup window.
1) The location of the popup window issue is fixed with the JSX script that needs to be imported and run inside the help project.
2) The issues with the size of the popup window and drop shadow box are fixed with a new ehlpdhtm.js script that Pradful nicely sent it to me.
Hello again Pratful Jain,
After running the wonderful script that fixes the popup position, I'm discovering that some of the popups are still a bit too small for the text they contain. How can I fix this? Do you have a new JS file (mentioned by SadandSad, above) that fixes it?
Actually, I have since discovered that the problem only occurs in the topic preview in RoboHelp. In the CHM file, the popup sizes seem to be ok.
Thanks (and sorry I misspelled your name before).
No Issues, good to hear that the issue is not happening in CHM output.
It's standard RoboHelp functionality -- and it won't upgrade correctly to RH8.
one minor update regarding the popup issue in case of CHM generation. Some users started facing some issues with popups in RoboHelp 8 project after using the popup placement fixer script file. I tried to find the root cause of the issue, and found that I had to modify the script a bit to make it work correctly.
I am uploading the latest script file @ https://acrobat.com/#d=eJBek5hwjBpfC0gmP36n3w
User need to follow the below stepts for executing the script file.
1. Back up your project before proceeding further.
2. Download the script file and import in script explorer in RoboHelp 8.
3. Open the project which is having popup issue related to CHM, and run this script file.
4. Once the script file execution is complete, Click on Tools>Update DHTML Effects in Topics.. menu item, and click yes on the message box.
5. Generate CHM output and see if popup are working fine as expected or not.
Hope this will help other users who have issue with Popup placement while generating CHM output.
Is your script still available? I am unable to download it from that site.
I see you haven't gotten a reply.
I don't have that last change Praful made (so that the script works if you upgraded from X4), but I do have the previous version (which works great for us) that I could email to you if you wish. In that case, email me (hover over my picture and you should see my email address) or send me a private message with your email address, and I'll be happy to send it to you.
Thanks Praful. It looks like this fix worked, and the bug was related to having drop-down text on the same Help topic as pop-up windows. I opened a bug report. I still had to test all of my Help topics, but this fix has saved me a lot of time in modifying the affected Help topics.
I just upgraded from RH7 to RH8 and I'm having the same problem with related topics popups. I downloaded the script, followed the steps, and when I run the script, it appears to lock up RoboHelp. I've attempted to run it three times. Anything in the Design view is closed (the Project Manager and Single Source Layout pods remain open) and I get the hour glass. After awhile, I launch task manager and RoboHelp is in a not responding state.
You've patched RH8 up to the latest p level first before opening these old projects, right? And of course you've got a back up of them too?
Yes, I have both a RH7 and RH8 backup. The version I have is 184.108.40.206 and the Updates option is disabled.
If you're on RH 220.127.116.11 you've got a few updates to run before you're fully patched. Load them sequentially as Adobe patches aren't cumulative. If the Updates option is disabled, make sure you're running with Admin rights to your machine and then go to http://www.adobe.com/support/robohelp/downloads.html and run the updates. With the last RH patch to work with Captivate 5, I've ended up at 18.104.22.168.
I installed all the patches so now I'm on 22.214.171.124. I ran the script again and the same thing happened...RH8 locked up. I downloaded the script that was recently updated.
I finally got the script to run but it didn't resolve my issue. Sorry I forgot to mention that my output is FlashHelp and not CHM. Does anyone have a fix for FlashHelp?
I tried this script twice. Once it seemed to work, but when I tried to compile the .chm file, the Help compiler crashes with:
HHC6000: Error: An internal file could not be created. Make certain there is enough disk space on the drive where you are compiling your file.
HHC5007: Error: Fatal navigational compilation error. This is likely the result of an invalid contents (.hhc) file.This never happened before.
The second time the made a complete hash of my project. Topics had text moved between them in a real scramble.
Now I don't know what to do to fix the placement problem. There are no drop-down links in any of my topics.
Message was edited by: Margaret Becker
Thanks the thread helps.
I wanted to add another detail here, because after switching to a new PC (with Windows 7 32-bit) the popup placement fixer script seemed to stop working.
The problem was that I had somehow gotten the old version of the script. But problems continued even when I replaced it with the new script -- or at least I thought I had.
When you update a script, you have to do one of two things:
- Using the RH Script Explorer in RH, delete the old script. Then reimport the newer version.
- Replace the script file in its official location. On my Windows 7 PC, with TC2 installed, that location is: C:\Users\<UserName>\AppData\Roaming\Adobe\RoboHTML\8.00\Scripts\Sample Scripts
Knowing this detail would have saved me hours of troubleshooting. So now I hope it saves someone else the same ordeal.
And, by the way, I too have had RH crash due to lack of memory, both when compiling and when running the popup placement fixer. When I closed all other programs and tried again, it went ok. Run the popup placement fixer multiple times to make sure it was successful. (Check the result in the Output View -- View > Pods > Output View.)
You would think that you could simply allocate more memory. But no, the 32-bit version of Windows 7 doesn't support more than 4 GB of RAM (or that's what our IT people tell me) -- and you can't run RH on the 64-bit version. Doh!
Thanks Eileen. Very useful information.
I am facing the same problem of incorrect positioning of image-map pop-up window (showing at top left corner) on the pages which have a drop-down text.
I tried to download from the link you have provided here, but it goes to the homepage of acrobat.
Could you please email me the file?
Yes Peter, I had compiled the project and in the CHM also it shows the same way as in Preview.
Also, as mentioned in my earlier post, the error is in only those pages which have a drop-down text; the pop-ups in rest of the .htms of the same project are working as they should be.
I also copied the eHlpDhtm.js modified and attached by Praful in another thread but could not fix the issue.