/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/js/sidemenu.js

  • Committer: Gustav Hatvigsson
  • Date: 2013-05-31 06:15:46 UTC
  • mfrom: (90.1.20 lenasys2)
  • Revision ID: gustav.hartvigsson@gmail.com-20130531061546-vj8z28sq375kvghq
Merged Jonsson:s changes:
Fixed the layout on cms index so the arrows and dots marks expanded objects.
Fixed so the course content is sorted by course occasion and not by name

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
The header should look something like this:
 
3
 
 
4
Copyright (C) Högskolan i Skövde <his.se> 2013.
 
5
Copyright (C) Erik Wikström <b10eriwi@student.his.se> 2013.
 
6
 
 
7
This file is part of LenaSYS
 
8
 
 
9
This program is free software: you can redistribute it and/or modify
 
10
it under the terms of the GNU Lesser General Public License as published by
 
11
the Free Software Foundation, either version 3 of the License.
 
12
 
 
13
This program is distributed in the hope that it will be useful,
 
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
GNU Lesser General Public License for more details.
 
17
 
 
18
You should have received a copy of the GNU Lesser General Public License
 
19
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
20
*/
 
21
 
 
22
/* Functions that run when the page loads */
 
23
$(document).ready(function() {
 
24
        $('#resolution').html($(window).width() + ' x ' + $(window).height() + ' px');
 
25
        $(window).resize(function() {
 
26
                $('#resolution').html($(window).width() + ' x ' + $(window).height() + ' px');
 
27
        });
 
28
});
 
 
b'\\ No newline at end of file'