-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnav.html
More file actions
28 lines (26 loc) · 761 Bytes
/
nav.html
File metadata and controls
28 lines (26 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<script type="text/javascript">
$(document).ready(function(){
$('#home').bind('click', function() {
window.location.href = 'home.html';
return false;
});
$('#info').bind('click', function() {
window.location.href = 'info.html';
return false;
});
$('#gallery').bind('click', function() {
window.location.href = 'gallery.html';
return false;
});
$('#contact').bind('click', function() {
window.location.href = 'contact.html';
return false;
});
var page = $('#nav').attr('page');
$('#'+page).addClass('selected').unbind('click');
});
</script>
<div id="home">Home</div>
<div id="info">Club Info</div>
<div id="gallery">Galleries</div>
<div id="contact">Contact</div>