Supersized, show a div depending on the slide
- by Dlacrem
EDIT:
So, I want to take a different approach to try and clarify what I'm looking for, I've been reading as much as I could these last hours and I feel I have a better grasp of how the system works, but I still don't know how to accomplish my goal.
Reference links:
-SUPERSIZED API
So, I have the following script:
<script type="text/javascript">
$(document.body).ready(function () {
if (vars.current_slide == 5){**-I want it to display a div if the slider is the number 5-**
}
});
</script>
My questions are these:
1) What do I add in the - - area to display a div that only shows up when the slider is at the 5th slide?
2) Am I doing the rest right or am I missing something? I created that code so it could be terribly wrong lol, hopefuly I got something right :P
That's all, hope this clarifies it.
Thank you all for the help! I'm really excited to start creating my own scripts :D
Alright, so I've uploaded the site with the code you posted and it still doesn't seem to work, I also tried reducing the code to the conditional and the result only but that didn't work either, mind checking it out?
Click Here
Thanks for giving it a thought!