Changeset 482 for trunk/web-app


Ignore:
Timestamp:
May 27, 2010, 8:36:24 AM (11 years ago)
Author:
keesvb
Message:

solved compilation error, added relative date type, restructured menu's, changed topnav layout to also scrolldown on click on main buttons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/js/topnav.js

    r359 r482  
    11$(document).ready(function(){
    22    $("ul.subnav").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*)
    3     $("ul.topnav li span").click(function() { //When trigger is clicked...
     3    $("ul.topnav li").click(function() { //When trigger is clicked...
    44        //Following events are applied to the subnav itself (moving subnav up and down)
    5         $(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click
     5        $(this).find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click
    66        $(this).parent().hover(function() {
    77        }, function(){
Note: See TracChangeset for help on using the changeset viewer.