Highlighted

Captivate does not play a basic javascript

Explorer ,
Nov 07, 2019

Copy link to clipboard

Copied

Hi to all....

 

I have tried to open a window in captivate that a user can open and read the included information...See script"

 

Window.open(", ","width=350,height=400,left=25,top=25").document.write("<p>Hello Vinnie.</p>");

 

I have assigned to a ??button?? and on the actions "execute Javascript" containing the above code

 

I am using captivate 2019 and a responsive project'

 

I only want at this stage to get the small window open...WITHOUT SUCCESS.

 

Any help?

 

 

Regards

TOPICS
Advanced

Views

96

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Captivate does not play a basic javascript

Explorer ,
Nov 07, 2019

Copy link to clipboard

Copied

Hi to all....

 

I have tried to open a window in captivate that a user can open and read the included information...See script"

 

Window.open(", ","width=350,height=400,left=25,top=25").document.write("<p>Hello Vinnie.</p>");

 

I have assigned to a ??button?? and on the actions "execute Javascript" containing the above code

 

I am using captivate 2019 and a responsive project'

 

I only want at this stage to get the small window open...WITHOUT SUCCESS.

 

Any help?

 

 

Regards

TOPICS
Advanced

Views

97

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 07, 2019 0
Contributor ,
Nov 07, 2019

Copy link to clipboard

Copied

Hello !...

Try this :

window.open("", "","width=350,height=400,left=25,top=25").document.write("<p>Hello Vinnie.</p>");

Source : Paul Wilson's video

https://www.youtube.com/watch?v=Nfm4N4jTlsU

😉

In this Adobe Captivate video tutorial, I show you a solution to a question from the Adobe forums. The user wants to open a link to a web URL in a new window bu...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2019 0
Explorer ,
Nov 07, 2019

Copy link to clipboard

Copied

Thank you Le_Dirlo_  (Problem solved)

 

it works like a dream !! the extra set of parenthesis made all the diference..

 

Thanks once again !!

 

Vince

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2019 0
Explorer ,
Nov 07, 2019

Copy link to clipboard

Copied

Thank you for the link to the video as well...Much appreciated

 

Cheers

 

Vince

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 07, 2019 0