/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-30 12:02:31 UTC
  • mfrom: (85.1.28 lenasys)
  • Revision ID: gustav.hartvigsson@gmail.com-20130530120231-ttqgqjqw2w8enn7g
Merged Ohlsons changes:
added function to get ssn and name for the registrationspages in the user model.
added the registrationpage for students.
edited the registration page for instructors
edited the css for both the registrationpages
minor fix to registration css

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