Skip to content

Instantly share code, notes, and snippets.

@swinggraphics
swinggraphics / oxygen-pro-menu-tap-sub-menu.js
Created November 2, 2020 18:38
Activate Pro Menu desktop dropdowns on tap
$('document').ready(function(){
/* Activate Pro Menu desktop dropdowns on tap */
$('.oxy-pro-menu-list .menu-item-has-children > a').on('touchstart', function(event){
var $this = $(this);
if ( $this.parents('.oxy-pro-menu-off-canvas-container, .oxy-pro-menu-open-container').length ) return;
event.preventDefault();
event.stopPropagation();
$('body').trigger('touchstart.mouseout');
$this.parent().trigger('mouseenter');
@darkyen
darkyen / gist:120c46739985ebf3b39b
Created June 10, 2015 03:40
Ferengi Rules of Acquisition [Complete List*]
1 "Once you have their money, you never give it back." "The Nagus" (DS9 episode)
2 "The best deal is the one that makes the most profit." The 34th Rule (DS9 novel)
3 "Never spend more for an acquisition than you have to." "The Maquis, Part II" (DS9 episode)
4 "A woman wearing clothes is like a man in the kitchen." The Ferengi Rules of Acquisition (DS9 novel)
5 "Always exaggerate your estimates." Cold Fusion (SCE novel)
6 "Never let family stand in the way of opportunity." "The Nagus" (DS9 episode)
7 "Always keep your ears open." "In the Hands of the Prophets" (DS9 episode)
8 "Small print leads to large risk." The Ferengi Rules of Acquisition (DS9 novel)
9 "Instinct, plus opportunity, equals profit." "The Storyteller" (DS9 episode)
10 "Greed is eternal." "Prophet Motive" (VOY episode)