I am trying to have the start slide on bxslider controlled by a query string. For example, the url http://page.html?id=3 would start slide three and the user could then advance the slides in an infinite loop. The code I currently have is:
$(document).ready(function(){
$('.bxslider').bxSlider({
startSlide: 0,
infiniteLoop: true,
});
});
I am not sure how to pull the query string value and then insert its value into the startSlide. Any help would be appreciated.