On Click Questions

HelpXplain is the exciting new animated infographics and screencast tool that integrates with Help+Manual.

Moderators: Alexander Halser, Tim Green

Post Reply
User avatar
Olivier Beltrami
Posts: 393
Joined: Mon Jul 15, 2002 3:30 pm
Location: Nantes, France
Contact:

On Click Questions

Unread post by Olivier Beltrami »

Hello,

A couple of questions on objects' click response:
  • Is it possible to launch a web page in another instance of the browser ? (not just in a new Window)
  • Is there a Script action to close the Lightbox in which the Xplain is running ?
Very best regards,

Olivier
Olivier Beltrami
https://www.qppstudio.net
Worldwide Public Holidays and Calendar Data
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: On Click Questions

Unread post by Tim Green »

Olivier Beltrami wrote: Wed Aug 04, 2021 10:52 am Is it possible to launch a web page in another instance of the browser ? (not just in a new Window)
A new window or tab is a new instance of the browser in all major browsers now. 8) If you mean you want to open in a separate window instead of a new tab, you need to select the script option and type in the following code, including both a name and the dimensions for the new window. Otherwise it will open in a new tab:

Code: Select all

window.open("https://www.google.com", "mywindow", "height=500,width=1024")
However, this is probably a bad idea: You are forced to use a specific window size, which will annoy your users. Many users will actually prefer a tab to a window, and they can always open the tab in a window by dragging it if they want. In addition to this, using the window.open() command may be blocked by some users' security settings.
Is there a Script action to close the Lightbox in which the Xplain is running ?
There's a close button in the top right corner and clicking anywhere outside the lightbox also closes it. You can't easily script the close function for the lightbox from within the lightbox, but you really don't need it since there is already a button in plain view -- you would just be adding another button for exactly the same function.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Olivier Beltrami
Posts: 393
Joined: Mon Jul 15, 2002 3:30 pm
Location: Nantes, France
Contact:

Re: On Click Questions

Unread post by Olivier Beltrami »

Thank you very much, Tim.
Olivier Beltrami
https://www.qppstudio.net
Worldwide Public Holidays and Calendar Data
Post Reply