On the "about" page of my website, the click of the "Next" button will go through a few slides. This is done using a variable called "count", and jquery:
$("#NextBtn").click(function() {
count = count + 1
});
And
$("#NextBtn").click(function(){
/*on count=0, the background image is shown*/
if (count==1) {
$('#slides').slideToggle();
};
if (count==2) {
$("#slide_1").hide()
$("#slide_2").show()
};
if (count==3) {
$("#slide_2").hide()
$("#slide_3").show()
};
On the click of a link on my home page (./*home.html), i would like to send the user to this "about" page, with slide number 2 displayed.
<a href="./*about.html">Click here</a>
How can I do this? Can i pass the redirection a value of "count"? Can i tell jquery that if the user is coming from the home page, display slide 2?
I'm at loss as to what to do... Thanks a lot for your help!