SHARE
TWEET

Untitled

a guest Jun 20th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div id="divEntity" class="col-md-2 noPadding align-right">
  2.                 <asp:Label runat="server" ID="lblEntity" CssClass="labelText"></asp:Label>
  3.                 <span id="showEntity" class="trigger trigger-caret"></span>
  4.                 <ul id="ulMenu" class="ulMenuParent contextMenu-style lstTransactions">
  5.                     <li><a href="javascript:void(0)" onclick="BindCustomerGrid();"><%=(Resources.Resource.lblContacts)%></a></li>
  6.                     <li><a href="javascript:void(0)" onclick="BindInvoiceGrid();"><%=(Resources.Resource.Invoices)%></a></li>
  7.                     <li><a href="javascript:void(0)" onclick="BindProjectGrid();"><%=(Resources.Resource.ManageProposals)%></a></li>
  8.                     <li><a href="javascript:void(0)" onclick="BindProposalGrid();"><%=(Resources.Resource.Proposals)%></a></li>
  9.                     <li><a href="javascript:void(0)" onclick="BindPurchaseOrderGrid();"><%=(Resources.Resource.PurchaseOrders)%></a></li>
  10.                     <li><a href="javascript:void(0)" onclick="BindWorkOrderGrid();"><%=(Resources.Resource.WorkOrder)%></a></li>
  11.                 </ul>
  12.             </div>
  13.      
  14. $("#showEntity").on('mouseover', function () {
  15.     var offset = $(this).offset();
  16.     $(this).parent().find('ul').show().offset({ top: offset.top + 8, left: offset.left - 110 });
  17.  
  18. }).on('mouseout', function () {
  19.     $(this).parent().find('ul').hide();
  20. });
  21.      
  22. $("#showEntity").hover(function () {
  23.     var offset = $(this).offset();
  24.     $(this).parent().find('ul').show().offset({ top: offset.top + 8, left: offset.left - 110 });
  25. },function(){
  26.     $(this).parent().find('ul').hide();      
  27. });
  28.      
  29. #divEntity ul#ulMenu {
  30.      display: none;
  31.      position: absolute;
  32.  }
  33.  
  34.  
  35. .trigger {
  36.      background-image: url('../Image/p7PM_dark_south.gif');
  37.      background-repeat: no-repeat;
  38.      background-position: right center;
  39.      font-size: 1.1em;
  40.  }
  41.  
  42. .trigger-caret:hover {
  43.     background-color: #ebebeb;
  44.     border-color: #adadad;
  45.  }
  46.  
  47. .trigger-caret {
  48.     border: 1px solid #ccc !important;
  49.     border-radius: 3px !important;
  50.     padding: 0px 3px 0px 15px !important;
  51.  }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top