Skip to main content
Participating Frequently
May 18, 2017
Question

Loading dyanmic url to single web object from any Slide

  • May 18, 2017
  • 1 reply
  • 621 views

Hi,

I am building some courses in captivate where there is help button for each slide.

Requirement is that when user click on "Help" icon then he/she will redirect to one slide where there is web object loaded and we need to load particular html in that web object. So for each slide there are different html but single web object. How can we set that?

I tried to use variable but not sure how to assign url to web object dyanmically?

thanks,

Gulshan

This topic has been closed for replies.

1 reply

Participating Frequently
May 19, 2017

No one have any solution on this?

TLCMediaDesign
Inspiring
May 19, 2017

Not sure how you are going to determine which slide you are coming from unless you populate a variable with the specific URL attached to each help button, but you could use this code.

Create an advanced action:

Execute this JS:

yourURLVariable = http://www.website.com

then jump to slide with the WO

execute the advanced action on help button

On enter of the slide you are jumping to enter the JS :

document.getElementsByTagName("iframe")[0].src=yourURLVariable

Participating Frequently
May 20, 2017

Hi,

Thanks for the reply. I think we are close and now just its not taking captivate object in javascript. Iframe is loading blank and when I see it in firebug, it shows unknown, see screenshot.

This is what I am trying

Not sure where exactly issue is. Please let me know.

thanks,

Gulshan