Hello Guru!
I have the following code. however, the code after the second “HELLO” comments line seems not get executed at all.
However, if I move down the 2 lines between the 2 “HELLO”‘s to the very bottom towards the end of the ready function, everything seems to work.
Is anybody able to find out what could be the problem? It really baffles me. ?
[CODE]$(document).ready(function () {
menu_main(‘navl’);
//HELLO!!!!
var sorter=new table.sorter(“sorter”);
sorter.init(“sorter”,1);
//HELLO!!!!
var el = document.getElementById(DASH.Nav);
var c1 = “current”;
$(‘#’+DASH.Nav).addClass(c1);
$(‘#inav’).find(‘a’).removeClass(‘theone’);
$(‘#’+DASH.theone).addClass(‘theone’);
$(‘#data’).css(‘width’,$(window).width()-290);
if ($(‘#cframe’).height() < $(window).height()-125) $(‘#cframe’).css(‘height’,$(window).height()-125);
$(‘#navl’).css(‘height’,$(‘#cframe’).height());
});