Same as the sans jQuery version from which it was forked but with jQuery.
A Pen by Andrew Patton on CodePen.
Same as the sans jQuery version from which it was forked but with jQuery.
A Pen by Andrew Patton on CodePen.
| (function(doc) { | |
| // Add touch device support for dropdown menu | |
| if (('addEventListener' in doc) && ('querySelectorAll' in doc) && (('ontouchstart' in window) || ('onmsgesturechange' in window))) { | |
| var menu_item_selector = '.the-menu > div > ul > li', | |
| menu_items = doc.querySelectorAll(menu_item_selector), | |
| touchStart; | |
| // Set up touch start handler | |
| touchStart = function() { | |
| if (this.className.indexOf(' tapped') > -1) { |
| <?php | |
| /** | |
| * Filter TinyMCE wysiwig editor to include custom button | |
| * | |
| * @since MyTheme 1.0 | |
| * | |
| * @param $buttons TinyMCE button array | |
| * @return $buttons TinyMCE button array | |
| */ |
| # Copyright (C) 2010 Shopp | |
| # This file is distributed under the same license as the Shopp package. | |
| msgid "" | |
| msgstr "" | |
| "Project-Id-Version: Shopp 1.2dev\n" | |
| "Report-Msgid-Bugs-To: http://wordpress.org/tag/shopp\n" | |
| "POT-Creation-Date: 2011-06-01 16:14:53+00:00\n" | |
| "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n" | |
| "MIME-Version: 1.0\n" | |
| "Content-Type: text/plain; charset=UTF-8\n" |