-
-/*
-$(document).mouseup(function (clickPos) {
-
- var sysMenu = $("#system-menu-list");
- var sysMenuLink = $(".system-menu-link");
- var contactsMenu = $("#contacts-menu-list");
- var contactsMenuLink = $(".contacts-menu-link");
- var networkMenu = $("#network-menu-list");
- var networkMenuLink = $(".network-menu-link");
-
- if( !sysMenu.is(clickPos.target) && !sysMenuLink.is(clickPos.target) && sysMenu.has(clickPos.target).length === 0) {
- hideNavMenu("#system-menu-list");
- }
- if( !contactsMenu.is(clickPos.target) && !contactsMenuLink.is(clickPos.target) && contactsMenu.has(clickPos.target).length === 0) {
- hideNavMenu("#contacts-menu-list");
- }
- if( !networkMenu.is(clickPos.target) && !networkMenuLink.is(clickPos.target) && networkMenu.has(clickPos.target).length === 0) {
- hideNavMenu("#network-menu-list");
- }
-});
-
-
-function getPageContent(url) {
-
- var pos = $('.main-container').position();
-
- $('.main-container').css('margin-left', pos.left);
- $('.main-content-container').hide(0, function () {
- $('.main-content-loading').show(0);
- });
-
- $.get(url, function(html) {
- console.log($('.main-content-container').html());
- $('.main-content-container').html( $('.main-content-container', html).html() );
- console.log($('.main-content-container').html());
- $('.main-content-loading').hide(function() {
- $('.main-content-container').fadeIn(800,function() {
- $('.main-container').css('margin-left', 'auto'); // This sucks -- if the CSS specification changes, this will be wrong
- });
- });
- });
-}
-*/
-