You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
///////////////////////////////
|
|
|
|
// all jQuery stuff here
|
|
|
|
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
|
|
|
$(document).on('click', '#paper_1', function(){
|
|
|
|
$("#readme_1").show();
|
|
|
|
});
|
|
|
|
$(document).on('click', '#paper_2', function(){
|
|
|
|
$("#readme_2").show();
|
|
|
|
});
|
|
|
|
$(document).on('click', '#paper_3', function(){
|
|
|
|
$("#readme_3").show();
|
|
|
|
});
|
|
|
|
$(document).on('click', '#paper_4', function(){
|
|
|
|
$("#readme_4").show();
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*go back+go forward buttons
|
|
|
|
function goBack() {
|
|
|
|
window.history.back();
|
|
|
|
}
|
|
|
|
function goForward() {
|
|
|
|
window.history.go(1);
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//to switch divs inside the container div
|
|
|
|
|
|
|
|
function show(param_div_id) {
|
|
|
|
document.getElementById("container").innerHTML = document.getElementById(param_div_id).innerHTML;
|
|
|
|
}
|
|
|
|
|
|
|
|
function goBack(){
|
|
|
|
document.getElementById("2_park_newspaper").style.visibility = "hidden";
|
|
|
|
|
|
|
|
}
|
|
|
|
|