Version Description
- Added: If Make visible on Scroll is set to 0 automatic activation and deactivation scroll height will be used (useful for responsive designs).
- Added: Tabs for settings.
- Added: option to disable on scroll down (show only on scroll up).
- Added: Class .up and .down on scroll up or down.
- Added: Reset to default settings.
- Added: remove myStickymenu settings on plugin uninstall.
- Added: index.php to plugin root to prevent directory browsing.
- Fixed: If sticky menu class does not exist (null or undefined), it will show console log instead of error.
- Fixed: slide effect now slides on deactivate as well.
- Fixed: admin bar overlap for screens less than 600 px wide.
Download this release
Release Info
Developer | damiroquai |
Plugin | myStickymenu |
Version | 2.0 |
Comparing to | |
See all releases |
Code changes from version 1.9.1 to 2.0
- index.php +1 -0
- js/mystickymenu.js +580 -55
- js/mystickymenu.min.js +1 -1
- languages/mystickymenu-de_DE.mo +0 -0
- languages/mystickymenu-de_DE.po +143 -58
- languages/mystickymenu-es_ES.mo +0 -0
- languages/mystickymenu-es_ES.po +143 -58
- languages/mystickymenu-hr_HR.mo +0 -0
- languages/mystickymenu-hr_HR.po +143 -58
- languages/mystickymenu-rs_RS.mo +0 -0
- languages/mystickymenu-rs_RS.po +143 -58
- languages/mystickymenu.mo +0 -0
- languages/mystickymenu.po +111 -46
- mystickymenu.php +302 -86
- readme.txt +20 -8
- uninstall.php +7 -0
index.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php // Silence is Golden
|
js/mystickymenu.js
CHANGED
@@ -1,77 +1,602 @@
|
|
1 |
/*!
|
2 |
* myStickymenu by m.r.d.a
|
3 |
-
*
|
4 |
*/
|
5 |
|
6 |
(function( $ ) {
|
7 |
-
|
8 |
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
|
19 |
-
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
-
|
51 |
-
|
52 |
-
var mydivWidth = ((mysticky_navbar.offsetWidth) + 'px');
|
53 |
-
var mydivReset = '';
|
54 |
-
|
55 |
-
var y = hasScrollY ? window.scrollY : document.documentElement.scrollTop;
|
56 |
-
y >= origOffsetY ? mysticky_navbar.classList.add('myfixed') : mysticky_navbar.classList.remove('myfixed');
|
57 |
-
y >= origOffsetY ? wrappernav.classList.add('wrapfixed') : wrappernav.classList.remove('wrapfixed');
|
58 |
-
y >= origOffsetY ? mysticky_navbar.style.width = mydivWidth : mysticky_navbar.style.width = mydivReset;
|
59 |
-
y >= origOffsetY ? wrappermysticky.style.height = mydivHeight : wrappermysticky.style.height = mydivReset;
|
60 |
-
}
|
61 |
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
|
73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
}
|
75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
})(jQuery);
|
1 |
/*!
|
2 |
* myStickymenu by m.r.d.a
|
3 |
+
* v2
|
4 |
*/
|
5 |
|
6 |
(function( $ ) {
|
7 |
+
"use strict";
|
8 |
|
9 |
+
jQuery(document).ready(function($){
|
10 |
+
|
11 |
+
|
12 |
+
|
13 |
+
// get Sticky Class setting if class name existts
|
14 |
+
if ($(option.mystickyClass)[0]){
|
15 |
+
|
16 |
+
// Do something if class exists
|
17 |
+
var mystickyClass = document.querySelector(option.mystickyClass);
|
18 |
+
|
19 |
+
// get disable at small screen size setting
|
20 |
+
var disableWidth = parseInt(option.disableWidth);
|
21 |
+
|
22 |
+
// get body width
|
23 |
+
//var bodyWidth = parseInt(document.body.clientWidth);
|
24 |
+
|
25 |
+
// get transition effect (slide or fade)
|
26 |
+
var mystickyTransition = option.mystickyTransition;
|
27 |
+
|
28 |
+
// get activaton height setting
|
29 |
+
var activationHeight = parseInt(option.activationHeight);
|
30 |
+
|
31 |
+
// if is admin bar showing, needed for auto calc of activation height when admin bar is showing
|
32 |
+
var adminBar = option.adminBar;
|
33 |
+
|
34 |
+
// disable on scroll down
|
35 |
+
var mysticky_disable_down = option.mysticky_disable_down;
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
|
45 |
+
var viewportWidth;
|
46 |
+
|
47 |
+
|
48 |
+
function calcViewportWidth(e){
|
49 |
+
|
50 |
+
// Calculate actual viewport width
|
51 |
+
var e = window, a = 'inner';
|
52 |
+
|
53 |
+
if (!('innerWidth' in window )) {
|
54 |
+
a = 'client';
|
55 |
+
e = document.documentElement || document.body;
|
56 |
+
}
|
57 |
+
viewportWidth = e[ a+'Width' ];
|
58 |
+
|
59 |
+
|
60 |
+
}
|
61 |
+
|
62 |
+
|
63 |
+
calcViewportWidth();
|
64 |
+
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
|
70 |
+
|
71 |
+
|
72 |
+
var parentmysticky = mystickyClass.parentNode;
|
73 |
+
|
74 |
+
var wrappermysticky = document.createElement('div');
|
75 |
+
var position = 0;
|
76 |
+
for(var i = 0; i < parentmysticky.childNodes.length; i++) {
|
77 |
+
if(parentmysticky.childNodes[i] == mystickyClass) {
|
78 |
+
position = i;
|
79 |
+
break;
|
80 |
+
}
|
81 |
+
}
|
82 |
+
|
83 |
+
wrappermysticky.id = 'mysticky-wrap';
|
84 |
+
wrappermysticky.appendChild(mystickyClass);
|
85 |
+
parentmysticky.insertBefore(wrappermysticky, parentmysticky.childNodes[position]);
|
86 |
|
87 |
+
var parentnav = mystickyClass.parentNode;
|
88 |
+
var wrappernav = document.createElement('div');
|
89 |
+
wrappernav.id = 'mysticky-nav';
|
90 |
+
parentnav.replaceChild(wrappernav, mystickyClass);
|
91 |
+
wrappernav.appendChild(mystickyClass);
|
92 |
+
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
|
97 |
|
98 |
+
|
99 |
+
|
100 |
+
// get activation height from settings
|
101 |
+
if ( activationHeight == "0" ) {
|
102 |
+
var autoActivate = true;
|
103 |
+
}
|
104 |
+
|
105 |
+
|
106 |
+
|
107 |
+
|
108 |
+
|
109 |
+
|
110 |
+
|
111 |
|
112 |
|
113 |
+
|
114 |
+
|
115 |
+
|
116 |
+
|
117 |
+
|
118 |
+
|
119 |
+
|
120 |
+
|
121 |
+
|
122 |
+
var mydivHeight;
|
123 |
+
|
124 |
+
|
125 |
+
function initialDivHeight(){
|
126 |
+
|
127 |
+
|
128 |
+
|
129 |
+
|
130 |
+
// get initial element height of selected sticky class
|
131 |
+
mydivHeight = (mystickyClass.offsetHeight);
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
// when initial element have margin bottom - awaken example using #masthead class
|
136 |
+
|
137 |
+
if (parseInt($(mystickyClass).css("marginBottom")) > 0) {
|
138 |
+
|
139 |
+
// element have margin bottom, apply it to initial wrap
|
140 |
+
//$(mystickyClass).css("marginBottom").replace('px', '')
|
141 |
+
wrappermysticky.style.marginBottom = ($(mystickyClass).css("marginBottom"));
|
142 |
+
}
|
143 |
+
|
144 |
+
|
145 |
+
if (mydivHeight == "0") {
|
146 |
+
// something is wrong, wrapper cant be zero, if so content will jump while scroll. Awaken theme (for example) with .awaken-navigation-container class selected will use this part. Calculate height based on element children height
|
147 |
|
148 |
+
$(mystickyClass).children().filter(':visible').each(function(){
|
149 |
+
mydivHeight = $(this).outerHeight(true);
|
150 |
+
|
151 |
+
});
|
152 |
+
|
153 |
+
}
|
154 |
+
|
155 |
+
if (viewportWidth >= disableWidth) {
|
156 |
+
//wrappermysticky.style.height = mydivHeight + 'px';
|
157 |
+
}
|
158 |
+
}
|
159 |
+
|
160 |
+
initialDivHeight();
|
161 |
+
|
162 |
+
|
163 |
+
|
164 |
+
|
165 |
+
var myfixedHeight;
|
166 |
|
167 |
+
function fixedDivHeight(){
|
168 |
+
//if ( autoActivate == true ) {
|
169 |
+
|
170 |
+
// calculate element height while fixed
|
171 |
+
|
172 |
+
mystickyClass.classList.add('myfixed')
|
173 |
+
|
174 |
+
myfixedHeight = $(".myfixed").outerHeight();
|
175 |
+
|
176 |
+
if (myfixedHeight == "0") {
|
177 |
+
// something is wrong, wrapper cant be zero, try to calculate again with div children.
|
178 |
+
$(".myfixed").children().filter(':visible').each(function(){
|
179 |
+
myfixedHeight = $(this).outerHeight(true);
|
180 |
+
});
|
181 |
+
}
|
182 |
+
|
183 |
+
mystickyClass.classList.remove('myfixed');
|
184 |
+
|
185 |
+
//}
|
186 |
+
|
187 |
+
}
|
188 |
+
|
189 |
+
fixedDivHeight();
|
190 |
+
|
191 |
+
|
192 |
+
|
193 |
+
|
194 |
+
|
195 |
+
|
196 |
+
|
197 |
+
|
198 |
+
|
199 |
+
|
200 |
+
var adminBarHeight = 0;
|
201 |
+
|
202 |
+
|
203 |
+
function calcAdminBarHeight(){
|
204 |
+
|
205 |
+
|
206 |
+
|
207 |
+
|
208 |
+
if ((adminBar == "true" ) && (viewportWidth > 600)) {
|
209 |
+
// below 600 px adminbar is not fixed anymore
|
210 |
+
adminBarHeight = $('#wpadminbar').height();
|
211 |
+
|
212 |
+
|
213 |
+
|
214 |
+
} else {
|
215 |
+
|
216 |
+
adminBarHeight = 0;
|
217 |
+
}
|
218 |
+
|
219 |
+
|
220 |
+
//wrappernav.style.top = adminBarHeight + "px";
|
221 |
+
|
222 |
+
if (mystickyTransition == "on") {
|
223 |
+
|
224 |
+
wrappernav.style.top = "-" + myfixedHeight + "px";
|
225 |
+
//wrappernav.style.top = "-" + myfixedHeight + "px";
|
226 |
+
|
227 |
+
} else {
|
228 |
+
wrappernav.style.top = adminBarHeight + "px";
|
229 |
+
|
230 |
+
}
|
231 |
+
|
232 |
+
}
|
233 |
+
|
234 |
+
|
235 |
+
|
236 |
+
calcAdminBarHeight();
|
237 |
+
|
238 |
+
|
239 |
+
|
240 |
+
|
241 |
+
|
242 |
+
|
243 |
+
|
244 |
+
|
245 |
+
|
246 |
+
|
247 |
+
|
248 |
+
var mydivWidth;
|
249 |
+
|
250 |
+
|
251 |
+
function initialDivWidth(){
|
252 |
+
|
253 |
+
var rect = $(mystickyClass)[0].getBoundingClientRect();
|
254 |
+
mydivWidth = rect.width;
|
255 |
+
|
256 |
+
//var mydivWidth = ((mystickyClass.offsetWidth) + 'px');
|
257 |
+
//mystickyClass.style.width = mydivWidth + "px";
|
258 |
+
|
259 |
+
|
260 |
+
}
|
261 |
+
|
262 |
+
initialDivWidth();
|
263 |
+
|
264 |
+
|
265 |
+
|
266 |
+
|
267 |
+
|
268 |
+
|
269 |
+
|
270 |
+
|
271 |
+
|
272 |
+
|
273 |
+
|
274 |
+
|
275 |
+
|
276 |
+
|
277 |
+
|
278 |
+
|
279 |
+
var deactivationHeight = activationHeight;
|
280 |
+
|
281 |
+
function CalcActivationHeight() {
|
282 |
+
|
283 |
+
// If activate height (Make visible on Scroll) is set to 0, automatic calculation will be used.
|
284 |
+
if ( autoActivate == true ) {
|
285 |
+
|
286 |
+
// Automatic calculation of activation and deactivation height (Make visible on Scroll is set to 0).
|
287 |
+
if (mystickyTransition == "on") {
|
288 |
+
// Slide effect is selected
|
289 |
+
//activationHeight = $(mystickyClass).offset().top + mystickyClass.offsetHeight - adminBarHeight;
|
290 |
+
activationHeight = $(mystickyClass).offset().top + mydivHeight - adminBarHeight;
|
291 |
+
deactivationHeight = $(mystickyClass).offset().top + mydivHeight - adminBarHeight;
|
292 |
+
//deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
|
293 |
+
|
294 |
+
if (mysticky_disable_down == "on") {
|
295 |
+
deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
|
296 |
+
|
297 |
+
}
|
298 |
+
|
299 |
+
}
|
300 |
+
|
301 |
+
if (mystickyTransition == "fade") {
|
302 |
+
|
303 |
+
if (mysticky_disable_down == "false") {
|
304 |
+
// Fade effect is selected
|
305 |
+
activationHeight = $(mystickyClass).offset().top - adminBarHeight;
|
306 |
+
|
307 |
+
deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
|
308 |
+
|
309 |
+
}
|
310 |
+
|
311 |
+
if (mysticky_disable_down == "on") {
|
312 |
+
|
313 |
+
// Fade effect is selected
|
314 |
+
activationHeight = $(mystickyClass).offset().top - adminBarHeight + mydivHeight;
|
315 |
+
deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
|
316 |
+
|
317 |
+
}
|
318 |
+
|
319 |
+
}
|
320 |
+
|
321 |
+
}
|
322 |
+
|
323 |
+
}
|
324 |
|
325 |
+
CalcActivationHeight();
|
326 |
+
|
327 |
+
|
328 |
+
|
329 |
+
|
330 |
+
|
331 |
+
|
332 |
+
function HeaderDeactivateOnHeight() {
|
333 |
+
|
334 |
+
|
335 |
+
if ( autoActivate == true ) {
|
336 |
+
|
337 |
+
if ( mydivHeight > myfixedHeight ){
|
338 |
+
// Auto activate is true, Make visible on Scroll is set to 0, menu is probably header
|
339 |
+
|
340 |
+
|
341 |
+
|
342 |
+
if (mystickyTransition == "on") {
|
343 |
+
// slide effect is selected
|
344 |
+
deactivationHeight = activationHeight;
|
345 |
+
|
346 |
+
if (mysticky_disable_down == "on") {
|
347 |
+
deactivationHeight = activationHeight - myfixedHeight;
|
348 |
+
|
349 |
+
}
|
350 |
+
|
351 |
+
|
352 |
+
} else {
|
353 |
+
activationHeight = mydivHeight;
|
354 |
+
deactivationHeight = mydivHeight;
|
355 |
+
|
356 |
+
}
|
357 |
+
|
358 |
+
}
|
359 |
+
|
360 |
+
}
|
361 |
+
|
362 |
+
}
|
363 |
+
|
364 |
+
HeaderDeactivateOnHeight();
|
365 |
+
|
366 |
+
|
367 |
+
|
368 |
+
|
369 |
+
|
370 |
+
|
371 |
+
var hasScrollY = 'scrollY' in window;
|
372 |
+
var lastScrollTop = 0;
|
373 |
+
|
374 |
|
375 |
+
function onScroll(e) {
|
376 |
+
|
377 |
+
|
378 |
+
|
379 |
+
|
380 |
+
//initialDivHeight();
|
381 |
+
|
382 |
+
// if body width is larger than disable at small screen size setting
|
383 |
+
|
384 |
+
|
385 |
+
|
386 |
+
|
387 |
+
if (viewportWidth >= disableWidth) {
|
388 |
+
|
389 |
+
|
390 |
+
|
391 |
+
//if (mysticky_disable_down == "on") {
|
392 |
|
393 |
+
var y = hasScrollY ? window.scrollY : document.documentElement.scrollTop;
|
394 |
+
|
395 |
+
|
396 |
+
|
397 |
+
//var yScrollPosition = $(this).scrollTop();
|
398 |
+
|
399 |
|
400 |
+
// add up or down class to the element depending on scroll direction
|
401 |
+
if (0 <= y ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
402 |
|
403 |
+
//var st = $(this).scrollTop();
|
404 |
+
|
405 |
+
|
406 |
+
if (y >= lastScrollTop){
|
407 |
+
|
408 |
+
// downscroll code
|
409 |
+
|
410 |
+
|
411 |
+
|
412 |
+
|
413 |
+
// add myfixed and wrapfixed class to selected fixed element while scroll down
|
414 |
+
y >= activationHeight ? mystickyClass.classList.add('myfixed') : "";
|
415 |
+
y >= activationHeight ? wrappernav.classList.add('wrapfixed') : "";
|
416 |
+
|
417 |
+
y >= activationHeight ? wrappermysticky.style.height = mydivHeight + 'px' : "";
|
418 |
+
y >= activationHeight ? mystickyClass.style.width = mydivWidth + "px" : "";
|
419 |
+
|
420 |
+
|
421 |
+
if (mystickyTransition == "on") {
|
422 |
+
|
423 |
+
if (mysticky_disable_down == "false") {
|
424 |
+
//y < activationHeight + (myfixedHeight + 250) - adminBarHeight ? wrappernav.style.top = "-" + myfixedHeight + "px" : '';
|
425 |
+
//wrappernav.style.top = "-" + myfixedHeight + "px"
|
426 |
+
y >= activationHeight + myfixedHeight - adminBarHeight ? wrappernav.style.top = adminBarHeight + "px" : wrappernav.style.top = "-" + myfixedHeight + "px";
|
427 |
+
|
428 |
+
}
|
429 |
|
430 |
+
if ( mydivHeight > myfixedHeight ){
|
431 |
+
// if it's header (guess)
|
432 |
+
|
433 |
+
if (mysticky_disable_down == "false") {
|
434 |
+
|
435 |
+
y < activationHeight + myfixedHeight ? wrappernav.style.top = "-" + mydivHeight + "px" : '';
|
436 |
+
y >= activationHeight + myfixedHeight ? wrappernav.style.top = adminBarHeight + "px" : '';
|
437 |
+
|
438 |
+
}
|
439 |
+
|
440 |
+
}
|
441 |
+
|
442 |
+
}
|
443 |
+
|
444 |
+
wrappernav.classList.add('down');
|
445 |
+
wrappernav.classList.remove('up');
|
446 |
+
|
447 |
+
|
448 |
+
if (mysticky_disable_down == "on") {
|
449 |
+
wrappernav.style.top = "-" + (mydivHeight + adminBarHeight ) + "px";
|
450 |
+
}
|
451 |
+
|
452 |
+
|
453 |
+
|
454 |
+
|
455 |
+
} else {
|
456 |
+
// upscroll code
|
457 |
+
|
458 |
+
|
459 |
+
var x = hasScrollY ? window.scrollY : document.documentElement.scrollTop;
|
460 |
+
//x > deactivationHeight ? '' : mystickyClass.classList.remove('myfixed') ;
|
461 |
+
//x > deactivationHeight ? '' : wrappernav.classList.remove('wrapfixed');
|
462 |
+
|
463 |
+
x > deactivationHeight ? "" : wrappermysticky.style.height = "";
|
464 |
+
x > deactivationHeight ? "" : mystickyClass.style.width = "";
|
465 |
+
|
466 |
+
if (mystickyTransition == "on") {
|
467 |
+
|
468 |
+
|
469 |
+
|
470 |
+
x > deactivationHeight ? '' : mystickyClass.classList.remove('myfixed') ;
|
471 |
+
x > deactivationHeight ? '' : wrappernav.classList.remove('wrapfixed');
|
472 |
+
|
473 |
+
if (mysticky_disable_down == "false") {
|
474 |
+
|
475 |
+
x < deactivationHeight + myfixedHeight + 200 - adminBarHeight ? wrappernav.style.top = "-" + myfixedHeight + "px" : '';
|
476 |
+
|
477 |
+
}
|
478 |
+
|
479 |
+
} else {
|
480 |
+
|
481 |
+
x > deactivationHeight ? "" : mystickyClass.classList.remove('myfixed') ;
|
482 |
+
x > deactivationHeight ? "" : wrappernav.classList.remove('wrapfixed');
|
483 |
+
|
484 |
+
|
485 |
+
}
|
486 |
+
|
487 |
+
|
488 |
+
wrappernav.classList.remove('down');
|
489 |
+
wrappernav.classList.add('up');
|
490 |
+
|
491 |
+
if (mysticky_disable_down == "on") {
|
492 |
+
wrappernav.style.top = adminBarHeight + "px";
|
493 |
+
}
|
494 |
+
|
495 |
+
}
|
496 |
|
497 |
+
lastScrollTop = y;
|
498 |
+
|
499 |
+
} else {
|
500 |
+
//if (mysticky_disable_down == "on") {
|
501 |
+
wrappernav.classList.remove('up');
|
502 |
+
//}
|
503 |
+
}
|
504 |
+
|
505 |
+
|
506 |
+
}
|
507 |
+
|
508 |
+
}
|
509 |
+
|
510 |
+
document.addEventListener('scroll', onScroll);
|
511 |
+
|
512 |
+
|
513 |
+
var width = $(window).width()
|
514 |
+
|
515 |
+
function OnResizeDocument () {
|
516 |
+
|
517 |
+
|
518 |
+
|
519 |
+
|
520 |
+
if($(window).width() != width ){
|
521 |
+
|
522 |
+
|
523 |
+
|
524 |
+
|
525 |
+
|
526 |
+
|
527 |
+
wrappernav.classList.remove('up');
|
528 |
+
wrappernav.classList.remove('down');
|
529 |
+
|
530 |
+
if ($(".wrapfixed")[0]){
|
531 |
+
// If class wrapfixed exists
|
532 |
+
// Remove myfixed and wrapfixed clases so we can calculate
|
533 |
+
mystickyClass.classList.remove('myfixed');
|
534 |
+
wrappernav.classList.remove('wrapfixed');
|
535 |
+
|
536 |
+
|
537 |
+
|
538 |
+
} else {
|
539 |
+
// Else class wrapfixed does not exists
|
540 |
+
initialDivHeight();
|
541 |
+
|
542 |
+
// Remove width
|
543 |
+
mystickyClass.style.removeProperty("width");
|
544 |
+
initialDivWidth();
|
545 |
+
|
546 |
+
|
547 |
+
// Calculate new width - need to put this in function like height
|
548 |
+
//var mydivWidth = ((mystickyClass.offsetWidth) + 'px');
|
549 |
+
//mystickyClass.style.width = mydivWidth;
|
550 |
+
|
551 |
+
|
552 |
+
|
553 |
+
// var rect = $(mystickyClass)[0].getBoundingClientRect();
|
554 |
+
// var mydivWidth = rect.width + "px";
|
555 |
+
|
556 |
+
//var mydivWidth = ((mystickyClass.offsetWidth) + 'px');
|
557 |
+
// mystickyClass.style.width = mydivWidth;
|
558 |
+
|
559 |
+
|
560 |
+
|
561 |
+
|
562 |
+
|
563 |
+
|
564 |
+
|
565 |
+
|
566 |
+
|
567 |
+
}
|
568 |
+
calcViewportWidth();
|
569 |
+
calcAdminBarHeight();
|
570 |
+
fixedDivHeight();
|
571 |
+
|
572 |
+
CalcActivationHeight();
|
573 |
+
HeaderDeactivateOnHeight();
|
574 |
+
|
575 |
}
|
576 |
+
|
577 |
+
}
|
578 |
+
|
579 |
+
window.addEventListener('resize', OnResizeDocument);
|
580 |
+
|
581 |
+
//var lazyLayout = OnResizeDocument().debounce(calculateLayout, 300);
|
582 |
+
//$(window).resize(lazyLayout);
|
583 |
+
|
584 |
+
//window.addEventListener('resize', lazyLayout);
|
585 |
+
|
586 |
+
// need to test this, it should fire script on mobile orientation change, since onresize is somehow faulty in this case
|
587 |
+
window.addEventListener('orientationchange', OnResizeDocument);
|
588 |
+
|
589 |
+
//}
|
590 |
+
|
591 |
+
|
592 |
+
}
|
593 |
+
|
594 |
+
else {
|
595 |
+
console.log("myStickymenu: Entered Sticky Class does not exist, change it in Dashboard / Settings / myStickymenu / Sticky Class. ");
|
596 |
+
// Do something if class does not exist
|
597 |
+
}
|
598 |
+
|
599 |
+
});
|
600 |
+
|
601 |
|
602 |
})(jQuery);
|
js/mystickymenu.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){"use strict";function t(e){var t=
|
1 |
+
!function(e){"use strict";jQuery(document).ready(function(e){function t(e){var e=window,t="inner";"innerWidth"in window||(t="client",e=document.documentElement||document.body),c=e[t+"Width"]}function i(){b=p.offsetHeight,parseInt(e(p).css("marginBottom"))>0&&(w.style.marginBottom=e(p).css("marginBottom")),"0"==b&&e(p).children().filter(":visible").each(function(){b=e(this).outerHeight(!0)})}function o(){p.classList.add("myfixed"),C=e(".myfixed").outerHeight(),"0"==C&&e(".myfixed").children().filter(":visible").each(function(){C=e(this).outerHeight(!0)}),p.classList.remove("myfixed")}function s(){B="true"==u&&c>600?e("#wpadminbar").height():0,"on"==m?k.style.top="-"+C+"px":k.style.top=B+"px"}function n(){var t=e(p)[0].getBoundingClientRect();S=t.width}function d(){1==E&&("on"==m&&(y=e(p).offset().top+b-B,H=e(p).offset().top+b-B,"on"==v&&(H=e(p).offset().top-B)),"fade"==m&&("false"==v&&(y=e(p).offset().top-B,H=e(p).offset().top-B),"on"==v&&(y=e(p).offset().top-B+b,H=e(p).offset().top-B)))}function a(){1==E&&b>C&&("on"==m?(H=y,"on"==v&&(H=y-C)):(y=b,H=b))}function r(e){if(c>=f){var t=N?window.scrollY:document.documentElement.scrollTop;if(t>=0){if(t>=I)t>=y?p.classList.add("myfixed"):"",t>=y?k.classList.add("wrapfixed"):"",t>=y?w.style.height=b+"px":"",t>=y?p.style.width=S+"px":"","on"==m&&("false"==v&&(t>=y+C-B?k.style.top=B+"px":k.style.top="-"+C+"px"),b>C&&"false"==v&&(y+C>t?k.style.top="-"+b+"px":"",t>=y+C?k.style.top=B+"px":"")),k.classList.add("down"),k.classList.remove("up"),"on"==v&&(k.style.top="-"+(b+B)+"px");else{var i=N?window.scrollY:document.documentElement.scrollTop;i>H?"":w.style.height="",i>H?"":p.style.width="","on"==m?(i>H?"":p.classList.remove("myfixed"),i>H?"":k.classList.remove("wrapfixed"),"false"==v&&(H+C+200-B>i?k.style.top="-"+C+"px":"")):(i>H?"":p.classList.remove("myfixed"),i>H?"":k.classList.remove("wrapfixed")),k.classList.remove("down"),k.classList.add("up"),"on"==v&&(k.style.top=B+"px")}I=t}else k.classList.remove("up")}}function l(){e(window).width()!=T&&(k.classList.remove("up"),k.classList.remove("down"),e(".wrapfixed")[0]?(p.classList.remove("myfixed"),k.classList.remove("wrapfixed")):(i(),p.style.removeProperty("width"),n()),t(),s(),o(),d(),a())}if(e(option.mystickyClass)[0]){var c,p=document.querySelector(option.mystickyClass),f=parseInt(option.disableWidth),m=option.mystickyTransition,y=parseInt(option.activationHeight),u=option.adminBar,v=option.mysticky_disable_down;t();for(var h=p.parentNode,w=document.createElement("div"),x=0,L=0;L<h.childNodes.length;L++)if(h.childNodes[L]==p){x=L;break}w.id="mysticky-wrap",w.appendChild(p),h.insertBefore(w,h.childNodes[x]);var g=p.parentNode,k=document.createElement("div");if(k.id="mysticky-nav",g.replaceChild(k,p),k.appendChild(p),"0"==y)var E=!0;var b;i();var C;o();var B=0;s();var S;n();var H=y;d(),a();var N="scrollY"in window,I=0;document.addEventListener("scroll",r);var T=e(window).width();window.addEventListener("resize",l),window.addEventListener("orientationchange",l)}else console.log("myStickymenu: Entered Sticky Class does not exist, change it in Dashboard / Settings / myStickymenu / Sticky Class. ")})}(jQuery);
|
languages/mystickymenu-de_DE.mo
CHANGED
Binary file
|
languages/mystickymenu-de_DE.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
-
"Last-Translator:
|
7 |
"Language-Team: Schelli <mail@schelli.eu>\n"
|
8 |
"Language: de_DE\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -17,123 +17,142 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#: ../mystickymenu.php:
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
#: ../mystickymenu.php:78
|
25 |
-
msgid "myStickymenu Options"
|
26 |
msgstr "myStickymenu Optionen"
|
27 |
|
28 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
msgid "Sticky Class"
|
30 |
msgstr "Sticky Klasse"
|
31 |
|
32 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
33 |
msgid "Sticky z-index"
|
34 |
msgstr "Sticky z-Index"
|
35 |
|
36 |
-
#: ../mystickymenu.php:
|
37 |
msgid "Sticky Background Color"
|
38 |
msgstr "Sticky Hintergrundfarbe"
|
39 |
|
40 |
-
#: ../mystickymenu.php:
|
41 |
msgid "Sticky Opacity"
|
42 |
msgstr "Deckkraft"
|
43 |
|
44 |
-
#: ../mystickymenu.php:
|
45 |
msgid "Sticky Transition Time"
|
46 |
msgstr "Einblendegeschwindigkeit"
|
47 |
|
48 |
-
#: ../mystickymenu.php:
|
49 |
msgid "Disable at Small Screen Sizes"
|
50 |
msgstr "Deaktivierung bei Bildschirmbreiten"
|
51 |
|
52 |
-
#: ../mystickymenu.php:
|
53 |
msgid "Make visible on Scroll"
|
54 |
msgstr "Einblendung"
|
55 |
|
56 |
-
#: ../mystickymenu.php:
|
57 |
msgid "Make visible on Scroll at homepage"
|
58 |
msgstr "Einblendung (Startseite)"
|
59 |
|
60 |
-
#: ../mystickymenu.php:
|
61 |
-
|
62 |
-
|
|
|
63 |
|
64 |
-
#: ../mystickymenu.php:
|
65 |
-
|
66 |
-
|
|
|
67 |
|
68 |
-
#: ../mystickymenu.php:
|
69 |
msgid "Disable CSS style"
|
70 |
msgstr "Disable CSS style"
|
71 |
|
72 |
-
#: ../mystickymenu.php:
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
"
|
77 |
-
msgstr ""
|
78 |
-
"Füge deiner Seite ein optisch anspechendes und modernes \"Sticky Menü\" oder "
|
79 |
-
"einen \"Sticky Header\" hinzu. Das Plugin ist voreingestellt für das Theme "
|
80 |
-
"\"Twenty Thirteen\". <br />Um es mit anderen Themes zu nutzen, brauchst du "
|
81 |
-
"nur das Feld \"Sticky Klasse\" entsprechend anzupassen."
|
82 |
|
83 |
-
#: ../mystickymenu.php:
|
84 |
-
|
|
|
85 |
msgstr ""
|
86 |
"Menü oder Header div-Klasse bzw. ID. (Für einige Themes findest du diese <a "
|
87 |
"href='http://wordpress.transformnews.com/tutorials/mystickymenu-theme-"
|
88 |
"support-682'>hier</a>.)"
|
89 |
|
90 |
-
#: ../mystickymenu.php:
|
91 |
msgid "numbers 1-100."
|
92 |
msgstr "Ein Wert zwischen 1 und 100"
|
93 |
|
94 |
-
#: ../mystickymenu.php:
|
95 |
msgid "in seconds."
|
96 |
msgstr "in Sekunden"
|
97 |
|
98 |
-
#: ../mystickymenu.php:
|
99 |
msgid "less than"
|
100 |
msgstr "kleiner als"
|
101 |
|
102 |
-
#: ../mystickymenu.php:
|
103 |
msgid "px width, 0 to disable."
|
104 |
msgstr "Pixel (Keine Deaktivierung: 0)"
|
105 |
|
106 |
-
#: ../mystickymenu.php:
|
107 |
msgid "after"
|
108 |
msgstr "nach "
|
109 |
|
110 |
-
#: ../mystickymenu.php:
|
111 |
-
msgid "px."
|
112 |
-
msgstr "
|
113 |
|
114 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
115 |
msgid "Checked is slide, unchecked is fade."
|
116 |
msgstr "Aktiviert = Hereingleiten, Deaktiviert = Einblenden"
|
117 |
|
118 |
-
#: ../mystickymenu.php:
|
119 |
-
msgid ""
|
120 |
-
"Add/Edit .myfixed css class to change sticky menu style. Leave it blank for "
|
121 |
-
"default style."
|
122 |
msgstr ""
|
123 |
-
"Ändere oder ergänze den CSS-Code um den Stil des \"Sticky Menü\" anzupassen."
|
124 |
|
125 |
-
#: ../mystickymenu.php:
|
126 |
-
|
127 |
-
|
|
|
|
|
128 |
|
129 |
-
#: ../mystickymenu.php:
|
130 |
-
|
131 |
-
"If you want to change sticky hover color
|
132 |
msgstr ""
|
133 |
"Um die Farbe des \"Sticky Menü\" beim Mouseover (hover) zu ändern ergänze "
|
134 |
"den voreingestellten Stil um folgenden Code:<br />"
|
135 |
|
136 |
-
#: ../mystickymenu.php:
|
137 |
msgid ""
|
138 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
139 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
@@ -143,10 +162,76 @@ msgstr ""
|
|
143 |
"tutorials/mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
144 |
"class-403'>hier</a>."
|
145 |
|
146 |
-
#: ../mystickymenu.php:
|
147 |
msgid "Use this option if you plan to include CSS Style manually"
|
148 |
msgstr "Use this option if you plan to include CSS Style manually"
|
149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
#~ msgid "px. (scroll)"
|
151 |
#~ msgstr "Pixeln (scrollen)"
|
152 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
+
"POT-Creation-Date: 2017-09-15 08:39+0100\n"
|
5 |
+
"PO-Revision-Date: 2017-09-15 08:39+0100\n"
|
6 |
+
"Last-Translator: mrda <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: Schelli <mail@schelli.eu>\n"
|
8 |
"Language: de_DE\n"
|
9 |
"MIME-Version: 1.0\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
+
#: ../mystickymenu.php:167
|
21 |
+
#, fuzzy
|
22 |
+
msgid "myStickymenu"
|
|
|
|
|
|
|
23 |
msgstr "myStickymenu Optionen"
|
24 |
|
25 |
+
#: ../mystickymenu.php:168
|
26 |
+
#, fuzzy
|
27 |
+
msgid ""
|
28 |
+
"Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
|
29 |
+
"HTML element class desired to be sticky (div id can be used as well)."
|
30 |
+
msgstr ""
|
31 |
+
"Füge deiner Seite ein optisch anspechendes und modernes \"Sticky Menü\" oder "
|
32 |
+
"einen \"Sticky Header\" hinzu. Das Plugin ist voreingestellt für das Theme "
|
33 |
+
"\"Twenty Thirteen\". <br />Um es mit anderen Themes zu nutzen, brauchst du "
|
34 |
+
"nur das Feld \"Sticky Klasse\" entsprechend anzupassen."
|
35 |
+
|
36 |
+
#: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
|
37 |
+
#: ../mystickymenu.php:561
|
38 |
+
msgid " "
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: ../mystickymenu.php:283
|
42 |
msgid "Sticky Class"
|
43 |
msgstr "Sticky Klasse"
|
44 |
|
45 |
+
#: ../mystickymenu.php:291
|
46 |
+
msgid "Fade or slide effect"
|
47 |
+
msgstr " Einblenden oder Hereingleiten"
|
48 |
+
|
49 |
+
#: ../mystickymenu.php:298
|
50 |
msgid "Sticky z-index"
|
51 |
msgstr "Sticky z-Index"
|
52 |
|
53 |
+
#: ../mystickymenu.php:305
|
54 |
msgid "Sticky Background Color"
|
55 |
msgstr "Sticky Hintergrundfarbe"
|
56 |
|
57 |
+
#: ../mystickymenu.php:312
|
58 |
msgid "Sticky Opacity"
|
59 |
msgstr "Deckkraft"
|
60 |
|
61 |
+
#: ../mystickymenu.php:319
|
62 |
msgid "Sticky Transition Time"
|
63 |
msgstr "Einblendegeschwindigkeit"
|
64 |
|
65 |
+
#: ../mystickymenu.php:326
|
66 |
msgid "Disable at Small Screen Sizes"
|
67 |
msgstr "Deaktivierung bei Bildschirmbreiten"
|
68 |
|
69 |
+
#: ../mystickymenu.php:333
|
70 |
msgid "Make visible on Scroll"
|
71 |
msgstr "Einblendung"
|
72 |
|
73 |
+
#: ../mystickymenu.php:340
|
74 |
msgid "Make visible on Scroll at homepage"
|
75 |
msgstr "Einblendung (Startseite)"
|
76 |
|
77 |
+
#: ../mystickymenu.php:349
|
78 |
+
#, fuzzy
|
79 |
+
msgid "Disable on scroll down"
|
80 |
+
msgstr "Einblendung"
|
81 |
|
82 |
+
#: ../mystickymenu.php:356
|
83 |
+
#, fuzzy
|
84 |
+
msgid "CSS style"
|
85 |
+
msgstr "Disable CSS style"
|
86 |
|
87 |
+
#: ../mystickymenu.php:363
|
88 |
msgid "Disable CSS style"
|
89 |
msgstr "Disable CSS style"
|
90 |
|
91 |
+
#: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
|
92 |
+
#: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
|
93 |
+
#: ../mystickymenu.php:410 ../mystickymenu.php:428
|
94 |
+
#, fuzzy
|
95 |
+
msgid "Disable at"
|
96 |
+
msgstr "Disable CSS style"
|
|
|
|
|
|
|
|
|
97 |
|
98 |
+
#: ../mystickymenu.php:570
|
99 |
+
#, fuzzy
|
100 |
+
msgid "menu or header element class or id."
|
101 |
msgstr ""
|
102 |
"Menü oder Header div-Klasse bzw. ID. (Für einige Themes findest du diese <a "
|
103 |
"href='http://wordpress.transformnews.com/tutorials/mystickymenu-theme-"
|
104 |
"support-682'>hier</a>.)"
|
105 |
|
106 |
+
#: ../mystickymenu.php:596
|
107 |
msgid "numbers 1-100."
|
108 |
msgstr "Ein Wert zwischen 1 und 100"
|
109 |
|
110 |
+
#: ../mystickymenu.php:606
|
111 |
msgid "in seconds."
|
112 |
msgstr "in Sekunden"
|
113 |
|
114 |
+
#: ../mystickymenu.php:615
|
115 |
msgid "less than"
|
116 |
msgstr "kleiner als"
|
117 |
|
118 |
+
#: ../mystickymenu.php:620
|
119 |
msgid "px width, 0 to disable."
|
120 |
msgstr "Pixel (Keine Deaktivierung: 0)"
|
121 |
|
122 |
+
#: ../mystickymenu.php:629 ../mystickymenu.php:643
|
123 |
msgid "after"
|
124 |
msgstr "nach "
|
125 |
|
126 |
+
#: ../mystickymenu.php:634
|
127 |
+
msgid "px. If set to 0 auto calculate will be used."
|
128 |
+
msgstr ""
|
129 |
|
130 |
+
#: ../mystickymenu.php:648
|
131 |
+
msgid "px. If set to 0 it will use initial Make visible on Scroll value."
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: ../mystickymenu.php:659
|
135 |
msgid "Checked is slide, unchecked is fade."
|
136 |
msgstr "Aktiviert = Hereingleiten, Deaktiviert = Einblenden"
|
137 |
|
138 |
+
#: ../mystickymenu.php:667
|
139 |
+
msgid "Disable sticky menu at scroll down"
|
|
|
|
|
140 |
msgstr ""
|
|
|
141 |
|
142 |
+
#: ../mystickymenu.php:680
|
143 |
+
#, fuzzy
|
144 |
+
msgid "Add/edit CSS style. Leave it blank for default style."
|
145 |
+
msgstr ""
|
146 |
+
"Ändere oder ergänze den CSS-Code um den Stil des \"Sticky Menü\" anzupassen."
|
147 |
|
148 |
+
#: ../mystickymenu.php:688
|
149 |
+
#, fuzzy
|
150 |
+
msgid "If you want to change sticky hover color: "
|
151 |
msgstr ""
|
152 |
"Um die Farbe des \"Sticky Menü\" beim Mouseover (hover) zu ändern ergänze "
|
153 |
"den voreingestellten Stil um folgenden Code:<br />"
|
154 |
|
155 |
+
#: ../mystickymenu.php:690
|
156 |
msgid ""
|
157 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
158 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
162 |
"tutorials/mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
163 |
"class-403'>hier</a>."
|
164 |
|
165 |
+
#: ../mystickymenu.php:701
|
166 |
msgid "Use this option if you plan to include CSS Style manually"
|
167 |
msgstr "Use this option if you plan to include CSS Style manually"
|
168 |
|
169 |
+
#: ../mystickymenu.php:720
|
170 |
+
msgid "<span>front page </span>"
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: ../mystickymenu.php:726
|
174 |
+
msgid "<span>blog page </span>"
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: ../mystickymenu.php:732
|
178 |
+
msgid "<span>pages </span>"
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: ../mystickymenu.php:738
|
182 |
+
msgid "<span>tags </span>"
|
183 |
+
msgstr ""
|
184 |
+
|
185 |
+
#: ../mystickymenu.php:744
|
186 |
+
msgid "<span>categories </span>"
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: ../mystickymenu.php:750
|
190 |
+
msgid "<span>posts </span>"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: ../mystickymenu.php:756
|
194 |
+
msgid "<span>archives </span>"
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
+
#: ../mystickymenu.php:763
|
198 |
+
msgid "<span>search </span>"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: ../mystickymenu.php:773
|
202 |
+
msgid "<span class=\"\">Except for this pages: </span>"
|
203 |
+
msgstr ""
|
204 |
+
|
205 |
+
#: ../mystickymenu.php:780
|
206 |
+
msgid ""
|
207 |
+
"<span class=\"description\">Comma separated list of pages to enable. It "
|
208 |
+
"should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
|
209 |
+
"blank if you realy want to disable sticky sidebar for all pages.</span>"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: ../mystickymenu.php:787
|
213 |
+
msgid "<span class=\"\">Except for this posts: </span>"
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: ../mystickymenu.php:794
|
217 |
+
msgid ""
|
218 |
+
"<span class=\"description\">Comma separated list of posts to enable. It "
|
219 |
+
"should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
|
220 |
+
"blank if you realy want to disable sticky sidebar for all posts.</span>"
|
221 |
+
msgstr ""
|
222 |
+
|
223 |
+
#~ msgid "myStickymenu Settings"
|
224 |
+
#~ msgstr "myStickymenu Einstellungen"
|
225 |
+
|
226 |
+
#~ msgid ".myfixed css class"
|
227 |
+
#~ msgstr ".myfixed CSS-Klasse"
|
228 |
+
|
229 |
+
#~ msgid "px."
|
230 |
+
#~ msgstr "px."
|
231 |
+
|
232 |
+
#~ msgid "Default style: "
|
233 |
+
#~ msgstr "Voreingestellter Stil:<br />"
|
234 |
+
|
235 |
#~ msgid "px. (scroll)"
|
236 |
#~ msgstr "Pixeln (scrollen)"
|
237 |
|
languages/mystickymenu-es_ES.mo
CHANGED
Binary file
|
languages/mystickymenu-es_ES.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
-
"Last-Translator:
|
7 |
"Language-Team: TFN <jahmirda@gmail.com>\n"
|
8 |
"Language: English\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -17,121 +17,140 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#: ../mystickymenu.php:
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
#: ../mystickymenu.php:78
|
25 |
-
msgid "myStickymenu Options"
|
26 |
msgstr " Opciones de myStickymenu "
|
27 |
|
28 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
msgid "Sticky Class"
|
30 |
msgstr " Clase de Sticky "
|
31 |
|
32 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
33 |
msgid "Sticky z-index"
|
34 |
msgstr " z-index de Sticky "
|
35 |
|
36 |
-
#: ../mystickymenu.php:
|
37 |
msgid "Sticky Background Color"
|
38 |
msgstr " Color de Fondo de Sticky "
|
39 |
|
40 |
-
#: ../mystickymenu.php:
|
41 |
msgid "Sticky Opacity"
|
42 |
msgstr " Opacidad de Sticky "
|
43 |
|
44 |
-
#: ../mystickymenu.php:
|
45 |
msgid "Sticky Transition Time"
|
46 |
msgstr " Tiempo de Transición de Sticky "
|
47 |
|
48 |
-
#: ../mystickymenu.php:
|
49 |
msgid "Disable at Small Screen Sizes"
|
50 |
msgstr " Desabilitado en Tamaños Pequeños en la Pantalla"
|
51 |
|
52 |
-
#: ../mystickymenu.php:
|
53 |
msgid "Make visible on Scroll"
|
54 |
msgstr " Hacer visible cuando se hace scroll"
|
55 |
|
56 |
-
#: ../mystickymenu.php:
|
57 |
msgid "Make visible on Scroll at homepage"
|
58 |
msgstr " Hacer visible cuando se hace scroll on homepage"
|
59 |
|
60 |
-
#: ../mystickymenu.php:
|
61 |
-
|
62 |
-
|
|
|
63 |
|
64 |
-
#: ../mystickymenu.php:
|
65 |
-
|
66 |
-
|
|
|
67 |
|
68 |
-
#: ../mystickymenu.php:
|
69 |
msgid "Disable CSS style"
|
70 |
msgstr "Disable CSS style"
|
71 |
|
72 |
-
#: ../mystickymenu.php:
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
"
|
77 |
-
msgstr ""
|
78 |
-
"Adiciona agradable menú o encabezado moderno a cualquier tema. Por defecto "
|
79 |
-
"trabaja con el tema Twenty Thirteen. <br/> Para otros temas cambie 'Sticky "
|
80 |
-
"Class' a la clase div que se quiere poner como sticky (el id del div puede "
|
81 |
-
"ser usado también)."
|
82 |
|
83 |
-
#: ../mystickymenu.php:
|
84 |
-
|
|
|
85 |
msgstr "clase o id del div del menú o encabezado."
|
86 |
|
87 |
-
#: ../mystickymenu.php:
|
88 |
msgid "numbers 1-100."
|
89 |
msgstr " números 1-100."
|
90 |
|
91 |
-
#: ../mystickymenu.php:
|
92 |
msgid "in seconds."
|
93 |
msgstr "en cuestión de segundos."
|
94 |
|
95 |
-
#: ../mystickymenu.php:
|
96 |
msgid "less than"
|
97 |
msgstr "menos que"
|
98 |
|
99 |
-
#: ../mystickymenu.php:
|
100 |
msgid "px width, 0 to disable."
|
101 |
msgstr "ancho px, 0 para desactivarlo."
|
102 |
|
103 |
-
#: ../mystickymenu.php:
|
104 |
msgid "after"
|
105 |
msgstr "después"
|
106 |
|
107 |
-
#: ../mystickymenu.php:
|
108 |
-
msgid "px."
|
109 |
-
msgstr "
|
110 |
|
111 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
112 |
msgid "Checked is slide, unchecked is fade."
|
113 |
msgstr "Checked es deslizar, sin control se desvanecen."
|
114 |
|
115 |
-
#: ../mystickymenu.php:
|
116 |
-
msgid ""
|
117 |
-
|
118 |
-
|
|
|
|
|
|
|
119 |
msgstr ""
|
120 |
"Agregar / Editar. Myfixed clase CSS para cambiar el estilo de menú pegajoso. "
|
121 |
"Déjelo en blanco para el estilo predeterminado."
|
122 |
|
123 |
-
#: ../mystickymenu.php:
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
#: ../mystickymenu.php:351
|
128 |
-
msgid ""
|
129 |
-
"If you want to change sticky hover color first add default style and than: "
|
130 |
msgstr ""
|
131 |
"Si desea cambiar el color libración pegajosa primero añadir estilo por "
|
132 |
"defecto y que:"
|
133 |
|
134 |
-
#: ../mystickymenu.php:
|
135 |
msgid ""
|
136 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
137 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
@@ -141,10 +160,76 @@ msgstr ""
|
|
141 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
142 |
"class-403'>here</a>."
|
143 |
|
144 |
-
#: ../mystickymenu.php:
|
145 |
msgid "Use this option if you plan to include CSS Style manually"
|
146 |
msgstr "Use this option if you plan to include CSS Style manually"
|
147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
#~ msgid "px. (scroll)"
|
149 |
#~ msgstr "px. (scroll)"
|
150 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
+
"POT-Creation-Date: 2017-09-15 08:39+0100\n"
|
5 |
+
"PO-Revision-Date: 2017-09-15 08:39+0100\n"
|
6 |
+
"Last-Translator: mrda <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: TFN <jahmirda@gmail.com>\n"
|
8 |
"Language: English\n"
|
9 |
"MIME-Version: 1.0\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
+
#: ../mystickymenu.php:167
|
21 |
+
#, fuzzy
|
22 |
+
msgid "myStickymenu"
|
|
|
|
|
|
|
23 |
msgstr " Opciones de myStickymenu "
|
24 |
|
25 |
+
#: ../mystickymenu.php:168
|
26 |
+
#, fuzzy
|
27 |
+
msgid ""
|
28 |
+
"Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
|
29 |
+
"HTML element class desired to be sticky (div id can be used as well)."
|
30 |
+
msgstr ""
|
31 |
+
"Adiciona agradable menú o encabezado moderno a cualquier tema. Por defecto "
|
32 |
+
"trabaja con el tema Twenty Thirteen. <br/> Para otros temas cambie 'Sticky "
|
33 |
+
"Class' a la clase div que se quiere poner como sticky (el id del div puede "
|
34 |
+
"ser usado también)."
|
35 |
+
|
36 |
+
#: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
|
37 |
+
#: ../mystickymenu.php:561
|
38 |
+
msgid " "
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: ../mystickymenu.php:283
|
42 |
msgid "Sticky Class"
|
43 |
msgstr " Clase de Sticky "
|
44 |
|
45 |
+
#: ../mystickymenu.php:291
|
46 |
+
msgid "Fade or slide effect"
|
47 |
+
msgstr " Atenuar o deslizar efecto"
|
48 |
+
|
49 |
+
#: ../mystickymenu.php:298
|
50 |
msgid "Sticky z-index"
|
51 |
msgstr " z-index de Sticky "
|
52 |
|
53 |
+
#: ../mystickymenu.php:305
|
54 |
msgid "Sticky Background Color"
|
55 |
msgstr " Color de Fondo de Sticky "
|
56 |
|
57 |
+
#: ../mystickymenu.php:312
|
58 |
msgid "Sticky Opacity"
|
59 |
msgstr " Opacidad de Sticky "
|
60 |
|
61 |
+
#: ../mystickymenu.php:319
|
62 |
msgid "Sticky Transition Time"
|
63 |
msgstr " Tiempo de Transición de Sticky "
|
64 |
|
65 |
+
#: ../mystickymenu.php:326
|
66 |
msgid "Disable at Small Screen Sizes"
|
67 |
msgstr " Desabilitado en Tamaños Pequeños en la Pantalla"
|
68 |
|
69 |
+
#: ../mystickymenu.php:333
|
70 |
msgid "Make visible on Scroll"
|
71 |
msgstr " Hacer visible cuando se hace scroll"
|
72 |
|
73 |
+
#: ../mystickymenu.php:340
|
74 |
msgid "Make visible on Scroll at homepage"
|
75 |
msgstr " Hacer visible cuando se hace scroll on homepage"
|
76 |
|
77 |
+
#: ../mystickymenu.php:349
|
78 |
+
#, fuzzy
|
79 |
+
msgid "Disable on scroll down"
|
80 |
+
msgstr " Hacer visible cuando se hace scroll"
|
81 |
|
82 |
+
#: ../mystickymenu.php:356
|
83 |
+
#, fuzzy
|
84 |
+
msgid "CSS style"
|
85 |
+
msgstr "Disable CSS style"
|
86 |
|
87 |
+
#: ../mystickymenu.php:363
|
88 |
msgid "Disable CSS style"
|
89 |
msgstr "Disable CSS style"
|
90 |
|
91 |
+
#: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
|
92 |
+
#: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
|
93 |
+
#: ../mystickymenu.php:410 ../mystickymenu.php:428
|
94 |
+
#, fuzzy
|
95 |
+
msgid "Disable at"
|
96 |
+
msgstr "Disable CSS style"
|
|
|
|
|
|
|
|
|
97 |
|
98 |
+
#: ../mystickymenu.php:570
|
99 |
+
#, fuzzy
|
100 |
+
msgid "menu or header element class or id."
|
101 |
msgstr "clase o id del div del menú o encabezado."
|
102 |
|
103 |
+
#: ../mystickymenu.php:596
|
104 |
msgid "numbers 1-100."
|
105 |
msgstr " números 1-100."
|
106 |
|
107 |
+
#: ../mystickymenu.php:606
|
108 |
msgid "in seconds."
|
109 |
msgstr "en cuestión de segundos."
|
110 |
|
111 |
+
#: ../mystickymenu.php:615
|
112 |
msgid "less than"
|
113 |
msgstr "menos que"
|
114 |
|
115 |
+
#: ../mystickymenu.php:620
|
116 |
msgid "px width, 0 to disable."
|
117 |
msgstr "ancho px, 0 para desactivarlo."
|
118 |
|
119 |
+
#: ../mystickymenu.php:629 ../mystickymenu.php:643
|
120 |
msgid "after"
|
121 |
msgstr "después"
|
122 |
|
123 |
+
#: ../mystickymenu.php:634
|
124 |
+
msgid "px. If set to 0 auto calculate will be used."
|
125 |
+
msgstr ""
|
126 |
|
127 |
+
#: ../mystickymenu.php:648
|
128 |
+
msgid "px. If set to 0 it will use initial Make visible on Scroll value."
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: ../mystickymenu.php:659
|
132 |
msgid "Checked is slide, unchecked is fade."
|
133 |
msgstr "Checked es deslizar, sin control se desvanecen."
|
134 |
|
135 |
+
#: ../mystickymenu.php:667
|
136 |
+
msgid "Disable sticky menu at scroll down"
|
137 |
+
msgstr ""
|
138 |
+
|
139 |
+
#: ../mystickymenu.php:680
|
140 |
+
#, fuzzy
|
141 |
+
msgid "Add/edit CSS style. Leave it blank for default style."
|
142 |
msgstr ""
|
143 |
"Agregar / Editar. Myfixed clase CSS para cambiar el estilo de menú pegajoso. "
|
144 |
"Déjelo en blanco para el estilo predeterminado."
|
145 |
|
146 |
+
#: ../mystickymenu.php:688
|
147 |
+
#, fuzzy
|
148 |
+
msgid "If you want to change sticky hover color: "
|
|
|
|
|
|
|
|
|
149 |
msgstr ""
|
150 |
"Si desea cambiar el color libración pegajosa primero añadir estilo por "
|
151 |
"defecto y que:"
|
152 |
|
153 |
+
#: ../mystickymenu.php:690
|
154 |
msgid ""
|
155 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
156 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
160 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
161 |
"class-403'>here</a>."
|
162 |
|
163 |
+
#: ../mystickymenu.php:701
|
164 |
msgid "Use this option if you plan to include CSS Style manually"
|
165 |
msgstr "Use this option if you plan to include CSS Style manually"
|
166 |
|
167 |
+
#: ../mystickymenu.php:720
|
168 |
+
msgid "<span>front page </span>"
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: ../mystickymenu.php:726
|
172 |
+
msgid "<span>blog page </span>"
|
173 |
+
msgstr ""
|
174 |
+
|
175 |
+
#: ../mystickymenu.php:732
|
176 |
+
msgid "<span>pages </span>"
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: ../mystickymenu.php:738
|
180 |
+
msgid "<span>tags </span>"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: ../mystickymenu.php:744
|
184 |
+
msgid "<span>categories </span>"
|
185 |
+
msgstr ""
|
186 |
+
|
187 |
+
#: ../mystickymenu.php:750
|
188 |
+
msgid "<span>posts </span>"
|
189 |
+
msgstr ""
|
190 |
+
|
191 |
+
#: ../mystickymenu.php:756
|
192 |
+
msgid "<span>archives </span>"
|
193 |
+
msgstr ""
|
194 |
+
|
195 |
+
#: ../mystickymenu.php:763
|
196 |
+
msgid "<span>search </span>"
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: ../mystickymenu.php:773
|
200 |
+
msgid "<span class=\"\">Except for this pages: </span>"
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: ../mystickymenu.php:780
|
204 |
+
msgid ""
|
205 |
+
"<span class=\"description\">Comma separated list of pages to enable. It "
|
206 |
+
"should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
|
207 |
+
"blank if you realy want to disable sticky sidebar for all pages.</span>"
|
208 |
+
msgstr ""
|
209 |
+
|
210 |
+
#: ../mystickymenu.php:787
|
211 |
+
msgid "<span class=\"\">Except for this posts: </span>"
|
212 |
+
msgstr ""
|
213 |
+
|
214 |
+
#: ../mystickymenu.php:794
|
215 |
+
msgid ""
|
216 |
+
"<span class=\"description\">Comma separated list of posts to enable. It "
|
217 |
+
"should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
|
218 |
+
"blank if you realy want to disable sticky sidebar for all posts.</span>"
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#~ msgid "myStickymenu Settings"
|
222 |
+
#~ msgstr " Configuraciones de myStickymenu "
|
223 |
+
|
224 |
+
#~ msgid ".myfixed css class"
|
225 |
+
#~ msgstr ".myfixed css class"
|
226 |
+
|
227 |
+
#~ msgid "px."
|
228 |
+
#~ msgstr "px."
|
229 |
+
|
230 |
+
#~ msgid "Default style: "
|
231 |
+
#~ msgstr "Estilo por defecto:"
|
232 |
+
|
233 |
#~ msgid "px. (scroll)"
|
234 |
#~ msgstr "px. (scroll)"
|
235 |
|
languages/mystickymenu-hr_HR.mo
CHANGED
Binary file
|
languages/mystickymenu-hr_HR.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
-
"Last-Translator:
|
7 |
"Language-Team: \n"
|
8 |
"Language: Croatian\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -17,119 +17,138 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#: ../mystickymenu.php:
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
#: ../mystickymenu.php:78
|
25 |
-
msgid "myStickymenu Options"
|
26 |
msgstr "myStickymenu Opcije"
|
27 |
|
28 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
msgid "Sticky Class"
|
30 |
msgstr "Sticky klasa"
|
31 |
|
32 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
33 |
msgid "Sticky z-index"
|
34 |
msgstr "Sticky z-index"
|
35 |
|
36 |
-
#: ../mystickymenu.php:
|
37 |
msgid "Sticky Background Color"
|
38 |
msgstr "Sticky pozadinska boja"
|
39 |
|
40 |
-
#: ../mystickymenu.php:
|
41 |
msgid "Sticky Opacity"
|
42 |
msgstr "Sticky prozirnost"
|
43 |
|
44 |
-
#: ../mystickymenu.php:
|
45 |
msgid "Sticky Transition Time"
|
46 |
msgstr "Sticky vrijeme tranzicije"
|
47 |
|
48 |
-
#: ../mystickymenu.php:
|
49 |
msgid "Disable at Small Screen Sizes"
|
50 |
msgstr "Onemogući na malim ekranima"
|
51 |
|
52 |
-
#: ../mystickymenu.php:
|
53 |
msgid "Make visible on Scroll"
|
54 |
msgstr "Učini izbornik vidljivim"
|
55 |
|
56 |
-
#: ../mystickymenu.php:
|
57 |
msgid "Make visible on Scroll at homepage"
|
58 |
msgstr "Učini izbornik vidljivim na početnoj stranici"
|
59 |
|
60 |
-
#: ../mystickymenu.php:
|
61 |
-
|
62 |
-
|
|
|
63 |
|
64 |
-
#: ../mystickymenu.php:
|
65 |
-
|
66 |
-
|
|
|
67 |
|
68 |
-
#: ../mystickymenu.php:
|
69 |
msgid "Disable CSS style"
|
70 |
msgstr "Onemogući CSS"
|
71 |
|
72 |
-
#: ../mystickymenu.php:
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
"
|
77 |
-
msgstr ""
|
78 |
-
"Dodajte moderan 'sticky' izbornik ili zaglavlje bilo kojem predlošku (temi). "
|
79 |
-
"Zadane postavke rade na Twenty Thirteen temi. Za ostale teme promijenite "
|
80 |
-
"'Sticky klasu' u css klasu vašeg izbornika. Takodjer možete koristiti i css "
|
81 |
-
"ID."
|
82 |
|
83 |
-
#: ../mystickymenu.php:
|
84 |
-
|
|
|
85 |
msgstr "menu ili header css div klasa ili id."
|
86 |
|
87 |
-
#: ../mystickymenu.php:
|
88 |
msgid "numbers 1-100."
|
89 |
msgstr "brojevi 1-100"
|
90 |
|
91 |
-
#: ../mystickymenu.php:
|
92 |
msgid "in seconds."
|
93 |
msgstr "u sekundama"
|
94 |
|
95 |
-
#: ../mystickymenu.php:
|
96 |
msgid "less than"
|
97 |
msgstr "manjim od"
|
98 |
|
99 |
-
#: ../mystickymenu.php:
|
100 |
msgid "px width, 0 to disable."
|
101 |
msgstr "px širine. 0 da biste onemogućili opciju."
|
102 |
|
103 |
-
#: ../mystickymenu.php:
|
104 |
msgid "after"
|
105 |
msgstr "nakon"
|
106 |
|
107 |
-
#: ../mystickymenu.php:
|
108 |
-
msgid "px."
|
109 |
-
msgstr "
|
110 |
|
111 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
112 |
msgid "Checked is slide, unchecked is fade."
|
113 |
msgstr "Označeno je slide, neoznačeno je fade"
|
114 |
|
115 |
-
#: ../mystickymenu.php:
|
116 |
-
msgid ""
|
117 |
-
"Add/Edit .myfixed css class to change sticky menu style. Leave it blank for "
|
118 |
-
"default style."
|
119 |
msgstr ""
|
120 |
-
"Dodajte ili izmijenite .myfixed css klasu. Ostavite prazno za zadani stil."
|
121 |
|
122 |
-
#: ../mystickymenu.php:
|
123 |
-
|
124 |
-
|
|
|
|
|
125 |
|
126 |
-
#: ../mystickymenu.php:
|
127 |
-
|
128 |
-
"If you want to change sticky hover color
|
129 |
msgstr ""
|
130 |
"npr. ako želite promijeniti sticky hover boju, nakon zadanog stila dodajte: "
|
131 |
|
132 |
-
#: ../mystickymenu.php:
|
133 |
msgid ""
|
134 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
135 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
@@ -139,10 +158,76 @@ msgstr ""
|
|
139 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
140 |
"class-403'>ovdje</a>."
|
141 |
|
142 |
-
#: ../mystickymenu.php:
|
143 |
msgid "Use this option if you plan to include CSS Style manually"
|
144 |
msgstr "Koristiti ukoliko želite dodati CSS ručno"
|
145 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
#~ msgid "px. (scroll)"
|
147 |
#~ msgstr "px. (scroll)"
|
148 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
+
"POT-Creation-Date: 2017-09-15 08:38+0100\n"
|
5 |
+
"PO-Revision-Date: 2017-09-15 08:38+0100\n"
|
6 |
+
"Last-Translator: mrda <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: Croatian\n"
|
9 |
"MIME-Version: 1.0\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
+
#: ../mystickymenu.php:167
|
21 |
+
#, fuzzy
|
22 |
+
msgid "myStickymenu"
|
|
|
|
|
|
|
23 |
msgstr "myStickymenu Opcije"
|
24 |
|
25 |
+
#: ../mystickymenu.php:168
|
26 |
+
#, fuzzy
|
27 |
+
msgid ""
|
28 |
+
"Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
|
29 |
+
"HTML element class desired to be sticky (div id can be used as well)."
|
30 |
+
msgstr ""
|
31 |
+
"Dodajte moderan 'sticky' izbornik ili zaglavlje bilo kojem predlošku (temi). "
|
32 |
+
"Zadane postavke rade na Twenty Thirteen temi. Za ostale teme promijenite "
|
33 |
+
"'Sticky klasu' u css klasu vašeg izbornika. Takodjer možete koristiti i css "
|
34 |
+
"ID."
|
35 |
+
|
36 |
+
#: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
|
37 |
+
#: ../mystickymenu.php:561
|
38 |
+
msgid " "
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: ../mystickymenu.php:283
|
42 |
msgid "Sticky Class"
|
43 |
msgstr "Sticky klasa"
|
44 |
|
45 |
+
#: ../mystickymenu.php:291
|
46 |
+
msgid "Fade or slide effect"
|
47 |
+
msgstr "Fade ili Slide efekt"
|
48 |
+
|
49 |
+
#: ../mystickymenu.php:298
|
50 |
msgid "Sticky z-index"
|
51 |
msgstr "Sticky z-index"
|
52 |
|
53 |
+
#: ../mystickymenu.php:305
|
54 |
msgid "Sticky Background Color"
|
55 |
msgstr "Sticky pozadinska boja"
|
56 |
|
57 |
+
#: ../mystickymenu.php:312
|
58 |
msgid "Sticky Opacity"
|
59 |
msgstr "Sticky prozirnost"
|
60 |
|
61 |
+
#: ../mystickymenu.php:319
|
62 |
msgid "Sticky Transition Time"
|
63 |
msgstr "Sticky vrijeme tranzicije"
|
64 |
|
65 |
+
#: ../mystickymenu.php:326
|
66 |
msgid "Disable at Small Screen Sizes"
|
67 |
msgstr "Onemogući na malim ekranima"
|
68 |
|
69 |
+
#: ../mystickymenu.php:333
|
70 |
msgid "Make visible on Scroll"
|
71 |
msgstr "Učini izbornik vidljivim"
|
72 |
|
73 |
+
#: ../mystickymenu.php:340
|
74 |
msgid "Make visible on Scroll at homepage"
|
75 |
msgstr "Učini izbornik vidljivim na početnoj stranici"
|
76 |
|
77 |
+
#: ../mystickymenu.php:349
|
78 |
+
#, fuzzy
|
79 |
+
msgid "Disable on scroll down"
|
80 |
+
msgstr "Učini izbornik vidljivim"
|
81 |
|
82 |
+
#: ../mystickymenu.php:356
|
83 |
+
#, fuzzy
|
84 |
+
msgid "CSS style"
|
85 |
+
msgstr "Onemogući CSS"
|
86 |
|
87 |
+
#: ../mystickymenu.php:363
|
88 |
msgid "Disable CSS style"
|
89 |
msgstr "Onemogući CSS"
|
90 |
|
91 |
+
#: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
|
92 |
+
#: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
|
93 |
+
#: ../mystickymenu.php:410 ../mystickymenu.php:428
|
94 |
+
#, fuzzy
|
95 |
+
msgid "Disable at"
|
96 |
+
msgstr "Onemogući CSS"
|
|
|
|
|
|
|
|
|
97 |
|
98 |
+
#: ../mystickymenu.php:570
|
99 |
+
#, fuzzy
|
100 |
+
msgid "menu or header element class or id."
|
101 |
msgstr "menu ili header css div klasa ili id."
|
102 |
|
103 |
+
#: ../mystickymenu.php:596
|
104 |
msgid "numbers 1-100."
|
105 |
msgstr "brojevi 1-100"
|
106 |
|
107 |
+
#: ../mystickymenu.php:606
|
108 |
msgid "in seconds."
|
109 |
msgstr "u sekundama"
|
110 |
|
111 |
+
#: ../mystickymenu.php:615
|
112 |
msgid "less than"
|
113 |
msgstr "manjim od"
|
114 |
|
115 |
+
#: ../mystickymenu.php:620
|
116 |
msgid "px width, 0 to disable."
|
117 |
msgstr "px širine. 0 da biste onemogućili opciju."
|
118 |
|
119 |
+
#: ../mystickymenu.php:629 ../mystickymenu.php:643
|
120 |
msgid "after"
|
121 |
msgstr "nakon"
|
122 |
|
123 |
+
#: ../mystickymenu.php:634
|
124 |
+
msgid "px. If set to 0 auto calculate will be used."
|
125 |
+
msgstr ""
|
126 |
|
127 |
+
#: ../mystickymenu.php:648
|
128 |
+
msgid "px. If set to 0 it will use initial Make visible on Scroll value."
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: ../mystickymenu.php:659
|
132 |
msgid "Checked is slide, unchecked is fade."
|
133 |
msgstr "Označeno je slide, neoznačeno je fade"
|
134 |
|
135 |
+
#: ../mystickymenu.php:667
|
136 |
+
msgid "Disable sticky menu at scroll down"
|
|
|
|
|
137 |
msgstr ""
|
|
|
138 |
|
139 |
+
#: ../mystickymenu.php:680
|
140 |
+
#, fuzzy
|
141 |
+
msgid "Add/edit CSS style. Leave it blank for default style."
|
142 |
+
msgstr ""
|
143 |
+
"Dodajte ili izmijenite .myfixed css klasu. Ostavite prazno za zadani stil."
|
144 |
|
145 |
+
#: ../mystickymenu.php:688
|
146 |
+
#, fuzzy
|
147 |
+
msgid "If you want to change sticky hover color: "
|
148 |
msgstr ""
|
149 |
"npr. ako želite promijeniti sticky hover boju, nakon zadanog stila dodajte: "
|
150 |
|
151 |
+
#: ../mystickymenu.php:690
|
152 |
msgid ""
|
153 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
154 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
158 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
159 |
"class-403'>ovdje</a>."
|
160 |
|
161 |
+
#: ../mystickymenu.php:701
|
162 |
msgid "Use this option if you plan to include CSS Style manually"
|
163 |
msgstr "Koristiti ukoliko želite dodati CSS ručno"
|
164 |
|
165 |
+
#: ../mystickymenu.php:720
|
166 |
+
msgid "<span>front page </span>"
|
167 |
+
msgstr ""
|
168 |
+
|
169 |
+
#: ../mystickymenu.php:726
|
170 |
+
msgid "<span>blog page </span>"
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: ../mystickymenu.php:732
|
174 |
+
msgid "<span>pages </span>"
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: ../mystickymenu.php:738
|
178 |
+
msgid "<span>tags </span>"
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: ../mystickymenu.php:744
|
182 |
+
msgid "<span>categories </span>"
|
183 |
+
msgstr ""
|
184 |
+
|
185 |
+
#: ../mystickymenu.php:750
|
186 |
+
msgid "<span>posts </span>"
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: ../mystickymenu.php:756
|
190 |
+
msgid "<span>archives </span>"
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: ../mystickymenu.php:763
|
194 |
+
msgid "<span>search </span>"
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
+
#: ../mystickymenu.php:773
|
198 |
+
msgid "<span class=\"\">Except for this pages: </span>"
|
199 |
+
msgstr ""
|
200 |
+
|
201 |
+
#: ../mystickymenu.php:780
|
202 |
+
msgid ""
|
203 |
+
"<span class=\"description\">Comma separated list of pages to enable. It "
|
204 |
+
"should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
|
205 |
+
"blank if you realy want to disable sticky sidebar for all pages.</span>"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: ../mystickymenu.php:787
|
209 |
+
msgid "<span class=\"\">Except for this posts: </span>"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: ../mystickymenu.php:794
|
213 |
+
msgid ""
|
214 |
+
"<span class=\"description\">Comma separated list of posts to enable. It "
|
215 |
+
"should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
|
216 |
+
"blank if you realy want to disable sticky sidebar for all posts.</span>"
|
217 |
+
msgstr ""
|
218 |
+
|
219 |
+
#~ msgid "myStickymenu Settings"
|
220 |
+
#~ msgstr "myStickymenu Postavke"
|
221 |
+
|
222 |
+
#~ msgid ".myfixed css class"
|
223 |
+
#~ msgstr ".myfixed css klasa"
|
224 |
+
|
225 |
+
#~ msgid "px."
|
226 |
+
#~ msgstr "px."
|
227 |
+
|
228 |
+
#~ msgid "Default style: "
|
229 |
+
#~ msgstr "Zadani stil: "
|
230 |
+
|
231 |
#~ msgid "px. (scroll)"
|
232 |
#~ msgstr "px. (scroll)"
|
233 |
|
languages/mystickymenu-rs_RS.mo
CHANGED
Binary file
|
languages/mystickymenu-rs_RS.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
-
"Last-Translator:
|
7 |
"Language-Team: TFN <jahmirda@gmail.com>\n"
|
8 |
"Language: English\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -17,121 +17,140 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#: ../mystickymenu.php:
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
#: ../mystickymenu.php:78
|
25 |
-
msgid "myStickymenu Options"
|
26 |
msgstr "myStickymenu Opcije"
|
27 |
|
28 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
msgid "Sticky Class"
|
30 |
msgstr "Sticky klasa"
|
31 |
|
32 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
33 |
msgid "Sticky z-index"
|
34 |
msgstr "Sticky z-index"
|
35 |
|
36 |
-
#: ../mystickymenu.php:
|
37 |
msgid "Sticky Background Color"
|
38 |
msgstr "Sticky pozadinska boja"
|
39 |
|
40 |
-
#: ../mystickymenu.php:
|
41 |
msgid "Sticky Opacity"
|
42 |
msgstr "Sticky prozirnost"
|
43 |
|
44 |
-
#: ../mystickymenu.php:
|
45 |
msgid "Sticky Transition Time"
|
46 |
msgstr "Sticky vrijeme tranzicije"
|
47 |
|
48 |
-
#: ../mystickymenu.php:
|
49 |
msgid "Disable at Small Screen Sizes"
|
50 |
msgstr "Onemogući na malim ekranima"
|
51 |
|
52 |
-
#: ../mystickymenu.php:
|
53 |
msgid "Make visible on Scroll"
|
54 |
msgstr "Učini vidljivim kad se skroluje"
|
55 |
|
56 |
-
#: ../mystickymenu.php:
|
57 |
msgid "Make visible on Scroll at homepage"
|
58 |
msgstr "Učini vidljivim kad se skroluje na Homepage-u"
|
59 |
|
60 |
-
#: ../mystickymenu.php:
|
61 |
-
|
62 |
-
|
|
|
63 |
|
64 |
-
#: ../mystickymenu.php:
|
65 |
-
|
66 |
-
|
|
|
67 |
|
68 |
-
#: ../mystickymenu.php:
|
69 |
msgid "Disable CSS style"
|
70 |
msgstr "Onemogući CSS "
|
71 |
|
72 |
-
#: ../mystickymenu.php:
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
"
|
77 |
-
msgstr ""
|
78 |
-
"Dodajte moderan 'sticky' meni ili zaglavlje bilo kojoj (temi). Zadate "
|
79 |
-
"postavke rade na Twenty Thirteen temi. Za ostale teme promenite 'Sticky "
|
80 |
-
"klasu' u div klasu za koju želite da bude sticky. Takođe, možete koristiti i "
|
81 |
-
"div ID."
|
82 |
|
83 |
-
#: ../mystickymenu.php:
|
84 |
-
|
|
|
85 |
msgstr "div klasa menija ili zaglavlja."
|
86 |
|
87 |
-
#: ../mystickymenu.php:
|
88 |
msgid "numbers 1-100."
|
89 |
msgstr "brojevi 1-100."
|
90 |
|
91 |
-
#: ../mystickymenu.php:
|
92 |
msgid "in seconds."
|
93 |
msgstr "u sekundama."
|
94 |
|
95 |
-
#: ../mystickymenu.php:
|
96 |
msgid "less than"
|
97 |
msgstr "manje od"
|
98 |
|
99 |
-
#: ../mystickymenu.php:
|
100 |
msgid "px width, 0 to disable."
|
101 |
msgstr "px širine. 0 da biste onemogućili opciju."
|
102 |
|
103 |
-
#: ../mystickymenu.php:
|
104 |
msgid "after"
|
105 |
msgstr "nakon"
|
106 |
|
107 |
-
#: ../mystickymenu.php:
|
108 |
-
msgid "px."
|
109 |
-
msgstr "
|
110 |
|
111 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
112 |
msgid "Checked is slide, unchecked is fade."
|
113 |
msgstr "Označeno je slide, neoznačeno je fade."
|
114 |
|
115 |
-
#: ../mystickymenu.php:
|
116 |
-
msgid ""
|
117 |
-
|
118 |
-
|
|
|
|
|
|
|
119 |
msgstr ""
|
120 |
"Dodajte/Uredite .myfixed css klasu da biste promenili izgled sticky menija. "
|
121 |
"Za podrazumevani izgled, ostavite nepopunjeno. "
|
122 |
|
123 |
-
#: ../mystickymenu.php:
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
#: ../mystickymenu.php:351
|
128 |
-
msgid ""
|
129 |
-
"If you want to change sticky hover color first add default style and than: "
|
130 |
msgstr ""
|
131 |
"Ako želite da promenite sticky hover boju, prvo dodajte podrazumevani stil i "
|
132 |
"zatim: "
|
133 |
|
134 |
-
#: ../mystickymenu.php:
|
135 |
msgid ""
|
136 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
137 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
@@ -141,10 +160,76 @@ msgstr ""
|
|
141 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
142 |
"class-403'>ovde</a>."
|
143 |
|
144 |
-
#: ../mystickymenu.php:
|
145 |
msgid "Use this option if you plan to include CSS Style manually"
|
146 |
msgstr "Koristite ukoliko želite dodati CSS ručno"
|
147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
#~ msgid "px. (scroll)"
|
149 |
#~ msgstr "px. (scroll)"
|
150 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
+
"POT-Creation-Date: 2017-09-15 08:38+0100\n"
|
5 |
+
"PO-Revision-Date: 2017-09-15 08:38+0100\n"
|
6 |
+
"Last-Translator: mrda <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: TFN <jahmirda@gmail.com>\n"
|
8 |
"Language: English\n"
|
9 |
"MIME-Version: 1.0\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
+
#: ../mystickymenu.php:167
|
21 |
+
#, fuzzy
|
22 |
+
msgid "myStickymenu"
|
|
|
|
|
|
|
23 |
msgstr "myStickymenu Opcije"
|
24 |
|
25 |
+
#: ../mystickymenu.php:168
|
26 |
+
#, fuzzy
|
27 |
+
msgid ""
|
28 |
+
"Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
|
29 |
+
"HTML element class desired to be sticky (div id can be used as well)."
|
30 |
+
msgstr ""
|
31 |
+
"Dodajte moderan 'sticky' meni ili zaglavlje bilo kojoj (temi). Zadate "
|
32 |
+
"postavke rade na Twenty Thirteen temi. Za ostale teme promenite 'Sticky "
|
33 |
+
"klasu' u div klasu za koju želite da bude sticky. Takođe, možete koristiti i "
|
34 |
+
"div ID."
|
35 |
+
|
36 |
+
#: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
|
37 |
+
#: ../mystickymenu.php:561
|
38 |
+
msgid " "
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: ../mystickymenu.php:283
|
42 |
msgid "Sticky Class"
|
43 |
msgstr "Sticky klasa"
|
44 |
|
45 |
+
#: ../mystickymenu.php:291
|
46 |
+
msgid "Fade or slide effect"
|
47 |
+
msgstr "Fade ili Slide efekt"
|
48 |
+
|
49 |
+
#: ../mystickymenu.php:298
|
50 |
msgid "Sticky z-index"
|
51 |
msgstr "Sticky z-index"
|
52 |
|
53 |
+
#: ../mystickymenu.php:305
|
54 |
msgid "Sticky Background Color"
|
55 |
msgstr "Sticky pozadinska boja"
|
56 |
|
57 |
+
#: ../mystickymenu.php:312
|
58 |
msgid "Sticky Opacity"
|
59 |
msgstr "Sticky prozirnost"
|
60 |
|
61 |
+
#: ../mystickymenu.php:319
|
62 |
msgid "Sticky Transition Time"
|
63 |
msgstr "Sticky vrijeme tranzicije"
|
64 |
|
65 |
+
#: ../mystickymenu.php:326
|
66 |
msgid "Disable at Small Screen Sizes"
|
67 |
msgstr "Onemogući na malim ekranima"
|
68 |
|
69 |
+
#: ../mystickymenu.php:333
|
70 |
msgid "Make visible on Scroll"
|
71 |
msgstr "Učini vidljivim kad se skroluje"
|
72 |
|
73 |
+
#: ../mystickymenu.php:340
|
74 |
msgid "Make visible on Scroll at homepage"
|
75 |
msgstr "Učini vidljivim kad se skroluje na Homepage-u"
|
76 |
|
77 |
+
#: ../mystickymenu.php:349
|
78 |
+
#, fuzzy
|
79 |
+
msgid "Disable on scroll down"
|
80 |
+
msgstr "Učini vidljivim kad se skroluje"
|
81 |
|
82 |
+
#: ../mystickymenu.php:356
|
83 |
+
#, fuzzy
|
84 |
+
msgid "CSS style"
|
85 |
+
msgstr "Onemogući CSS "
|
86 |
|
87 |
+
#: ../mystickymenu.php:363
|
88 |
msgid "Disable CSS style"
|
89 |
msgstr "Onemogući CSS "
|
90 |
|
91 |
+
#: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
|
92 |
+
#: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
|
93 |
+
#: ../mystickymenu.php:410 ../mystickymenu.php:428
|
94 |
+
#, fuzzy
|
95 |
+
msgid "Disable at"
|
96 |
+
msgstr "Onemogući CSS "
|
|
|
|
|
|
|
|
|
97 |
|
98 |
+
#: ../mystickymenu.php:570
|
99 |
+
#, fuzzy
|
100 |
+
msgid "menu or header element class or id."
|
101 |
msgstr "div klasa menija ili zaglavlja."
|
102 |
|
103 |
+
#: ../mystickymenu.php:596
|
104 |
msgid "numbers 1-100."
|
105 |
msgstr "brojevi 1-100."
|
106 |
|
107 |
+
#: ../mystickymenu.php:606
|
108 |
msgid "in seconds."
|
109 |
msgstr "u sekundama."
|
110 |
|
111 |
+
#: ../mystickymenu.php:615
|
112 |
msgid "less than"
|
113 |
msgstr "manje od"
|
114 |
|
115 |
+
#: ../mystickymenu.php:620
|
116 |
msgid "px width, 0 to disable."
|
117 |
msgstr "px širine. 0 da biste onemogućili opciju."
|
118 |
|
119 |
+
#: ../mystickymenu.php:629 ../mystickymenu.php:643
|
120 |
msgid "after"
|
121 |
msgstr "nakon"
|
122 |
|
123 |
+
#: ../mystickymenu.php:634
|
124 |
+
msgid "px. If set to 0 auto calculate will be used."
|
125 |
+
msgstr ""
|
126 |
|
127 |
+
#: ../mystickymenu.php:648
|
128 |
+
msgid "px. If set to 0 it will use initial Make visible on Scroll value."
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: ../mystickymenu.php:659
|
132 |
msgid "Checked is slide, unchecked is fade."
|
133 |
msgstr "Označeno je slide, neoznačeno je fade."
|
134 |
|
135 |
+
#: ../mystickymenu.php:667
|
136 |
+
msgid "Disable sticky menu at scroll down"
|
137 |
+
msgstr ""
|
138 |
+
|
139 |
+
#: ../mystickymenu.php:680
|
140 |
+
#, fuzzy
|
141 |
+
msgid "Add/edit CSS style. Leave it blank for default style."
|
142 |
msgstr ""
|
143 |
"Dodajte/Uredite .myfixed css klasu da biste promenili izgled sticky menija. "
|
144 |
"Za podrazumevani izgled, ostavite nepopunjeno. "
|
145 |
|
146 |
+
#: ../mystickymenu.php:688
|
147 |
+
#, fuzzy
|
148 |
+
msgid "If you want to change sticky hover color: "
|
|
|
|
|
|
|
|
|
149 |
msgstr ""
|
150 |
"Ako želite da promenite sticky hover boju, prvo dodajte podrazumevani stil i "
|
151 |
"zatim: "
|
152 |
|
153 |
+
#: ../mystickymenu.php:690
|
154 |
msgid ""
|
155 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
156 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
160 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
161 |
"class-403'>ovde</a>."
|
162 |
|
163 |
+
#: ../mystickymenu.php:701
|
164 |
msgid "Use this option if you plan to include CSS Style manually"
|
165 |
msgstr "Koristite ukoliko želite dodati CSS ručno"
|
166 |
|
167 |
+
#: ../mystickymenu.php:720
|
168 |
+
msgid "<span>front page </span>"
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: ../mystickymenu.php:726
|
172 |
+
msgid "<span>blog page </span>"
|
173 |
+
msgstr ""
|
174 |
+
|
175 |
+
#: ../mystickymenu.php:732
|
176 |
+
msgid "<span>pages </span>"
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: ../mystickymenu.php:738
|
180 |
+
msgid "<span>tags </span>"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: ../mystickymenu.php:744
|
184 |
+
msgid "<span>categories </span>"
|
185 |
+
msgstr ""
|
186 |
+
|
187 |
+
#: ../mystickymenu.php:750
|
188 |
+
msgid "<span>posts </span>"
|
189 |
+
msgstr ""
|
190 |
+
|
191 |
+
#: ../mystickymenu.php:756
|
192 |
+
msgid "<span>archives </span>"
|
193 |
+
msgstr ""
|
194 |
+
|
195 |
+
#: ../mystickymenu.php:763
|
196 |
+
msgid "<span>search </span>"
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: ../mystickymenu.php:773
|
200 |
+
msgid "<span class=\"\">Except for this pages: </span>"
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: ../mystickymenu.php:780
|
204 |
+
msgid ""
|
205 |
+
"<span class=\"description\">Comma separated list of pages to enable. It "
|
206 |
+
"should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
|
207 |
+
"blank if you realy want to disable sticky sidebar for all pages.</span>"
|
208 |
+
msgstr ""
|
209 |
+
|
210 |
+
#: ../mystickymenu.php:787
|
211 |
+
msgid "<span class=\"\">Except for this posts: </span>"
|
212 |
+
msgstr ""
|
213 |
+
|
214 |
+
#: ../mystickymenu.php:794
|
215 |
+
msgid ""
|
216 |
+
"<span class=\"description\">Comma separated list of posts to enable. It "
|
217 |
+
"should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
|
218 |
+
"blank if you realy want to disable sticky sidebar for all posts.</span>"
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#~ msgid "myStickymenu Settings"
|
222 |
+
#~ msgstr "myStickymenu Postavke"
|
223 |
+
|
224 |
+
#~ msgid ".myfixed css class"
|
225 |
+
#~ msgstr ".myfixed css klasa"
|
226 |
+
|
227 |
+
#~ msgid "px."
|
228 |
+
#~ msgstr "px."
|
229 |
+
|
230 |
+
#~ msgid "Default style: "
|
231 |
+
#~ msgstr "Podrazumevani izgled: "
|
232 |
+
|
233 |
#~ msgid "px. (scroll)"
|
234 |
#~ msgstr "px. (scroll)"
|
235 |
|
languages/mystickymenu.mo
CHANGED
Binary file
|
languages/mystickymenu.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
-
"Last-Translator:
|
7 |
"Language-Team: TFN <jahmirda@gmail.com>\n"
|
8 |
"Language: English\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -17,122 +17,187 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#: ../mystickymenu.php:
|
21 |
-
msgid "myStickymenu
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: ../mystickymenu.php:
|
25 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
msgstr ""
|
27 |
|
28 |
-
#: ../mystickymenu.php:
|
29 |
msgid "Sticky Class"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
33 |
msgid "Sticky z-index"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: ../mystickymenu.php:
|
37 |
msgid "Sticky Background Color"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: ../mystickymenu.php:
|
41 |
msgid "Sticky Opacity"
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: ../mystickymenu.php:
|
45 |
msgid "Sticky Transition Time"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: ../mystickymenu.php:
|
49 |
msgid "Disable at Small Screen Sizes"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: ../mystickymenu.php:
|
53 |
msgid "Make visible on Scroll"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: ../mystickymenu.php:
|
57 |
msgid "Make visible on Scroll at homepage"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: ../mystickymenu.php:
|
61 |
-
msgid "
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: ../mystickymenu.php:
|
65 |
-
msgid "
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: ../mystickymenu.php:
|
69 |
msgid "Disable CSS style"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: ../mystickymenu.php:
|
73 |
-
|
74 |
-
|
75 |
-
"
|
76 |
-
"class desired to be sticky (div id can be used too)."
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: ../mystickymenu.php:
|
80 |
-
msgid "menu or header
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: ../mystickymenu.php:
|
84 |
msgid "numbers 1-100."
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: ../mystickymenu.php:
|
88 |
msgid "in seconds."
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: ../mystickymenu.php:
|
92 |
msgid "less than"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: ../mystickymenu.php:
|
96 |
msgid "px width, 0 to disable."
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: ../mystickymenu.php:
|
100 |
msgid "after"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: ../mystickymenu.php:
|
104 |
-
msgid "px."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
108 |
msgid "Checked is slide, unchecked is fade."
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: ../mystickymenu.php:
|
112 |
-
msgid ""
|
113 |
-
"Add/Edit .myfixed css class to change sticky menu style. Leave it blank for "
|
114 |
-
"default style."
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: ../mystickymenu.php:
|
118 |
-
msgid "
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: ../mystickymenu.php:
|
122 |
-
msgid ""
|
123 |
-
"If you want to change sticky hover color first add default style and than: "
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: ../mystickymenu.php:
|
127 |
msgid ""
|
128 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
129 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
130 |
"class-403'>here</a>."
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: ../mystickymenu.php:
|
134 |
msgid "Use this option if you plan to include CSS Style manually"
|
135 |
msgstr ""
|
136 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
#~ msgid "mymessage2"
|
138 |
#~ msgstr "Bye"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
+
"POT-Creation-Date: 2017-09-15 08:37+0100\n"
|
5 |
+
"PO-Revision-Date: 2017-09-15 08:38+0100\n"
|
6 |
+
"Last-Translator: mrda <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: TFN <jahmirda@gmail.com>\n"
|
8 |
"Language: English\n"
|
9 |
"MIME-Version: 1.0\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
+
#: ../mystickymenu.php:167
|
21 |
+
msgid "myStickymenu"
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: ../mystickymenu.php:168
|
25 |
+
msgid ""
|
26 |
+
"Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to "
|
27 |
+
"HTML element class desired to be sticky (div id can be used as well)."
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: ../mystickymenu.php:271 ../mystickymenu.php:416 ../mystickymenu.php:422
|
31 |
+
#: ../mystickymenu.php:561
|
32 |
+
msgid " "
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: ../mystickymenu.php:283
|
36 |
msgid "Sticky Class"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: ../mystickymenu.php:291
|
40 |
+
msgid "Fade or slide effect"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: ../mystickymenu.php:298
|
44 |
msgid "Sticky z-index"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: ../mystickymenu.php:305
|
48 |
msgid "Sticky Background Color"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: ../mystickymenu.php:312
|
52 |
msgid "Sticky Opacity"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: ../mystickymenu.php:319
|
56 |
msgid "Sticky Transition Time"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: ../mystickymenu.php:326
|
60 |
msgid "Disable at Small Screen Sizes"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: ../mystickymenu.php:333
|
64 |
msgid "Make visible on Scroll"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: ../mystickymenu.php:340
|
68 |
msgid "Make visible on Scroll at homepage"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: ../mystickymenu.php:349
|
72 |
+
msgid "Disable on scroll down"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: ../mystickymenu.php:356
|
76 |
+
msgid "CSS style"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: ../mystickymenu.php:363
|
80 |
msgid "Disable CSS style"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: ../mystickymenu.php:373 ../mystickymenu.php:380 ../mystickymenu.php:386
|
84 |
+
#: ../mystickymenu.php:392 ../mystickymenu.php:398 ../mystickymenu.php:404
|
85 |
+
#: ../mystickymenu.php:410 ../mystickymenu.php:428
|
86 |
+
msgid "Disable at"
|
|
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: ../mystickymenu.php:570
|
90 |
+
msgid "menu or header element class or id."
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: ../mystickymenu.php:596
|
94 |
msgid "numbers 1-100."
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: ../mystickymenu.php:606
|
98 |
msgid "in seconds."
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: ../mystickymenu.php:615
|
102 |
msgid "less than"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: ../mystickymenu.php:620
|
106 |
msgid "px width, 0 to disable."
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: ../mystickymenu.php:629 ../mystickymenu.php:643
|
110 |
msgid "after"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: ../mystickymenu.php:634
|
114 |
+
msgid "px. If set to 0 auto calculate will be used."
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: ../mystickymenu.php:648
|
118 |
+
msgid "px. If set to 0 it will use initial Make visible on Scroll value."
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: ../mystickymenu.php:659
|
122 |
msgid "Checked is slide, unchecked is fade."
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: ../mystickymenu.php:667
|
126 |
+
msgid "Disable sticky menu at scroll down"
|
|
|
|
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: ../mystickymenu.php:680
|
130 |
+
msgid "Add/edit CSS style. Leave it blank for default style."
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: ../mystickymenu.php:688
|
134 |
+
msgid "If you want to change sticky hover color: "
|
|
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: ../mystickymenu.php:690
|
138 |
msgid ""
|
139 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
140 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
141 |
"class-403'>here</a>."
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: ../mystickymenu.php:701
|
145 |
msgid "Use this option if you plan to include CSS Style manually"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: ../mystickymenu.php:720
|
149 |
+
msgid "<span>front page </span>"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: ../mystickymenu.php:726
|
153 |
+
msgid "<span>blog page </span>"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: ../mystickymenu.php:732
|
157 |
+
msgid "<span>pages </span>"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: ../mystickymenu.php:738
|
161 |
+
msgid "<span>tags </span>"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: ../mystickymenu.php:744
|
165 |
+
msgid "<span>categories </span>"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: ../mystickymenu.php:750
|
169 |
+
msgid "<span>posts </span>"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: ../mystickymenu.php:756
|
173 |
+
msgid "<span>archives </span>"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: ../mystickymenu.php:763
|
177 |
+
msgid "<span>search </span>"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: ../mystickymenu.php:773
|
181 |
+
msgid "<span class=\"\">Except for this pages: </span>"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: ../mystickymenu.php:780
|
185 |
+
msgid ""
|
186 |
+
"<span class=\"description\">Comma separated list of pages to enable. It "
|
187 |
+
"should be page name, id or slug. Example: about-us, 1134, Contact Us. Leave "
|
188 |
+
"blank if you realy want to disable sticky sidebar for all pages.</span>"
|
189 |
+
msgstr ""
|
190 |
+
|
191 |
+
#: ../mystickymenu.php:787
|
192 |
+
msgid "<span class=\"\">Except for this posts: </span>"
|
193 |
+
msgstr ""
|
194 |
+
|
195 |
+
#: ../mystickymenu.php:794
|
196 |
+
msgid ""
|
197 |
+
"<span class=\"description\">Comma separated list of posts to enable. It "
|
198 |
+
"should be post name, id or slug. Example: about-us, 1134, Contact Us. Leave "
|
199 |
+
"blank if you realy want to disable sticky sidebar for all posts.</span>"
|
200 |
+
msgstr ""
|
201 |
+
|
202 |
#~ msgid "mymessage2"
|
203 |
#~ msgstr "Bye"
|
mystickymenu.php
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
/*
|
3 |
Plugin Name: myStickymenu
|
4 |
Plugin URI: http://wordpress.transformnews.com/plugins/mystickymenu-simple-sticky-fixed-on-top-menu-implementation-for-twentythirteen-menu-269
|
5 |
-
Description: Simple sticky (fixed on top) menu implementation for
|
6 |
-
Version:
|
7 |
Author: m.r.d.a
|
8 |
Author URI: http://wordpress.transformnews.com/
|
9 |
Text Domain: mystickymenu
|
@@ -12,6 +12,7 @@
|
|
12 |
*/
|
13 |
|
14 |
defined('ABSPATH') or die("Cannot access pages directly.");
|
|
|
15 |
|
16 |
class MyStickyMenuBackend
|
17 |
{
|
@@ -24,8 +25,120 @@ class MyStickyMenuBackend
|
|
24 |
add_action( 'admin_init', array( $this, 'mysticky_load_transl') );
|
25 |
add_action( 'admin_init', array( $this, 'page_init' ) );
|
26 |
add_action( 'admin_init', array( $this, 'mysticky_default_options' ) );
|
27 |
-
|
|
|
|
|
28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
public function mysticky_load_transl()
|
31 |
{
|
@@ -50,15 +163,91 @@ class MyStickyMenuBackend
|
|
50 |
$this->options = get_option( 'mysticky_option_name');
|
51 |
?>
|
52 |
<div class="wrap">
|
53 |
-
|
54 |
-
<h2><?php _e('myStickymenu
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
</form>
|
|
|
|
|
62 |
</div>
|
63 |
<?php
|
64 |
}
|
@@ -72,14 +261,23 @@ class MyStickyMenuBackend
|
|
72 |
array( $this, 'sanitize' )
|
73 |
);
|
74 |
|
|
|
|
|
|
|
75 |
add_settings_field( $id, $title, $callback, $page, $section = 'default', $args = array() );
|
76 |
|
77 |
add_settings_section(
|
78 |
'setting_section_id',
|
79 |
-
__("
|
80 |
array( $this, 'print_section_info' ),
|
81 |
'my-stickymenu-settings'
|
|
|
82 |
);
|
|
|
|
|
|
|
|
|
|
|
83 |
add_settings_field(
|
84 |
'mysticky_class_selector',
|
85 |
__("Sticky Class", 'mystickymenu'),
|
@@ -87,6 +285,14 @@ class MyStickyMenuBackend
|
|
87 |
'my-stickymenu-settings',
|
88 |
'setting_section_id'
|
89 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
add_settings_field(
|
91 |
'myfixed_zindex',
|
92 |
__("Sticky z-index", 'mystickymenu'),
|
@@ -136,16 +342,18 @@ class MyStickyMenuBackend
|
|
136 |
'my-stickymenu-settings',
|
137 |
'setting_section_id'
|
138 |
);
|
|
|
|
|
139 |
add_settings_field(
|
140 |
-
'
|
141 |
-
__("
|
142 |
-
array( $this, 'myfixed_fade_callback' ),
|
143 |
'my-stickymenu-settings',
|
144 |
'setting_section_id'
|
145 |
);
|
|
|
146 |
add_settings_field(
|
147 |
'myfixed_cssstyle',
|
148 |
-
__("
|
149 |
array( $this, 'myfixed_cssstyle_callback' ),
|
150 |
'my-stickymenu-settings',
|
151 |
'setting_section_id'
|
@@ -205,13 +413,13 @@ class MyStickyMenuBackend
|
|
205 |
);
|
206 |
add_settings_field(
|
207 |
'mysticky_enable_at_pages',
|
208 |
-
__("", 'mystickysidebar'),
|
209 |
'my-stickymenu-settings',
|
210 |
'setting_section_id'
|
211 |
);
|
212 |
add_settings_field(
|
213 |
'mysticky_enable_at_posts',
|
214 |
-
__("", 'mystickysidebar'),
|
215 |
'my-stickymenu-settings',
|
216 |
'setting_section_id'
|
217 |
);
|
@@ -259,6 +467,10 @@ class MyStickyMenuBackend
|
|
259 |
|
260 |
if( isset( $input['myfixed_fade'] ) )
|
261 |
$new_input['myfixed_fade'] = sanitize_text_field( $input['myfixed_fade'] );
|
|
|
|
|
|
|
|
|
262 |
|
263 |
if( isset( $input['myfixed_cssstyle'] ) )
|
264 |
$new_input['myfixed_cssstyle'] = sanitize_text_field( $input['myfixed_cssstyle'] );
|
@@ -311,31 +523,42 @@ class MyStickyMenuBackend
|
|
311 |
$default = array(
|
312 |
|
313 |
'mysticky_class_selector' => '.navbar',
|
314 |
-
'myfixed_zindex' => '
|
315 |
-
'myfixed_bgcolor' => '#
|
316 |
'myfixed_opacity' => '90',
|
317 |
'myfixed_transition_time' => '0.3',
|
318 |
-
'myfixed_disable_small_screen' => '
|
319 |
-
'mysticky_active_on_height' => '
|
320 |
-
'mysticky_active_on_height_home' => '
|
321 |
-
'myfixed_fade' =>
|
322 |
-
'myfixed_cssstyle' => '.myfixed { margin:0 auto
|
323 |
);
|
324 |
|
325 |
if ( get_option('mysticky_option_name') == false ) {
|
326 |
update_option( 'mysticky_option_name', $default );
|
|
|
|
|
|
|
|
|
|
|
327 |
}
|
|
|
|
|
328 |
}
|
329 |
|
330 |
-
|
|
|
|
|
|
|
331 |
{
|
332 |
wp_enqueue_style( 'wp-color-picker' );
|
333 |
wp_enqueue_script( 'my-script-handle', plugins_url('js/iris-script.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
|
|
|
334 |
}
|
335 |
|
336 |
public function print_section_info()
|
337 |
{
|
338 |
-
echo __("
|
339 |
}
|
340 |
|
341 |
public function mysticky_class_selector_callback()
|
@@ -344,7 +567,7 @@ class MyStickyMenuBackend
|
|
344 |
'<p class="description"><input type="text" size="8" id="mysticky_class_selector" name="mysticky_option_name[mysticky_class_selector]" value="%s" /> ',
|
345 |
isset( $this->options['mysticky_class_selector'] ) ? esc_attr( $this->options['mysticky_class_selector']) : ''
|
346 |
);
|
347 |
-
echo __("menu or header
|
348 |
echo '</p>';
|
349 |
}
|
350 |
|
@@ -408,7 +631,7 @@ class MyStickyMenuBackend
|
|
408 |
' <input type="number" class="small-text" min="0" step="1" id="mysticky_active_on_height" name="mysticky_option_name[mysticky_active_on_height]" value="%s" />',
|
409 |
isset( $this->options['mysticky_active_on_height'] ) ? esc_attr( $this->options['mysticky_active_on_height']) : ''
|
410 |
);
|
411 |
-
echo __("px.", 'mystickymenu');
|
412 |
echo '</p>';
|
413 |
}
|
414 |
|
@@ -422,7 +645,7 @@ class MyStickyMenuBackend
|
|
422 |
' <input type="number" class="small-text" min="0" step="1" id="mysticky_active_on_height_home" name="mysticky_option_name[mysticky_active_on_height_home]" value="%s" />',
|
423 |
isset( $this->options['mysticky_active_on_height_home'] ) ? esc_attr( $this->options['mysticky_active_on_height_home']) : ''
|
424 |
);
|
425 |
-
echo __("px.", 'mystickymenu');
|
426 |
echo '</p>';
|
427 |
}
|
428 |
|
@@ -435,6 +658,18 @@ class MyStickyMenuBackend
|
|
435 |
);
|
436 |
echo __("Checked is slide, unchecked is fade.", 'mystickymenu');
|
437 |
echo '</p>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
}
|
439 |
|
440 |
public function myfixed_cssstyle_callback()
|
@@ -442,16 +677,15 @@ class MyStickyMenuBackend
|
|
442 |
printf(
|
443 |
'<p class="description">'
|
444 |
);
|
445 |
-
echo __("Add/
|
446 |
echo '</p>';
|
447 |
printf(
|
448 |
'<textarea type="text" rows="4" cols="60" id="myfixed_cssstyle" name="mysticky_option_name[myfixed_cssstyle]">%s</textarea> <br />',
|
449 |
isset( $this->options['myfixed_cssstyle'] ) ? esc_attr( $this->options['myfixed_cssstyle']) : ''
|
450 |
);
|
451 |
echo '<p class="description">';
|
452 |
-
|
453 |
-
echo
|
454 |
-
echo __("If you want to change sticky hover color first add default style and than: ", 'mystickymenu');
|
455 |
echo '.myfixed li a:hover {color:#000; background-color: #ccc;}<br />';
|
456 |
echo __("More examples <a href='http://wordpress.transformnews.com/tutorials/mystickymenu-extended-style-functionality-using-myfixed-sticky-class-403'>here</a>.", 'mystickymenu');
|
457 |
echo'</p>';
|
@@ -613,61 +847,27 @@ class MyStickyMenuFrontend
|
|
613 |
|
614 |
{
|
615 |
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
|
|
|
|
620 |
|
621 |
-
|
622 |
-
|
|
|
623 |
|
624 |
if ( $mysticky_options['myfixed_cssstyle'] == "" ) {
|
625 |
-
echo '.myfixed{margin:0 auto
|
626 |
}
|
|
|
|
|
|
|
627 |
echo $mysticky_options ['myfixed_cssstyle'];
|
628 |
-
echo '#mysticky-nav { width:100%!important; position: static;';
|
629 |
-
|
630 |
|
631 |
-
if (isset($mysticky_options['myfixed_fade']))
|
632 |
-
{
|
633 |
-
echo 'top: -100px;';
|
634 |
-
}
|
635 |
-
echo '}';
|
636 |
-
|
637 |
-
|
638 |
-
if ($mysticky_options ['myfixed_opacity'] == 100 ){
|
639 |
-
|
640 |
-
if ( is_admin_bar_showing() ) {
|
641 |
-
|
642 |
-
echo '.wrapfixed { position: fixed!important; top:32px!important; left: 0px!important; margin-top:0px!important; z-index: '. $mysticky_options ['myfixed_zindex'] .'; -webkit-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -moz-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -o-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; background-color: ' . $mysticky_options ['myfixed_bgcolor'] . '!important;}';
|
643 |
-
|
644 |
-
} else {
|
645 |
-
|
646 |
-
echo '.wrapfixed { position: fixed!important; top:0px!important; left: 0px!important; margin-top:0px!important; z-index: '. $mysticky_options ['myfixed_zindex'] .'; -webkit-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -moz-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -o-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; background-color: ' . $mysticky_options ['myfixed_bgcolor'] . '!important;}';
|
647 |
-
|
648 |
-
}
|
649 |
-
|
650 |
-
}
|
651 |
-
|
652 |
-
if ($mysticky_options ['myfixed_opacity'] < 100 ){
|
653 |
-
|
654 |
-
if ( is_admin_bar_showing() ) {
|
655 |
-
|
656 |
-
echo '.wrapfixed { position: fixed!important; top:32px!important; left: 0px!important; margin-top:0px!important; z-index: '. $mysticky_options ['myfixed_zindex'] .'; -webkit-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -moz-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -o-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=' . $mysticky_options ['myfixed_opacity'] . ')"; filter: alpha(opacity=' . $mysticky_options ['myfixed_opacity'] . '); opacity:.' . $mysticky_options ['myfixed_opacity'] . '; background-color: ' . $mysticky_options ['myfixed_bgcolor'] . '!important;}';
|
657 |
|
658 |
-
|
659 |
-
|
660 |
-
echo '.wrapfixed { position: fixed!important; top:0px!important; left: 0px!important; margin-top:0px!important; z-index: '. $mysticky_options ['myfixed_zindex'] .'; -webkit-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -moz-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -o-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=' . $mysticky_options ['myfixed_opacity'] . ')"; filter: alpha(opacity=' . $mysticky_options ['myfixed_opacity'] . '); opacity:.' . $mysticky_options ['myfixed_opacity'] . '; background-color: ' . $mysticky_options ['myfixed_bgcolor'] . '!important;}';
|
661 |
-
|
662 |
-
}
|
663 |
-
|
664 |
-
}
|
665 |
-
|
666 |
-
if ($mysticky_options ['myfixed_disable_small_screen'] > 0 ){
|
667 |
-
|
668 |
-
echo '@media (max-width: ' . $mysticky_options ['myfixed_disable_small_screen'] . 'px) {.wrapfixed {position: static!important;} }';
|
669 |
-
|
670 |
-
}
|
671 |
echo '</style>';
|
672 |
}
|
673 |
}
|
@@ -677,6 +877,13 @@ class MyStickyMenuFrontend
|
|
677 |
public function mystickymenu_script() {
|
678 |
|
679 |
$mysticky_options = get_option( 'mysticky_option_name' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
680 |
|
681 |
// needed for update 1.7 => 1.8 ... will be removed in the future ()
|
682 |
if (isset($mysticky_options['mysticky_active_on_height_home'])){
|
@@ -685,6 +892,7 @@ class MyStickyMenuFrontend
|
|
685 |
$mysticky_options['mysticky_active_on_height_home'] = $mysticky_options['mysticky_active_on_height'];
|
686 |
};
|
687 |
|
|
|
688 |
if ($mysticky_options['mysticky_active_on_height_home'] == 0 ){
|
689 |
$mysticky_options['mysticky_active_on_height_home'] = $mysticky_options['mysticky_active_on_height'];
|
690 |
};
|
@@ -700,16 +908,24 @@ class MyStickyMenuFrontend
|
|
700 |
|
701 |
}
|
702 |
|
703 |
-
wp_register_script('mystickymenu', plugins_url( 'js/mystickymenu.min.js', __FILE__ ), array('jquery'),
|
704 |
wp_enqueue_script( 'mystickymenu' );
|
705 |
|
|
|
|
|
|
|
706 |
$mysticky_translation_array = array(
|
707 |
-
'
|
708 |
-
'
|
709 |
-
'
|
|
|
|
|
|
|
|
|
|
|
710 |
);
|
711 |
|
712 |
-
wp_localize_script( 'mystickymenu', '
|
713 |
}
|
714 |
|
715 |
//add_action( 'wp_enqueue_scripts', 'mystickymenu_script' );
|
2 |
/*
|
3 |
Plugin Name: myStickymenu
|
4 |
Plugin URI: http://wordpress.transformnews.com/plugins/mystickymenu-simple-sticky-fixed-on-top-menu-implementation-for-twentythirteen-menu-269
|
5 |
+
Description: Simple sticky (fixed on top) menu implementation for navigation menu. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
|
6 |
+
Version: 2.0
|
7 |
Author: m.r.d.a
|
8 |
Author URI: http://wordpress.transformnews.com/
|
9 |
Text Domain: mystickymenu
|
12 |
*/
|
13 |
|
14 |
defined('ABSPATH') or die("Cannot access pages directly.");
|
15 |
+
define( 'MYSTICKY_VERSION', '2.0' );
|
16 |
|
17 |
class MyStickyMenuBackend
|
18 |
{
|
25 |
add_action( 'admin_init', array( $this, 'mysticky_load_transl') );
|
26 |
add_action( 'admin_init', array( $this, 'page_init' ) );
|
27 |
add_action( 'admin_init', array( $this, 'mysticky_default_options' ) );
|
28 |
+
|
29 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'mysticky_enqueue_color_picker' ) );
|
30 |
+
add_action( 'admin_head', array( $this, 'mysticky_admin_script' ) );
|
31 |
}
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
public function mysticky_admin_script() {
|
37 |
+
echo '<style type="text/css">.general,.style,.advanced,.hideform,.hideformreset{display:none;}</style>';
|
38 |
+
echo '
|
39 |
+
<script>
|
40 |
+
|
41 |
+
(function( $ ) {
|
42 |
+
"use strict";
|
43 |
+
|
44 |
+
jQuery(document).ready(function($){
|
45 |
+
|
46 |
+
|
47 |
+
$("#myfixed_zindex,#myfixed_opacity,#myfixed_transition_time,#disable_css").parent().parent().parent().hide();
|
48 |
+
$("#myfixed_bgcolor").parent().parent().parent().hide();
|
49 |
+
$("#myfixed_cssstyle,#mysticky_disable_at_front_home").parent().parent().hide();
|
50 |
+
$(".hideformreset").hide();
|
51 |
+
$(".hideform,.general").fadeIn(300);
|
52 |
+
|
53 |
+
|
54 |
+
$(".btn-general").click(function(){
|
55 |
+
|
56 |
+
$(".btn-general").addClass("nav-tab-active");
|
57 |
+
$(".btn-style,.btn-advanced").removeClass("nav-tab-active");
|
58 |
+
$("#mysticky_class_selector,#myfixed_disable_small_screen,#mysticky_active_on_height,#mysticky_active_on_height_home,#myfixed_fade").parent().parent().parent().show();
|
59 |
+
$("#myfixed_zindex,#myfixed_opacity,#myfixed_transition_time,#disable_css").parent().parent().parent().hide();
|
60 |
+
$("#myfixed_bgcolor").parent().parent().parent().parent().parent().hide();
|
61 |
+
$("#myfixed_cssstyle,#mysticky_disable_at_front_home").parent().parent().hide();
|
62 |
+
|
63 |
+
$(".general").fadeIn(300);
|
64 |
+
$(".style,.advanced,.hideformreset") .hide();
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
+
|
69 |
+
});
|
70 |
+
|
71 |
+
$(".btn-general,.btn-style,.btn-advanced").hover(function() {
|
72 |
+
$(".btn-general,.btn-style,.btn-advanced").css("cursor","pointer");
|
73 |
+
});
|
74 |
+
|
75 |
+
|
76 |
+
|
77 |
+
$(".btn-style").click(function(){
|
78 |
+
|
79 |
+
$(".btn-style").addClass("nav-tab-active");
|
80 |
+
$(".btn-general,.btn-advanced").removeClass("nav-tab-active");
|
81 |
+
|
82 |
+
|
83 |
+
$("#mysticky_class_selector,#myfixed_disable_small_screen,#mysticky_active_on_height,#mysticky_active_on_height_home,#myfixed_fade").parent().parent().parent().hide();
|
84 |
+
|
85 |
+
$("#myfixed_zindex,#myfixed_bgcolor,#myfixed_opacity,#myfixed_transition_time,#disable_css").parent().parent().parent().show();
|
86 |
+
|
87 |
+
$("#myfixed_cssstyle").parent().parent().show();
|
88 |
+
|
89 |
+
$("#mysticky_disable_at_front_home").parent().parent().hide();
|
90 |
+
|
91 |
+
$("#myfixed_bgcolor").parent().parent().parent().parent().parent().show();
|
92 |
+
|
93 |
+
$(".general").hide();
|
94 |
+
$(".hideformreset").hide();
|
95 |
+
$(".style") .fadeIn(300);
|
96 |
+
$(".advanced").hide();
|
97 |
+
|
98 |
+
});
|
99 |
+
|
100 |
+
|
101 |
+
|
102 |
+
|
103 |
+
$(".btn-advanced").click(function(){
|
104 |
+
|
105 |
+
|
106 |
+
$(".btn-advanced").addClass("nav-tab-active");
|
107 |
+
$(".btn-style,.btn-general").removeClass("nav-tab-active");
|
108 |
+
|
109 |
+
$("#mysticky_class_selector,#myfixed_disable_small_screen,#mysticky_active_on_height,#mysticky_active_on_height_home,#myfixed_fade").parent().parent().parent().hide();
|
110 |
+
$("#myfixed_zindex,#myfixed_opacity,#myfixed_transition_time,#disable_css").parent().parent().parent().hide();
|
111 |
+
$("#myfixed_cssstyle").parent().parent().hide();
|
112 |
+
|
113 |
+
$("#myfixed_bgcolor").parent().parent().parent().parent().parent().hide();
|
114 |
+
|
115 |
+
$("#mysticky_disable_at_front_home").parent().parent().show();
|
116 |
+
$(".hideformreset").fadeIn(300);
|
117 |
+
|
118 |
+
$(".general").hide();
|
119 |
+
$(".style") .hide();
|
120 |
+
$(".advanced").fadeIn(300);
|
121 |
+
|
122 |
+
|
123 |
+
|
124 |
+
});
|
125 |
+
|
126 |
+
|
127 |
+
|
128 |
+
$(".confirm").click(function() {
|
129 |
+
return window.confirm("Reset to default settings?");
|
130 |
+
});
|
131 |
+
|
132 |
+
});
|
133 |
+
|
134 |
+
})(jQuery);
|
135 |
+
</script>';
|
136 |
+
|
137 |
+
}
|
138 |
+
|
139 |
+
|
140 |
+
|
141 |
+
|
142 |
|
143 |
public function mysticky_load_transl()
|
144 |
{
|
163 |
$this->options = get_option( 'mysticky_option_name');
|
164 |
?>
|
165 |
<div class="wrap">
|
166 |
+
|
167 |
+
<h2><?php _e('myStickymenu', 'mystickymenu'); ?></h2>
|
168 |
+
<p><?php _e("Add sticky menu / header to any theme. <br />Simply change 'Sticky Class' to HTML element class desired to be sticky (div id can be used as well).", 'mystickymenu'); ?></p>
|
169 |
+
|
170 |
+
|
171 |
+
|
172 |
+
<?php $active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'general'; ?>
|
173 |
+
|
174 |
+
<h2 class="nav-tab-wrapper">
|
175 |
+
<a class="nav-tab btn-general <?php echo $active_tab == 'general' ? 'nav-tab-active' : ''; ?>">General Settings</a>
|
176 |
+
<a class="nav-tab btn-style <?php echo $active_tab == 'style' ? 'nav-tab-active' : ''; ?>">Style</a>
|
177 |
+
<a class="nav-tab btn-advanced <?php echo $active_tab == 'advanced' ? 'nav-tab-active' : ''; ?>">Advanced</a>
|
178 |
+
</h2>
|
179 |
+
|
180 |
+
|
181 |
+
|
182 |
+
|
183 |
+
|
184 |
+
|
185 |
+
|
186 |
+
|
187 |
+
|
188 |
+
<form class="hideform" method="post" action="options.php">
|
189 |
+
|
190 |
+
|
191 |
+
|
192 |
+
<?php
|
193 |
+
|
194 |
+
|
195 |
+
//we check if the page is visited by click on the tabs or on the menu button.
|
196 |
+
//then we get the active tab.
|
197 |
+
|
198 |
+
if(isset($_GET["tab"]))
|
199 |
+
{
|
200 |
+
|
201 |
+
if($_GET["tab"] == "general")
|
202 |
+
{
|
203 |
+
echo '<div class="general">';
|
204 |
+
settings_fields( 'mysticky_option_group' );
|
205 |
+
do_settings_sections( 'my-stickymenu-settings' );
|
206 |
+
echo '</div>';
|
207 |
+
|
208 |
+
}
|
209 |
+
else if($_GET["tab"] == "style")
|
210 |
+
{
|
211 |
+
echo '<div class="style">';
|
212 |
+
settings_fields( 'mysticky_option_group' );
|
213 |
+
do_settings_sections( 'my-stickymenu-settings' );
|
214 |
+
echo '</div>';
|
215 |
+
}
|
216 |
+
|
217 |
+
else if($_GET["tab"] == "advanced")
|
218 |
+
{
|
219 |
+
echo '<div class="advanced">';
|
220 |
+
settings_fields( 'mysticky_option_group' );
|
221 |
+
do_settings_sections( 'my-stickymenu-settings' );
|
222 |
+
echo '</div>';
|
223 |
+
}
|
224 |
+
|
225 |
+
|
226 |
+
}
|
227 |
+
|
228 |
+
else {
|
229 |
+
|
230 |
+
// echo '<div class="general">';
|
231 |
+
settings_fields( 'mysticky_option_group' );
|
232 |
+
do_settings_sections( 'my-stickymenu-settings' );
|
233 |
+
// echo '</div>';
|
234 |
+
|
235 |
+
|
236 |
+
}
|
237 |
+
|
238 |
+
|
239 |
+
submit_button();
|
240 |
?>
|
241 |
+
|
242 |
+
|
243 |
+
</form>
|
244 |
+
|
245 |
+
<form class="hideformreset" method="post" action="">
|
246 |
+
<input name="reset" class="button button-secondary confirm" type="submit" value="Reset to default settings" >
|
247 |
+
<input type="hidden" name="action" value="reset" />
|
248 |
</form>
|
249 |
+
|
250 |
+
|
251 |
</div>
|
252 |
<?php
|
253 |
}
|
261 |
array( $this, 'sanitize' )
|
262 |
);
|
263 |
|
264 |
+
|
265 |
+
|
266 |
+
|
267 |
add_settings_field( $id, $title, $callback, $page, $section = 'default', $args = array() );
|
268 |
|
269 |
add_settings_section(
|
270 |
'setting_section_id',
|
271 |
+
__(" ", 'mystickymenu'),
|
272 |
array( $this, 'print_section_info' ),
|
273 |
'my-stickymenu-settings'
|
274 |
+
|
275 |
);
|
276 |
+
|
277 |
+
|
278 |
+
|
279 |
+
|
280 |
+
|
281 |
add_settings_field(
|
282 |
'mysticky_class_selector',
|
283 |
__("Sticky Class", 'mystickymenu'),
|
285 |
'my-stickymenu-settings',
|
286 |
'setting_section_id'
|
287 |
);
|
288 |
+
|
289 |
+
add_settings_field(
|
290 |
+
'myfixed_fade',
|
291 |
+
__("Fade or slide effect", 'mystickymenu'),
|
292 |
+
array( $this, 'myfixed_fade_callback' ),
|
293 |
+
'my-stickymenu-settings',
|
294 |
+
'setting_section_id'
|
295 |
+
);
|
296 |
add_settings_field(
|
297 |
'myfixed_zindex',
|
298 |
__("Sticky z-index", 'mystickymenu'),
|
342 |
'my-stickymenu-settings',
|
343 |
'setting_section_id'
|
344 |
);
|
345 |
+
|
346 |
+
|
347 |
add_settings_field(
|
348 |
+
'myfixed_disable_scroll_down',
|
349 |
+
__("Disable on scroll down", 'mystickymenu'),
|
|
|
350 |
'my-stickymenu-settings',
|
351 |
'setting_section_id'
|
352 |
);
|
353 |
+
|
354 |
add_settings_field(
|
355 |
'myfixed_cssstyle',
|
356 |
+
__("CSS style", 'mystickymenu'),
|
357 |
array( $this, 'myfixed_cssstyle_callback' ),
|
358 |
'my-stickymenu-settings',
|
359 |
'setting_section_id'
|
413 |
);
|
414 |
add_settings_field(
|
415 |
'mysticky_enable_at_pages',
|
416 |
+
__(" ", 'mystickysidebar'),
|
417 |
'my-stickymenu-settings',
|
418 |
'setting_section_id'
|
419 |
);
|
420 |
add_settings_field(
|
421 |
'mysticky_enable_at_posts',
|
422 |
+
__(" ", 'mystickysidebar'),
|
423 |
'my-stickymenu-settings',
|
424 |
'setting_section_id'
|
425 |
);
|
467 |
|
468 |
if( isset( $input['myfixed_fade'] ) )
|
469 |
$new_input['myfixed_fade'] = sanitize_text_field( $input['myfixed_fade'] );
|
470 |
+
|
471 |
+
if( isset( $input['myfixed_disable_scroll_down'] ) )
|
472 |
+
$new_input['myfixed_disable_scroll_down'] = sanitize_text_field( $input['myfixed_disable_scroll_down'] );
|
473 |
+
|
474 |
|
475 |
if( isset( $input['myfixed_cssstyle'] ) )
|
476 |
$new_input['myfixed_cssstyle'] = sanitize_text_field( $input['myfixed_cssstyle'] );
|
523 |
$default = array(
|
524 |
|
525 |
'mysticky_class_selector' => '.navbar',
|
526 |
+
'myfixed_zindex' => '99990',
|
527 |
+
'myfixed_bgcolor' => '#f7f5e7',
|
528 |
'myfixed_opacity' => '90',
|
529 |
'myfixed_transition_time' => '0.3',
|
530 |
+
'myfixed_disable_small_screen' => '0',
|
531 |
+
'mysticky_active_on_height' => '0',
|
532 |
+
'mysticky_active_on_height_home' => '0',
|
533 |
+
'myfixed_fade' => 'on',
|
534 |
+
'myfixed_cssstyle' => '#mysticky-nav.wrapfixed { } #mysticky-nav.wrapfixed.up { } #mysticky-nav.wrapfixed.down { } #mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; }'
|
535 |
);
|
536 |
|
537 |
if ( get_option('mysticky_option_name') == false ) {
|
538 |
update_option( 'mysticky_option_name', $default );
|
539 |
+
}
|
540 |
+
|
541 |
+
|
542 |
+
if(isset($_POST['reset'])) {
|
543 |
+
update_option( 'mysticky_option_name', $default );
|
544 |
}
|
545 |
+
|
546 |
+
|
547 |
}
|
548 |
|
549 |
+
|
550 |
+
|
551 |
+
|
552 |
+
public function mysticky_enqueue_color_picker( )
|
553 |
{
|
554 |
wp_enqueue_style( 'wp-color-picker' );
|
555 |
wp_enqueue_script( 'my-script-handle', plugins_url('js/iris-script.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
|
556 |
+
|
557 |
}
|
558 |
|
559 |
public function print_section_info()
|
560 |
{
|
561 |
+
echo __(" ", 'mystickymenu');
|
562 |
}
|
563 |
|
564 |
public function mysticky_class_selector_callback()
|
567 |
'<p class="description"><input type="text" size="8" id="mysticky_class_selector" name="mysticky_option_name[mysticky_class_selector]" value="%s" /> ',
|
568 |
isset( $this->options['mysticky_class_selector'] ) ? esc_attr( $this->options['mysticky_class_selector']) : ''
|
569 |
);
|
570 |
+
echo __("menu or header element class or id.", 'mystickymenu');
|
571 |
echo '</p>';
|
572 |
}
|
573 |
|
631 |
' <input type="number" class="small-text" min="0" step="1" id="mysticky_active_on_height" name="mysticky_option_name[mysticky_active_on_height]" value="%s" />',
|
632 |
isset( $this->options['mysticky_active_on_height'] ) ? esc_attr( $this->options['mysticky_active_on_height']) : ''
|
633 |
);
|
634 |
+
echo __("px. If set to 0 auto calculate will be used.", 'mystickymenu');
|
635 |
echo '</p>';
|
636 |
}
|
637 |
|
645 |
' <input type="number" class="small-text" min="0" step="1" id="mysticky_active_on_height_home" name="mysticky_option_name[mysticky_active_on_height_home]" value="%s" />',
|
646 |
isset( $this->options['mysticky_active_on_height_home'] ) ? esc_attr( $this->options['mysticky_active_on_height_home']) : ''
|
647 |
);
|
648 |
+
echo __("px. If set to 0 it will use initial Make visible on Scroll value.", 'mystickymenu');
|
649 |
echo '</p>';
|
650 |
}
|
651 |
|
658 |
);
|
659 |
echo __("Checked is slide, unchecked is fade.", 'mystickymenu');
|
660 |
echo '</p>';
|
661 |
+
|
662 |
+
printf(
|
663 |
+
'<p class="description"><input id="%1$s" name="mysticky_option_name[myfixed_disable_scroll_down]" type="checkbox" %2$s /> ',
|
664 |
+
'myfixed_disable_scroll_down',
|
665 |
+
checked( isset( $this->options['myfixed_disable_scroll_down'] ), true, false )
|
666 |
+
);
|
667 |
+
echo __("Disable sticky menu at scroll down", 'mystickymenu');
|
668 |
+
echo '</p>';
|
669 |
+
|
670 |
+
|
671 |
+
|
672 |
+
|
673 |
}
|
674 |
|
675 |
public function myfixed_cssstyle_callback()
|
677 |
printf(
|
678 |
'<p class="description">'
|
679 |
);
|
680 |
+
echo __("Add/edit CSS style. Leave it blank for default style.", 'mystickymenu');
|
681 |
echo '</p>';
|
682 |
printf(
|
683 |
'<textarea type="text" rows="4" cols="60" id="myfixed_cssstyle" name="mysticky_option_name[myfixed_cssstyle]">%s</textarea> <br />',
|
684 |
isset( $this->options['myfixed_cssstyle'] ) ? esc_attr( $this->options['myfixed_cssstyle']) : ''
|
685 |
);
|
686 |
echo '<p class="description">';
|
687 |
+
|
688 |
+
echo __("If you want to change sticky hover color: ", 'mystickymenu');
|
|
|
689 |
echo '.myfixed li a:hover {color:#000; background-color: #ccc;}<br />';
|
690 |
echo __("More examples <a href='http://wordpress.transformnews.com/tutorials/mystickymenu-extended-style-functionality-using-myfixed-sticky-class-403'>here</a>.", 'mystickymenu');
|
691 |
echo'</p>';
|
847 |
|
848 |
{
|
849 |
|
850 |
+
echo '<style id="mystickymenu" type="text/css">';
|
851 |
+
echo '#mysticky-nav { width:100%; position: static; }';
|
852 |
+
echo '#mysticky-nav.wrapfixed { position:fixed; left: 0px; margin-top:0px; z-index: '. $mysticky_options ['myfixed_zindex'] .'; -webkit-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -moz-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -o-transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; transition: ' . $mysticky_options ['myfixed_transition_time'] . 's; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=' . $mysticky_options ['myfixed_opacity'] . ')"; filter: alpha(opacity=' . $mysticky_options ['myfixed_opacity'] . '); opacity:' . $mysticky_options ['myfixed_opacity'] / 100 . '; background-color: ' . $mysticky_options ['myfixed_bgcolor'] . ';}';
|
853 |
+
|
854 |
+
|
855 |
+
if ($mysticky_options ['myfixed_disable_small_screen'] > 0 ){
|
856 |
|
857 |
+
//echo '@media (max-width: '.$mysticky_options['myfixed_disable_small_screen'].'px) {#mysticky-nav.wrapfixed {position: static;} }';
|
858 |
+
|
859 |
+
};
|
860 |
|
861 |
if ( $mysticky_options['myfixed_cssstyle'] == "" ) {
|
862 |
+
echo '#mysticky-nav.wrapfixed { } #mysticky-nav.wrapfixed.up { } #mysticky-nav.wrapfixed.down { } #mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; }';
|
863 |
}
|
864 |
+
|
865 |
+
|
866 |
+
|
867 |
echo $mysticky_options ['myfixed_cssstyle'];
|
|
|
|
|
868 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
869 |
|
870 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
871 |
echo '</style>';
|
872 |
}
|
873 |
}
|
877 |
public function mystickymenu_script() {
|
878 |
|
879 |
$mysticky_options = get_option( 'mysticky_option_name' );
|
880 |
+
|
881 |
+
if ( is_admin_bar_showing() ) {
|
882 |
+
$top = "true";
|
883 |
+
} else {
|
884 |
+
$top = "false";
|
885 |
+
}
|
886 |
+
|
887 |
|
888 |
// needed for update 1.7 => 1.8 ... will be removed in the future ()
|
889 |
if (isset($mysticky_options['mysticky_active_on_height_home'])){
|
892 |
$mysticky_options['mysticky_active_on_height_home'] = $mysticky_options['mysticky_active_on_height'];
|
893 |
};
|
894 |
|
895 |
+
|
896 |
if ($mysticky_options['mysticky_active_on_height_home'] == 0 ){
|
897 |
$mysticky_options['mysticky_active_on_height_home'] = $mysticky_options['mysticky_active_on_height'];
|
898 |
};
|
908 |
|
909 |
}
|
910 |
|
911 |
+
wp_register_script('mystickymenu', plugins_url( 'js/mystickymenu.min.js', __FILE__ ), array('jquery'), MYSTICKY_VERSION, true);
|
912 |
wp_enqueue_script( 'mystickymenu' );
|
913 |
|
914 |
+
$myfixed_disable_scroll_down = isset($mysticky_options['myfixed_disable_scroll_down']) ? $mysticky_options['myfixed_disable_scroll_down'] : 'false';
|
915 |
+
$mystickyTransition = isset($mysticky_options['myfixed_fade']) ? $mysticky_options['myfixed_fade'] : 'fade';
|
916 |
+
|
917 |
$mysticky_translation_array = array(
|
918 |
+
'mystickyClass' => $mysticky_options['mysticky_class_selector'] ,
|
919 |
+
'activationHeight' => $mysticky_options['mysticky_active_on_height'],
|
920 |
+
'disableWidth' => $mysticky_options['myfixed_disable_small_screen'],
|
921 |
+
'adminBar' => $top,
|
922 |
+
'mystickyTransition' => $mystickyTransition,
|
923 |
+
'mysticky_disable_down' => $myfixed_disable_scroll_down,
|
924 |
+
|
925 |
+
|
926 |
);
|
927 |
|
928 |
+
wp_localize_script( 'mystickymenu', 'option', $mysticky_translation_array );
|
929 |
}
|
930 |
|
931 |
//add_action( 'wp_enqueue_scripts', 'mystickymenu_script' );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wordpress.transformnews.com/contact
|
|
4 |
Tags: sticky, menu, header, sticky menu, sticky header, floating, floating menu
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 4.8.1
|
7 |
-
Stable tag:
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
This lightweight plugin will made your menu or header sticky on top of page, after desired number of pixels when scrolled.
|
@@ -26,15 +26,13 @@ Plugin is originally designed for Twenty Thirteen template but should work on an
|
|
26 |
|
27 |
== Installation ==
|
28 |
Install like any other plugin. After install activate.
|
29 |
-
Go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id…
|
30 |
-
Also make sure that Disable CSS style option is not enabled, you must add myStickymenu CSS style to your style.css file first. [More about disable CSS option][3]
|
31 |
|
32 |
-
[3: http://wordpress.transformnews.com/tutorials/disable-css-style-in-mystickymenu-938
|
33 |
|
34 |
== Frequently Asked Questions ==
|
35 |
|
36 |
= How to find Sticky Class, what should I enter here? =
|
37 |
-
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
|
38 |
|
39 |
= Is there any way to restrict the width to the width of the header, rather than it being full width? =
|
40 |
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.
|
@@ -50,17 +48,31 @@ In some cases you can use the whole header div and than just style it different
|
|
50 |
|
51 |
== Screenshots ==
|
52 |
|
53 |
-
1. screenshot-1.png shows administration settings.
|
54 |
-
2. screenshot-2.png shows
|
|
|
55 |
|
56 |
|
57 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
= 1.9.1 =
|
60 |
* Changed: admin bar is fixed as default, and menu goes under it.
|
61 |
|
62 |
= 1.9 =
|
63 |
-
* Fixed: enable / disable
|
64 |
|
65 |
= 1.8.9 =
|
66 |
* Added: New option - Disable at certain posts and pages.
|
4 |
Tags: sticky, menu, header, sticky menu, sticky header, floating, floating menu
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 4.8.1
|
7 |
+
Stable tag: 2.0
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
This lightweight plugin will made your menu or header sticky on top of page, after desired number of pixels when scrolled.
|
26 |
|
27 |
== Installation ==
|
28 |
Install like any other plugin. After install activate.
|
29 |
+
Go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id . Sticky Class should be HTML id or class of the HTML element desired to be sticky… Clear WordPress cache if exists.
|
|
|
30 |
|
|
|
31 |
|
32 |
== Frequently Asked Questions ==
|
33 |
|
34 |
= How to find Sticky Class, what should I enter here? =
|
35 |
+
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 HTML element in which your menu is situated. This element 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. Twenty Thirteen default working class is ".navbar" without of quotes.
|
36 |
|
37 |
= Is there any way to restrict the width to the width of the header, rather than it being full width? =
|
38 |
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.
|
48 |
|
49 |
== Screenshots ==
|
50 |
|
51 |
+
1. screenshot-1.png shows general administration settings.
|
52 |
+
2. screenshot-2.png shows style settings.
|
53 |
+
3. screenshot-3.png shows advanced settings.
|
54 |
|
55 |
|
56 |
== Changelog ==
|
57 |
+
= 2.0 =
|
58 |
+
* Added: If Make visible on Scroll is set to 0 automatic activation and deactivation scroll height will be used (useful for responsive designs).
|
59 |
+
* Added: Tabs for settings.
|
60 |
+
* Added: option to disable on scroll down (show only on scroll up).
|
61 |
+
* Added: Class .up and .down on scroll up or down.
|
62 |
+
* Added: Reset to default settings.
|
63 |
+
* Added: remove myStickymenu settings on plugin uninstall.
|
64 |
+
* Added: index.php to plugin root to prevent directory browsing.
|
65 |
+
* Fixed: If sticky menu class does not exist (null or undefined), it will show console log instead of error.
|
66 |
+
* Fixed: slide effect now slides on deactivate as well.
|
67 |
+
* Fixed: admin bar overlap for screens less than 600 px wide.
|
68 |
+
|
69 |
+
|
70 |
|
71 |
= 1.9.1 =
|
72 |
* Changed: admin bar is fixed as default, and menu goes under it.
|
73 |
|
74 |
= 1.9 =
|
75 |
+
* Fixed: enable / disable for search pages.
|
76 |
|
77 |
= 1.8.9 =
|
78 |
* Added: New option - Disable at certain posts and pages.
|
uninstall.php
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
|
3 |
+
exit;
|
4 |
+
if ( get_option( 'mysticky_option_name' ) != false ) {
|
5 |
+
delete_option( 'mysticky_option_name' );
|
6 |
+
}
|
7 |
+
?>
|