Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 1.09 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Cannot hide context menu made by jeegoocontext
  2. $(document).ready(function(){
  3.     var aMenuOptions = {
  4.         widthOverflowOffset: 0,
  5.         heightOverflowOffset: 1,
  6.         startLeftOffset: -20,
  7.         event: "mouseover",
  8.         openBelowContext: true,
  9.         autoHide: true,
  10.         delay: 100,
  11.         onSelect: function(e, context){
  12.             if($(this).hasClass("disabled"))
  13.             {              
  14.                 return false;
  15.             } else {
  16.                 window.location = $(this).find("a").attr("href");
  17.                 return false;
  18.             }
  19.         },
  20.     };
  21.     $('#tab_genes').jeegoocontext('menu_tab_genes', aMenuOptions);
  22.     $('#tab_transcripts').jeegoocontext('menu_tab_transcripts', aMenuOptions);
  23.     $('#tab_variants').jeegoocontext('menu_tab_variants', aMenuOptions);
  24.     $('#tab_individuals').jeegoocontext('menu_tab_individuals', aMenuOptions);
  25.     $('#tab_diseases').jeegoocontext('menu_tab_diseases', aMenuOptions);
  26.     $('#tab_screenings').jeegoocontext('menu_tab_screenings', aMenuOptions);
  27.     $('#tab_submit').jeegoocontext('menu_tab_submit', aMenuOptions);
  28. });