source:
oceandb/jQuery_Prototype/script/oceandb.js
@
57
Last change on this file since 57 was 57, checked in by jazz, 15 years ago | |
---|---|
File size: 370 bytes |
Line | |
---|---|
1 | $(document).ready(function() { |
2 | $('#btnMenu').click(function() |
3 | { |
4 | if($('#map-menu').css("display") != "none") |
5 | { |
6 | $('#map-menu').css({ display: 'none' }); |
7 | $('#map').css({ width: '100%' }); |
8 | } else { |
9 | $('#map-menu').css({ display: 'block'}); |
10 | $('#map').css({ width: '80%'}); |
11 | } |
12 | }); |
13 | |
14 | $('#map-menu').accordion({ header: "h3" }); |
15 | }); |
Note: See TracBrowser
for help on using the repository browser.