Skip navigation
thedarf
Currently Being Moderated

Jump to slide in a new project

Oct 25, 2009 6:24 PM

Is there any way I can jump to a specific slide in a project, instead of jumping to the first slide of the project, from a different project.

 

Currently at the end of this project there is the opportunity to review certain areas from the first project. These areas start at slide13. On restart it currently jumps to slide 1.

 

Any help would be great

thedarf

 
Replies
  • Currently Being Moderated
    Oct 26, 2009 1:05 AM   in reply to thedarf

    It's not possible to do "out of the box", but I can think of a couple of workarounds if you are using Adobe Captivate 4.

     

    One workaround would be to have a custom Flash file in your project that recieves instructions through FlashVars (parameters in the URL).

     

    Another option would be a JavaScript approach where you create a JavaScript in your HTML file that will send the project to the correct slide based on a variable in the URL.

     

    /Michael

     


    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2009 1:25 AM   in reply to thedarf

    Hello, are you using CP4? If so, I'll try to find a workaround to realize this in CP, by using variables and actions.

     

    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2009 3:32 AM   in reply to Lilybiri

    I don't think that will be possilbe Lilybiri but I would love to be proved wrong ;o)

     

    If I understand it correctly we are talking about two separate project files. If you want to jump from slide 5 in project one to slide 10 in project 2 how will you do that? You could ofcourse make an advanced action on slide 1 in project two that sends it to slide 10, but then you would never be able to view slide 1-9 in project two

     

     

    /Michael

     


    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2009 4:06 AM   in reply to www.cpguru.com

    Hello Michael,

     

    Teaching for the moment, but I would certainly try it, using some variables to check if the project has been viewed or not? It is very possible that it could not work, keep you informed if this is the case.

     

    Have a nice day (believe you are in Europe too?)

     

    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2009 9:05 AM   in reply to Lilybiri

    Hi all

     

    Okay, way cool solution here. RJ Jacquez sent out a tweet two Fridays ago stating that he was posting a solution to that. Unfortunately, I missed seeing the result but managed to find it today. (I was busy facilitating a class last week)

     

    The good news is that it actually can be done! I just downloaded the example and it works. And it's not too difficult to achieve.

     

    Note that you have to have Captivate 4 to accomplish it, because it relies on programming an Advanced Action.

     

    So here is how it works.

    In the Captivate movie you are wishing to open at a different slide, you create an Advanced Action. (Click Project > Actions... > Advanced actions)

    Click the drop-down and choose "Create a new action..."

    Type a name for the action.

    Click the Add Statement area to place focus there.

    Press the Spacebar. (Statement should appear and should turn red)

    Press the Spacebar again and a drop list should appear.

    Choose Standard Action.

    Choose the Execute JavaScript action.

    Copy the script below and paste it into the area where you are expected to type the script.

    if(window.location.href.indexOf("?slide"!=1){var slideNumber=window.location.href.substring(window.location.href.index Of("?slide")+7);var cp = document.getElementById("Captivate");cp.cpSetValue("cpCmndGotoSlide", slideNumber-1);cp.cpSetValue("rdcmndResume",1);}


    Click Save.

    Click Close.

    Edit slide one of the project.

    In the Slide Properties, choose Execute advanced action for the "On slide enter" action.

    Assign your action.

    tmp1.png

    Now you publish that out.

    From a Captivate movie that wishes to open this movie at perhaps slide 3, you program the Button or Click Box so it opens the HTML file of the other Captivate movie and supplies the slide number as a parameter.

     

    The example below shows slidejump.htm?slide=3

     

    tmp2.png

     

    Hopefully this helps... Rick

     

     

    Helpful and Handy Links

    Captivate Wish Form/Bug Reporting Form

    Adobe Certified Captivate Training

    SorcerStone Blog

    Captivate eBooks

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2009 10:03 AM   in reply to Captiv8r

    That's a very clever solution Rick. Where did you find that posted?

     

    I never thought about doing it through Advanced Actions directly in the project. I have done it with a JavaScript embedded in the HTML file that loads the Captivate swf earlier but this solution is much easier.

     

    /Michael

     


    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 26, 2009 10:28 AM   in reply to Captiv8r

    Thanks Rick, I missed this on Twitter, but found the file.

     

    Hi, Michael, this saves me some experimenting. I'm very happy with this only CP-solution.

     

    Lilybiri

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 16, 2010 6:15 AM   in reply to Captiv8r

    Does anyone know if this solution works for Captivate 5?  and i am kinda rusty on my JavaScript and wondering if this would mess up if say....I went from one slide in the project to another (such as the end of the project to the middle of another) but had one slide that could go back to the beginning of the original project?

     

    Edit:

     

    Sorry that sounded really confusing...i mean if I move from Module A to B to C then back to A (from the slide after the one i had left) could B have a back button that would take me back to the slide it left while still letting C move to the one after the slide i had left?

     

    Thanks,

    Kyle

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 28, 2011 2:42 PM   in reply to Staples87

    I'm having trouble getting it to work in Captivate 5

     
    |
    Mark as:
  • Currently Being Moderated
    May 9, 2011 3:34 PM   in reply to thedarf

    Jim Leichliter wrote a blog post in answer to my question, related to Captivate 5

    (http://captivatedev.com/2011/05/01/how-to-jump-to-a-specific-slide-in- a-separate-course/)

     

    Adjusting your javascript to look like Jim's, and using the timeout method, might get your video to work.

     

    Remember - javascript generally only works if you are viewing off a webserver, or off a simulated webserver with the F12 preview in Captivate 5 (it is earlier?)

     

    Something I use as a local webserver is Tiny Java Web Server (http://tjws.sourceforge.net/). It's a little, java based web server that I can run from a folder on my desktop (or elsewhere).

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points