Copy link to clipboard
Copied
I am trying to create a hyperlink that will jump to a specific slide in my elearning module. Is there anyway to fix an anchor within the URL of the published elearning module so that when you click on a link to access the module it will take you to a specific slide within the module.
This was written up for Cap 7 but should still work with some Cap APIInterface reference updates if you can get the Javascript window on the Execute Javascript option to behave (I really really hate that window). The solution doesn't use anchors per se but grabs the slide number from the URL and passes it along to Cap's internal function to hop to a slide.
Jump to a Specific Slide in a Course Using Captivate 7 - CaptivateDev.com
If you read through the comments under the article there are some tip
...Copy link to clipboard
Copied
This was written up for Cap 7 but should still work with some Cap APIInterface reference updates if you can get the Javascript window on the Execute Javascript option to behave (I really really hate that window). The solution doesn't use anchors per se but grabs the slide number from the URL and passes it along to Cap's internal function to hop to a slide.
Jump to a Specific Slide in a Course Using Captivate 7 - CaptivateDev.com
If you read through the comments under the article there are some tips for getting it to work in Cap 8.
Note! This solution only works if you're running the the course on a server or previewing in a browser where Cap starts up a localhost instance. Local testing (where the index page is run from somewhere off the hard drive) will see the JS disabled for security reasons.
-Jord
Copy link to clipboard
Copied
Do you mean you want a URL that will jump into the course content AND open a specific slide?
Are you simply hosting the course on a webserver as a series of files, or is it being published to an LMS where you'll be able to track completion and report access?
Copy link to clipboard
Copied
I understood the question to mean that he was trying to jump to a specific slide from outside of the course by placing a variable or anchor of some kind in the course URL. If Cap has native support for this, huzzah! But I didn't think it did, I could be wrong.
From inside the course, sure, jump to slide.
-Jord
Copy link to clipboard
Copied
We really don't have the best way of hosting it. There is no LMS system. Currently my organization is using a highly configured sharepoint site as their intranet. We will post all of the captivate files to a document library and then add a hyperlink to within a page to access the elearning module. My issue is that if we post it like this the hyperlink will open up elearning module in it's own stand alone browser. This works most of the time but I wanted to leverage the content I've already created by adding specific help exercises within our application.
Ideally it would look like this, if a user wants to take the full course they would navigate through our intranet and take the full elearning module. If a user is working in the application and needs help with a specific topic they could open the help file (currently using Help & Manual), click on a link and then it would take them to that specific section, not the first slide in the module.
Jordster1, Thank you for the link. I found that site earlier but I'm not sure how well JavaScript would work within a sharepoint site.
Copy link to clipboard
Copied
I'd suggest you try the JavaScript, as all that is needed is to insert the code into a sample project and build a URL to test it.
I was able to build and test it quickly under Cp8 on a local webserver, and it works great!
I'll have to test it under our LMS before knowing if we'll use this on our company templates.
Copy link to clipboard
Copied
I could be wrong but I don't think Sharepoint disables Javascript by default. I'm not familiar with your environment though, and do understand that some government/military intranets are much more strict than others and you may be in that environment, or one that is similarly locked down.
The sample stuff does come together pretty quickly as BDuck points out though, so you could either try the sample and see if you hit a wall or forward the tutorial to whoever is admin of the Sharepoint site and ask if implementing something similar would be a violation of their intranet policies/support.
-Jord
Copy link to clipboard
Copied
I tested it out and worked perfectly. JavaScript resides within the Captivate slides so there where no issues with the host environment.
Thank you for all your help.