Javascript Next and Previous Buttons
Hi,
So i am trying to create a Next and Previous button with Html, Css and Javascript. The reason for this is because it's retina friendly.
I have found this post: Javascript go to next slide from Web Object and tried to add the following line of code in my html file:
<button type="button" onclick="parent.cp.goToNextSlide()">Continue</button>
So the html file looks like this:
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<button class="volgende" type="button" onclick="parent.cp.goToNextSlide()">Go to next slide</button>
</body>
</html>
I published the file on my webserver and added the link in a web object in Captivate.
Unfortunately the button doesn't work.
Does anyone knows what i'm doing wrong here?
