Oskar's public fiddles
-
a28xjv4L
No-Library (pure JS), HTML, CSS, JavaScript
-
coxg26vw
jQuery (edge), HTML, CSS, JavaScript
-
React Base Fiddle (JSX)
Starting point for creating JSFiddles with React. This uses React with Addons.
-
1gayqwnk
No-Library (pure JS), HTML, CSS, JavaScript
-
8hf48f15
jQuery 1.9.1, HTML, CSS, JavaScript
-
Keep Bootstrap Popover open when you hover over content
Popover with 'trigger: hover' option disappears when you move mouse away from the trigger element – even if you move mouse to the actual popover. Try to click a darn link in the popover. Sometimes while moving mouse from popover trigger to actual popover content diagonally, you hover over elements below. I wanted to handle such situations – as long as you reach popover content before the timeout fires, you're save (the popover won't disappear). It requires delay option. This hack basically overrides Popover leave function, but calls the original (which starts timer to hide the popover). Then it attaches a one-off listener to mouseenter popover content element's. If mouse enters the popover, the timer is cleared. Then it turns it listens to mouseleave on popover and if it's triggered, it calls the original leave function so that it could start hide timer.
-
vw184emn
jQuery 1.11.0, HTML, CSS, JavaScript
-
tL69L3sL
jQuery 1.11.0, HTML, CSS, JavaScript
-
Form
jQuery 1.9.1, HTML, CSS, JavaScript
-
Bootstrap 3.0 Popover Sample
jQuery 2.0.2, HTML, CSS, JavaScript