Highlighted

Add Img in JavaScript Popups in My Captivate Project

Community Beginner ,
May 26, 2020

Copy link to clipboard

Copied

Hi Guys,

Could I ask for your advice about how to Add Img in JavaScript Popups in My Captivate Project.

I’m a bit confused about Javascript. Now I can create a text format and the next step I want to add an image under the text. Would you recommend what I could do?

 

Capture.JPGCapture2.JPG

Views

268

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

Add Img in JavaScript Popups in My Captivate Project

Community Beginner ,
May 26, 2020

Copy link to clipboard

Copied

Hi Guys,

Could I ask for your advice about how to Add Img in JavaScript Popups in My Captivate Project.

I’m a bit confused about Javascript. Now I can create a text format and the next step I want to add an image under the text. Would you recommend what I could do?

 

Capture.JPGCapture2.JPG

Views

269

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
Adobe Community Professional ,
May 26, 2020

Copy link to clipboard

Copied

My first question would be: Why do you need to use JavaScript to do this? Why does it have to be inside a JavaScript popup?  Captivate has a perfectly easy way to insert an image onto a Captivate slide and layer it over the top of another element such as a SmartShape to make it look like you have a popup.  You can easily use simple actions to show or hide the grouped objects. 

 

If you use JavaScript popups you are going to find them blocked in many cases by the web browser popup blocker settings.  How is doing this this way more beneficial or essential to your project?

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...
Community Beginner ,
May 26, 2020

Copy link to clipboard

Copied

I want to add a button to learn more. And then open a new window and display a little information In my project. Thank you.

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...
Adobe Community Professional ,
May 27, 2020

Copy link to clipboard

Copied

You can do all of that without the danger of having JavaScript popups blocked by using the methods I described above.

 

I support the use of JavaScript, but only when you really need it to accomplish something Captivate cannot do, not for the sake of it, and especially not when it's more likely to cause problems.

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...
Most Valuable Participant ,
May 27, 2020

Copy link to clipboard

Copied

Why make it easy when you can do it the complicated way? 

I use JS when Captivate's functionality is insufficient.  However due to several reasons many users believe that you can not create elearning without JS skills...

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...
Community Beginner ,
May 27, 2020

Copy link to clipboard

Copied

Okay, I will try. Thanks for your advice 🙂

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...
Resources
Captivate User Guide
New Group