mystickymenu
Last commit date
js
11 years ago
languages
11 years ago
mystickymenu.php
11 years ago
readme.txt
11 years ago
readme.txt
122 lines
| 1 | === myStickymenu === |
| 2 | Contributors: damiroquai |
| 3 | Donate link: http://wordpress.transformnews.com |
| 4 | Tags: sticky menu, twentythirteen, twenty-thirteen, plugin, menu, jquery, sticky header, header, sticky, sticky navigation |
| 5 | Requires at least: 3.5.1 |
| 6 | Tested up to: 4.0 |
| 7 | Stable tag: 1.8 |
| 8 | License: GPLv2 or later |
| 9 | |
| 10 | This modern lightweight plugin will made your menu or header sticky on top of page, after desired number of pixels when scrolled. |
| 11 | |
| 12 | == Description == |
| 13 | Plugin is designed for Twenty Thirteen template but should work on any theme. By default, it uses Twenty Thirteen navigation css class ".navbar" under "Sticky Class" setting field and that should be modified for other themes (if different) to make it work. Don’t forget this, it’s a mandatory field. |
| 14 | |
| 15 | Plugin is localized (multi language support) and responsive (as far as your theme is). Also there is possibility to add custom css code which make this plugin very flexible, customizable and user friendly. |
| 16 | |
| 17 | Another advancement of this simple plugin is that increases usability and page views of your WordPress site since menu is available to the user all the time. |
| 18 | |
| 19 | Plugin Home + Demo URL: http://wordpress.transformnews.com/plugins/mystickymenu-simple-sticky-fixed-on-top-menu-implementation-for-twentythirteen-menu-269 |
| 20 | |
| 21 | == Installation == |
| 22 | Install like any other plugin. After install activate. If using template other than Twenty Thirteen go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.. |
| 23 | |
| 24 | |
| 25 | == Frequently Asked Questions == |
| 26 | |
| 27 | = How to find Sticky Class, what should I enter here? = |
| 28 | So this depends on what you want to make sticky and what theme do you use, but for example if you want your menu to be sticky, than you can examine the code (in firefox right click and “View page source”) and find div in which your menu is situated. This div have some class or id, and that’s the Sticky Class we need. If using class than don’t forget to ad dot (.) in front of class name, or hash (#) in front of id name in Sticky Class field. Twenty Thirteen default working class is ".navbar" without of quotes. |
| 29 | |
| 30 | = Is there any way to restrict the width to the width of the header, rather than it being full width? = |
| 31 | Yes, just leave "Sticky Background Color" field blank (clear). Than if needed define custom background color for sticky header inside ".myfixed css class" field using .myfixed class. |
| 32 | |
| 33 | |
| 34 | == Screenshots == |
| 35 | |
| 36 | 1. screenshot-1.png shows administration settings. |
| 37 | 2. screenshot-2.png shows menu when page is scrolled towards the bottom. |
| 38 | |
| 39 | |
| 40 | == Changelog == |
| 41 | |
| 42 | = 1.8 = |
| 43 | * Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages. |
| 44 | * Added German language |
| 45 | |
| 46 | = 1.7 = |
| 47 | * Added multi language support (localization). |
| 48 | * Added languages - English (default), Spanish, Serbian and Croatian. |
| 49 | * Added Iris color picker script. |
| 50 | * Fixed jumping of page on scroll while menu is activated (height is defined before scroll event). |
| 51 | * mystickymenu.js moved to js folder |
| 52 | |
| 53 | = 1.6 = |
| 54 | * Added: "Make visible when scroled" after number of pixels option. |
| 55 | * Fixed opacity 100 bug. |
| 56 | |
| 57 | = 1.5 = |
| 58 | * Added option to enter exact width in px when sticky menu should be disabled "Disable at Small Screen Sizes". |
| 59 | * Added “.myfixed css class” setting field – edit .myfixed css style via plugin settings to create custom style. |
| 60 | * Fixed google adsense clash and undefined index notice. |
| 61 | * is_user_logged_in instead of old “Remove CSS Rules for Static Admin Bar while Sticky” option |
| 62 | |
| 63 | = 1.4 = |
| 64 | * Added fade in or slide down effect settings field for sticky class. |
| 65 | * Added new wrapped div around selected sticky class with id mysticky_wrap which should make menu works smoother and extend theme support. |
| 66 | |
| 67 | = 1.3 = |
| 68 | * Added "block direct access" to the mystickymenu plugin file (for security sake). |
| 69 | * Added Enable / Disable at small screen sizes and Remove not necessary css for all themes without admin bar on front page. |
| 70 | * Added “margin-top :0px” to .myfixed class in head which should extend theme support. |
| 71 | |
| 72 | = 1.2 = |
| 73 | * Fixed mystickymenu.js for IE browsers, so myStickymenu is now compatible with IE 10, 11 |
| 74 | |
| 75 | = 1.1 = |
| 76 | * Added administration options, now available through Dashboard / Settings / myStickymenu. Options are as follows: Sticky Class, Sticky z-index, Sticky Width, Sticky Background Color, Sticky Opacity, Sticky Transition Time. |
| 77 | * Old mystickymenu.css file is deprecated and not in use anymore. |
| 78 | |
| 79 | = 1.0 = |
| 80 | * First release of myStickymenu plugin |
| 81 | |
| 82 | == Upgrade Notice == |
| 83 | |
| 84 | = 1.8 = |
| 85 | * Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages. |
| 86 | |
| 87 | = 1.7 = |
| 88 | * Added multi language support (localization). |
| 89 | * Added Iris color picker script. |
| 90 | * Fixed jumping of page on scroll while menu is activated (height defined before scroll event). |
| 91 | * mystickymenu.js moved to js folder |
| 92 | |
| 93 | = 1.6 = |
| 94 | * After plugin update go to mystickymenu plugin settings and save changes with desired value for a new parameters. Clear cache if some cache system used on your site. |
| 95 | * Added: “Make visible when scroled” after number of pixels option. |
| 96 | * Fixed opacity 100 bug. |
| 97 | |
| 98 | = 1.5 = |
| 99 | * Added option to enter exact width in px when sticky menu should be disabled "Disable at Small Screen Sizes". |
| 100 | * Added “.myfixed css class” setting field – edit .myfixed css style via plugin settings to create custom style. |
| 101 | * Fixed google adsense clash and undefined index notice. |
| 102 | * is_user_logged_in instead of old "Remove CSS Rules for Static Admin Bar while Sticky" option |
| 103 | |
| 104 | = 1.4 = |
| 105 | * Added fade in or slide down effect settings field for sticky class. |
| 106 | * Added new wrapped div around selected sticky class with id mysticky_wrap. |
| 107 | |
| 108 | = 1.3 = |
| 109 | * Added "block direct access" to the mystickymenu plugin file. |
| 110 | * Added Enable / Disable at small screen sizes and Remove not necessary css. |
| 111 | * Added "margin-top :0px" to .myfixed class in head which should extend theme support. |
| 112 | |
| 113 | = 1.2 = |
| 114 | * Fixed mystickymenu.js for IE browsers, so myStickymenu is now compatible with IE 10, 11 |
| 115 | |
| 116 | = 1.1 = |
| 117 | * Added administration options, now available through Dashboard / Settings / myStickymenu. Options are as follows: Sticky Class, Sticky z-index, Sticky Width, Sticky Background Color, Sticky Opacity, Sticky Transition Time. |
| 118 | * Old mystickymenu.css file is deprecated and not in use anymore. |
| 119 | |
| 120 | |
| 121 | |
| 122 |