Skip to content

Instantly share code, notes, and snippets.

View rbtbar's full-sized avatar

Robert Bar rbtbar

View GitHub Profile
@rbtbar
rbtbar / jqueryUILayout-zIndex-auto-hack
Created October 10, 2014 20:18
Hack for setting an 'auto' z-index in the jQuery UI Layout plugin
/*
The following hack is useful if you plan to use seamlessly jQuery UI Layout plugin (https://github.com/allpro/layout)
and Bootstrap components, like Dropdown, Popover, Tooltip;
Otherwise you have to use special utiliy methods, like allowOverflow( elem_or_pane ), resetOverflow( elem_or_pane )
everytime you want to show/hide each and every component that may oveflow the pane.
*/
.ui-layout-pane { /* all 'panes' */