/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: a11andoh
  • Date: 2013-05-31 06:21:54 UTC
  • mfrom: (135 lenasys_b)
  • mto: This revision was merged to the branch mainline in revision 137.
  • Revision ID: a11andoh@student.his.se-20130531062154-x18nki8dufjub99h
blurp

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
 
1
22
/* Functions that run when the page loads */
2
23
$(document).ready(function() {
3
 
        $('#resolution').html($(window).width() + ' x ' + $(window).height());
 
24
        $('#resolution').html($(window).width() + ' x ' + $(window).height() + ' px');
4
25
        $(window).resize(function() {
5
 
                $('#resolution').html($(window).width() + ' x ' + $(window).height());
 
26
                $('#resolution').html($(window).width() + ' x ' + $(window).height() + ' px');
6
27
        });
7
28
});
 
 
b'\\ No newline at end of file'