/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/examplesMenu.js

  • Committer: b11johgu
  • Date: 2013-05-14 12:30:38 UTC
  • mto: This revision was merged to the branch mainline in revision 65.
  • Revision ID: b11johgu@student.his.se-20130514123038-rthxj3f34o32gpxy
ExamplesController:
- Added expand/collapse arrows for categories/subcategories.
- Added category positioning (incomplete).

more general changes made.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        $('#navigation li.menuLink').click(function(e) {
9
9
            e.preventDefault();
10
10
                $this =$(this);
11
 
            var target = ($this.data('name') + ', h1[name="' + $this.data('name') + '"]'),
 
11
            var target = ($this.data('name') + ', h1[name="' + $this.data('name') + '"]');
12
12
            $target = $(target);
13
13
            $('html, body').stop().animate({
14
14
                'scrollTop': $target.offset().top -64