Thread:Project:Support desk/Help with error/reply (11)

And how would I start a js file with

var openDiv, $; function toggleDiv(divID) { $("#" + divID).fadeToggle(150, function {       openDiv = $(this).is(':visible') ? divID : null;    }); } $(document).click(function(e) {   if (!$(e.target).closest('#'+openDiv).length) {        toggleDiv(openDiv);    } }); $(function {  $('.usermenu > div').toggleClass('no-js js');  $('.usermenu .js div').hide;  $('.usermenu .js').click(function(e) { $('.usermenu .js div').fadeToggle(150); $('.usermenu').toggleClass('active'); e.stopPropagation; }); $(document).click(function { if ($('.usermenu .js div').is(':visible')) { $('.usermenu .js div', this).fadeOut(150); $('.usermenu').removeClass('active'); } }); });

$(function {  $('.actionmenu > div').toggleClass('no-js js');  $('.actionmenu .js div').hide;  $('.actionmenu .js').click(function(e) { $('.actionmenu .js div').fadeToggle(150); $('.clicker').toggleClass('active'); e.stopPropagation; }); $(document).click(function { if ($('.actionmenu .js div').is(':visible')) { $('.actionmenu .js div', this).fadeOut(150); $('.clicker').removeClass('active'); } }); });

in it