daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Sep 14th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Jquery selectMenu creates line break (can't get it to display inline)
  2. <div id="divReports">
  3. <select id="ddlReportTypes" style="width:200px;"></select>
  4. <select id="ddlReportFarms" style="width:200px;"></select>
  5. <select id="ddlReportClusters" style="width:200px;"></select>
  6. </div>
  7.    
  8. $("#divReports select").selectmenu({
  9. style: 'dropdown',
  10. transferClasses: true
  11. });
  12.    
  13. <select id="ddlReportTypes" style="width: 200px; display: none;">
  14. <a id="ddlReportTypes-button" class="ui-selectmenu ui-widget ui-state-default      ui-selectmenu-dropdown ui-corner-all" aria-owns="ddlReportTypes-menu" aria-haspopup="true" href="#" role="button" style="width: 200px;">
  15. <span class="ui-selectmenu-status">Traffic variance report </span>
  16. <span class="ui-selectmenu-icon ui-icon ui-icon-triangle-1-s"></span>
  17. </a>
  18.  
  19. <select id="ddlReportFarms" style="width: 200px; display: none;">
  20. <a id="ddlReportFarms-button" class="ui-selectmenu ui-widget ui-state-default ui-corner-all ui-selectmenu-dropdown" aria-owns="ddlReportFarms-menu" aria-haspopup="true" href="#" role="button" style="width: 200px; display: block;">
  21.  
  22. <select id="ddlReportClusters" style="width: 200px; display: none;">
  23. <a id="ddlReportClusters-button" class="ui-selectmenu ui-widget ui-state-default ui-corner-all ui-selectmenu-dropdown" aria-owns="ddlReportClusters-menu" aria-haspopup="true" href="#" role="button" style="width: 200px; display: block;">
  24.    
  25. .ui-selectmenu {
  26.     display: block;
  27. }
  28.    
  29. .ui-selectmenu {
  30.   display:-moz-inline-stack;
  31.   display:inline-block;
  32.   zoom:1;
  33.   *display:inline; /* To make IE7 happy */
  34. } ​​​​​​​
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