Skip to main content
Known Participant
September 12, 2018
Answered

URL opens automatically

  • September 12, 2018
  • 3 replies
  • 1002 views

I would like to know if there is a way to prevent a URL (that is part of a button) from opening automatically when the project plays? The point is to have the learner click on the button to visit the site at their leisure, not open automatically..

This topic has been closed for replies.
Correct answer RodWard

Yes I tried in browser as well and same problem.


Could you please check the On Slide Enter event of this slide to make sure you haven't perhaps also added the Open URL action to that area?  All Captivate interactivity is Event-based.  Unless something (an event) triggers an action, it cannot be invoked.  With buttons, the only way you would be triggering that Open URL action is by the user clicking the button, which you say they are not doing.  So, my working theory here would be that the Open URL action is being triggered by another event.  The fact that the browser window opens when you preview that slide would seem to support the idea that the Open URL action is also being triggered by the On Slide Enter event.  So please check whether that might be the case.

3 replies

Paul Wilson CTDP
Community Expert
Community Expert
September 12, 2018

You could help us by posting a screen capture of where you entered the URL so we can confirm it's being entered in the correct place i.e. in the actions tab of the properties of the button.

Paul Wilson, CTDP
Known Participant
September 13, 2018

So I have a button with an action of “open url or file” BUT upon preview of the slide, the link proactively opens in a browser window before any button is even clicked. Does that make sense?

Lilybiri
Legend
September 13, 2018

That is not normal, but I am bit puzzled by 'Preview the slide'? There is no Preview slide, only Play Slide which is NOT a preview method at all. Check Preview HTML in Browser (F11) if it is a non-responsive project, or Project if it is a responsive project.

Jeremy Shimmerman
Participating Frequently
September 12, 2018

I'm not quite sure I understand the question. Do you have a situation where a user clicks a button to open a URL and you want a delayed action? 

Known Participant
September 13, 2018

So I have a button with an action of “open url or file” BUT upon preview of the slide, the link proactively opens in a browser window before any button is even clicked. Does that make sense?

Lilybiri
Legend
September 12, 2018

What do you mean by 'URL is part of a button'? I don't understand what that it is. You can use a button to trigger the command 'Open URL', and that will do what you want.

Known Participant
September 13, 2018

So I have a button in there but the URL opens automatically upon preview of the slide without the button even being clicked first.