$(document).ready(function() { var xcl=null; $(document).on("mouseenter", "#treeDiv-disabled", function(e) { $("#catData").stop(true, true).slideDown(); }); $(document).on("mouseleave", "#treeDiv-disabled", function(e) { $("#catData").stop(true, true); pd="*"+$("#productData").html()+"*"; if (pd != "*null*") { $("#productData").stop(true, true).slideDown(); } $.post("htmldb_istore_sections.categoryDefault", {p_catid : "364" , sess : "&SESSION." , APP_ID : "&APP_ID." } , function(data) { $("#catData").html(data); $("#catData").css("height", $("#catDataTable").height()); }); }); $(document).on("mouseenter", ".tree li-disabled", function(e) { $("#catData").stop(true, true); $("#catData").clearQueue(); e.stopPropagation(); id=$(this).attr("id"); try { xcl.abort(); } catch(ce) {} xcl = $.post("htmldb_istore_sections.categories", {p_catid : id , sess : "&SESSION." , APP_ID : "&APP_ID." } , function(data) { if (data.length>100) { $("#catData").html(data); $("#catData").css("height", $("#catDataTable").height()); $("#catData").stop(true, true).slideDown(); } }); }); }); function start() { apex.jQuery.tree.reference("tree1504233503435163070").open_branch(apex.jQuery("#364")); $.post("htmldb_istore_sections.categoryDefault", {p_catid : "364" , sess : "&SESSION." , APP_ID : "&APP_ID." } , function(data) { $("#catData").html(data); $("#catData").css("height", $("#catDataTable").height()); }); }