Skip navigation
GoldenCJ
Currently Being Moderated

How can I get Captivate to revert to the top of the screen for each slide after published?

Jul 17, 2009 8:03 AM

I have a project captured in 1024x768.  If the user has many toolbars in browser, they have to scroll to see the whole screen.  If they use F11 in IE, this virtually eliminate the problem.  In MAC however, there is no F11 feature.  So, how can I get the published Captivate file to load each new screen at the top scroll position?  I have tried changing the html and tried adding Multiple Actions on success to click boxes with Go to Next slide and Execute JavaScript command: onload='window.scrollTo(0,1)'.  Neither are working.  Any idea how to get the screens to stop holding the previous screen position?

 

Thanks!

 
Replies
  • Currently Being Moderated
    Jul 18, 2009 9:18 AM   in reply to GoldenCJ

    Hi GoldenCJ,

     

    Please remove "onload" from your javascript command. The "onload" event is fired when a html page(or any other page for that matter) is loaded. In your case the page is already loaded, that is, the page is loaded again when the user moves from one slide to another. Hence your javascript will not  be executed.

     

    So just have

     

    "window.scrollTo(0,0)" as your javascript.

     

    This should work fine.

     

    P.S. The execution of the javascript is browser dependent and browser settings dependent.I tried with chrome,IE 6 and FF 3.5, it is working. Please make sure that your target audience have javascript enabled in their browser.

     

    Thanks

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2009 5:40 AM   in reply to GoldenCJ

    If the method works, please mark the thread as answered.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 22, 2009 9:09 AM   in reply to GoldenCJ

    Hi GoldenCJ,

     

    Go for the 2nd option. It should work fine. It worked fine for me.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 13, 2009 7:54 AM   in reply to Vikram P

    been trying to do this and not having any success.  Any one able to get this to work.  Im not a Java person so maybe Im using the code incorrectly.  I have used it as a multiple action and copied the code you have listed above and still no success.  Any help would be appreciated.

     

    Thanks

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 19, 2009 2:05 AM   in reply to GoldenCJ

    Hi guys,

     

     

    The method which suggested is working for me. I tried on MAC as well on safari,firefox,camono and opera. Its working fine. I will share the sample project and the published version with you guys. Do try out.

    Attachments:
     
    |
    Mark as:
  • Currently Being Moderated
    Aug 19, 2009 7:15 AM   in reply to Vikram P

    I can now get this code to work in the preview in a browser mode but not in my actual browser. Im using IE 7.0. I do have javascript enabled in my browser.  Any other ideas on why it would work in preview and not in the actual browser.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 19, 2009 8:38 AM   in reply to RakhshandaE

    Hi RakhshandaE,

     

    It may be because of your flash security settings. Try adding the location of your published SWF to the trusted locations list.

     

    The flash security settings is here.

     

    http://www.macromedia.com/support/documentation/en/flashplayer/help/se ttings_manager04.html

     

     

     


     
    |
    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