Pop-up incorrect placement - Fix
Issue: Incorrect location of pop-up windows.
Cause: The possible reason of this issue could be a pop-up window or an image-pop-up window and "Drop-down Hot Spot" or "Expanding Hot Spot" text exist in a topic.
RH version: I faced the issue in RH v8 with patch 2. (Not sure about other versions!)
Output: CHM, WebHelp
Solution: As a solution to the pop-up windows not showing at correct location, a script file was provided by Praful Jain (see his post on the above forum at Post#17 for more details.)
I had the same issue with the pop-up windows in few topics while in other topics it worked well. After running the said script file, the issue did not resolve for me and pop-ups were showing up at top left corner of the Help window.
I found that the script rightly resolves the issue of normal pop-up windows but it does not fix the image-map pop-up windows issue, and I was using image-map pop-ups in my window.
I did some modification to the script and executed the modified script in my project. I got my issue of image-map pop-ups incorrect placement fixed.
I have uploaded the modified version of the script file @ https://workspaces.acrobat.com/?d=L77ZP59R4Y6rTo9lG8Q4DA
Hope this script helps to all those who are facing the same problem in their projects. It worked very well for me, but I would advise all to take backup of their project before running this script.
Follow the below steps to executing the script file–
- Back up your project before proceeding further.
- Download the script file and import in script explorer in RoboHelp 8.
- Open the project which is having popup issue and run this script file.
- Once the script file execution is complete, Click on Tools>Update DHTML Effects in Topics.. menu item, and click Yes on the message box.
- Preview topic or generate CHM output and see if popup are working fine as expected or not.
A special thanks to Eileen for providing help. 🙂
~Vimal
