hi

i want link folllowing link :

http://www.flashmint.com/template-demo-4379.html

if link click by the user page should be turn.

i have following code :

$(function(){

var mag = $('#magazine');

// initiazlie turn.js on the #magazine div
mag.turn();

// turn.js defines its own events. We are listening
// for the turned event so we can center the magazine
mag.bind('turned', function(e, page, pageObj) {

if(page == 1 && $(this).data('done')){
mag.addClass('centerStart').removeClass('centerEnd');
}
else if (page == 6 && $(this).data('done')){
mag.addClass('centerEnd').removeClass('centerStart');
}
else {
mag.removeClass('centerStart centerEnd');
}

});

setTimeout(function(){
// Leave some time for the plugin to
// initialize, then show the magazine
mag.fadeTo(500,1);
},1000);


$(window).bind('keydown', function(e){

// listen for arrow keys

if (e.keyCode == 37){
mag.turn('previous');
}
else if (e.keyCode==39){
mag.turn('next');
}
/*if (e.keyCode == 38){
mag.turn('up');
}
else if (e.keyCode==40){
mag.turn('down');
}*/

});

});


turn.js is get on following link :

http://tutorialzine.com/2012/03/inst...ne-php-jquery/

please help me.