Skip to main content
Known Participant
September 21, 2009
Question

Here A Popup, There A Popup...

  • September 21, 2009
  • 1 reply
  • 2521 views

I have thousands of topics and hundreds of them have multiple popups.  I compile, view a topic, click the link and the popup appears exactly where I expect it to appear, positionally based on the link I clicked.  I then open a different topic, click a link in the same spot (topics have the same look) but that popup appears in the top left corner of the topic.  This happens with all of the popups on the page.  I've checked dozens of topics and the vast majority of popups are appearing in the top left, nowhere close to the links from which they were triggered.

I looked at the HTML to see if there was anything funky in there but the BSSCPopup calls are the same, except for the targets.

Has anyone else has this problem with eHlpDhtm.js?  If so, what can I do to fix this problem?

This topic has been closed for replies.

1 reply

Willam van Weelden
Inspiring
September 21, 2009

Hi,

Assuming you're using RoboHTML 8: Read this post and use the last ehlpdhtm from Praful Jain.

Greet,

Willam

Known Participant
September 21, 2009

Hi, yes I am using 8.

I tried the modified .js but the popup positioning did not change.  I looked at the changes made to it and they seem to only relate to scrolling behaviour, not coordinates.

Praful_Jain
Participating Frequently
September 25, 2009

It looks like it worked perfectly!  If I had realized I could do this in RH scripting, I would have investigated doing it that way rather than via Excel macros which tended to be fairly slow. I know they would have ran a lot faster and I wouldn't have had to do so much manipulation, especially with my French language files.

If I have to make any more global fixes, I'm definitely going to try the RH scripting first before I resort to VBA in Excel.

Thank you!


Nice to hear that the script solved the problem. Read the scripting documentation and try creating some sample scripts.

One thing, verify the scripts on some dummy projects, before using them to the main project.

-Praful