Version Description
- Added: Disable CSS. If you plan to add style manually to your style.css in order to improve your site performance disable plugin CSS style printed by default in document head element.
- Minimized mystickymenu.js to improve performance.
Download this release
Release Info
Developer | damiroquai |
Plugin | myStickymenu |
Version | 1.8.1 |
Comparing to | |
See all releases |
Code changes from version 1.8 to 1.8.1
- js/mystickymenu.min.js +1 -0
- languages/mystickymenu-de_DE.mo +0 -0
- languages/mystickymenu-de_DE.po +42 -31
- languages/mystickymenu-es_ES.mo +0 -0
- languages/mystickymenu-es_ES.po +43 -32
- languages/mystickymenu-hr_HR.mo +0 -0
- languages/mystickymenu-hr_HR.po +40 -32
- languages/mystickymenu-rs_RS.mo +0 -0
- languages/mystickymenu-rs_RS.po +42 -31
- languages/mystickymenu.mo +0 -0
- languages/mystickymenu.po +38 -30
- mystickymenu.php +53 -67
- readme.txt +25 -4
js/mystickymenu.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
var myfixed_disable_small=parseInt(mysticky_name.mysticky_disable_at_width_string);var mybodyWidth=parseInt(document.body.clientWidth);if(mybodyWidth>=myfixed_disable_small){var mysticky_navbar=document.querySelector(mysticky_name.mysticky_string);var parentmysticky=mysticky_navbar.parentNode;var wrappermysticky=document.createElement("div");var position=0;for(var i=0;i<parentmysticky.childNodes.length;i++){if(parentmysticky.childNodes[i]==mysticky_navbar){position=i;break}}wrappermysticky.id="mysticky-wrap";wrappermysticky.appendChild(mysticky_navbar);parentmysticky.insertBefore(wrappermysticky,parentmysticky.childNodes[position]);var parentnav=mysticky_navbar.parentNode;var wrappernav=document.createElement("div");wrappernav.id="mysticky-nav";parentnav.replaceChild(wrappernav,mysticky_navbar);wrappernav.appendChild(mysticky_navbar);var mysticky_active_on_height=parseInt(mysticky_name.mysticky_active_on_height_string);var origOffsetY=mysticky_active_on_height;var mydivHeight=mysticky_navbar.offsetHeight+"px";var hasScrollY="scrollY"in window;function onScroll(e){var t=mysticky_navbar.offsetWidth+"px";var n="";var r=hasScrollY?window.scrollY:document.documentElement.scrollTop;r>=origOffsetY?mysticky_navbar.classList.add("myfixed"):mysticky_navbar.classList.remove("myfixed");r>=origOffsetY?wrappernav.classList.add("wrapfixed"):wrappernav.classList.remove("wrapfixed");r>=origOffsetY?mysticky_navbar.style.width=t:mysticky_navbar.style.width=n;r>=origOffsetY?wrappermysticky.style.height=mydivHeight:wrappermysticky.style.height=n}document.addEventListener("scroll",onScroll)}
|
languages/mystickymenu-de_DE.mo
CHANGED
Binary file
|
languages/mystickymenu-de_DE.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
-
"POT-Creation-Date: 2014-
|
5 |
-
"PO-Revision-Date: 2014-
|
6 |
"Last-Translator: Damir Babojelic <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: Schelli <mail@schelli.eu>\n"
|
8 |
"Language: de_DE\n"
|
@@ -17,55 +17,59 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#: ../mystickymenu.php:
|
21 |
msgid "myStickymenu Settings"
|
22 |
msgstr "myStickymenu Einstellungen"
|
23 |
|
24 |
-
#: ../mystickymenu.php:
|
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
|
54 |
msgstr "Einblendung"
|
55 |
|
56 |
-
#: ../mystickymenu.php:
|
57 |
-
msgid "Make visible
|
58 |
msgstr "Einblendung (Startseite)"
|
59 |
|
60 |
-
#: ../mystickymenu.php:
|
61 |
msgid "Fade or slide effect"
|
62 |
msgstr " Einblenden oder Hereingleiten"
|
63 |
|
64 |
-
#: ../mystickymenu.php:
|
65 |
msgid ".myfixed css class"
|
66 |
msgstr ".myfixed CSS-Klasse"
|
67 |
|
68 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
69 |
msgid ""
|
70 |
"Add nice modern sticky menu or header to any theme. Defaults works for "
|
71 |
"Twenty Thirteen theme. <br />For other themes change 'Sticky Class' to div "
|
@@ -76,60 +80,60 @@ msgstr ""
|
|
76 |
"\"Twenty Thirteen\". <br />Um es mit anderen Themes zu nutzen, brauchst du "
|
77 |
"nur das Feld \"Sticky Klasse\" entsprechend anzupassen."
|
78 |
|
79 |
-
#: ../mystickymenu.php:
|
80 |
msgid "menu or header div class or id."
|
81 |
msgstr ""
|
82 |
"Menü oder Header div-Klasse bzw. ID. (Für einige Themes findest du diese <a "
|
83 |
"href='http://wordpress.transformnews.com/tutorials/mystickymenu-theme-"
|
84 |
"support-682'>hier</a>.)"
|
85 |
|
86 |
-
#: ../mystickymenu.php:
|
87 |
msgid "numbers 1-100."
|
88 |
msgstr "Ein Wert zwischen 1 und 100"
|
89 |
|
90 |
-
#: ../mystickymenu.php:
|
91 |
msgid "in seconds."
|
92 |
msgstr "in Sekunden"
|
93 |
|
94 |
-
#: ../mystickymenu.php:
|
95 |
msgid "less than"
|
96 |
msgstr "kleiner als"
|
97 |
|
98 |
-
#: ../mystickymenu.php:
|
99 |
msgid "px width, 0 to disable."
|
100 |
msgstr "Pixel (Keine Deaktivierung: 0)"
|
101 |
|
102 |
-
#: ../mystickymenu.php:
|
103 |
msgid "after"
|
104 |
msgstr "nach "
|
105 |
|
106 |
-
#: ../mystickymenu.php:
|
107 |
-
msgid "px.
|
108 |
-
msgstr "
|
109 |
|
110 |
-
#: ../mystickymenu.php:
|
111 |
msgid "Checked is slide, unchecked is fade."
|
112 |
msgstr "Aktiviert = Hereingleiten, Deaktiviert = Einblenden"
|
113 |
|
114 |
-
#: ../mystickymenu.php:
|
115 |
msgid ""
|
116 |
"Add/Edit .myfixed css class to change sticky menu style. Leave it blank for "
|
117 |
"default style."
|
118 |
msgstr ""
|
119 |
"Ändere oder ergänze den CSS-Code um den Stil des \"Sticky Menü\" anzupassen."
|
120 |
|
121 |
-
#: ../mystickymenu.php:
|
122 |
msgid "Default style: "
|
123 |
msgstr "Voreingestellter Stil:<br />"
|
124 |
|
125 |
-
#: ../mystickymenu.php:
|
126 |
msgid ""
|
127 |
"If you want to change sticky hover color first add default style and than: "
|
128 |
msgstr ""
|
129 |
"Um die Farbe des \"Sticky Menü\" beim Mouseover (hover) zu ändern ergänze "
|
130 |
"den voreingestellten Stil um folgenden Code:<br />"
|
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,5 +143,12 @@ msgstr ""
|
|
139 |
"tutorials/mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
140 |
"class-403'>hier</a>."
|
141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
#~ msgid "mymessage2"
|
143 |
#~ msgstr "Bye"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
+
"POT-Creation-Date: 2014-12-23 01:56+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-12-23 01:57+0100\n"
|
6 |
"Last-Translator: Damir Babojelic <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: Schelli <mail@schelli.eu>\n"
|
8 |
"Language: de_DE\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
+
#: ../mystickymenu.php:53
|
21 |
msgid "myStickymenu Settings"
|
22 |
msgstr "myStickymenu Einstellungen"
|
23 |
|
24 |
+
#: ../mystickymenu.php:78
|
25 |
msgid "myStickymenu Options"
|
26 |
msgstr "myStickymenu Optionen"
|
27 |
|
28 |
+
#: ../mystickymenu.php:84
|
29 |
msgid "Sticky Class"
|
30 |
msgstr "Sticky Klasse"
|
31 |
|
32 |
+
#: ../mystickymenu.php:91
|
33 |
msgid "Sticky z-index"
|
34 |
msgstr "Sticky z-Index"
|
35 |
|
36 |
+
#: ../mystickymenu.php:98
|
37 |
msgid "Sticky Background Color"
|
38 |
msgstr "Sticky Hintergrundfarbe"
|
39 |
|
40 |
+
#: ../mystickymenu.php:105
|
41 |
msgid "Sticky Opacity"
|
42 |
msgstr "Deckkraft"
|
43 |
|
44 |
+
#: ../mystickymenu.php:112
|
45 |
msgid "Sticky Transition Time"
|
46 |
msgstr "Einblendegeschwindigkeit"
|
47 |
|
48 |
+
#: ../mystickymenu.php:119
|
49 |
msgid "Disable at Small Screen Sizes"
|
50 |
msgstr "Deaktivierung bei Bildschirmbreiten"
|
51 |
|
52 |
+
#: ../mystickymenu.php:126
|
53 |
+
msgid "Make visible on Scroll"
|
54 |
msgstr "Einblendung"
|
55 |
|
56 |
+
#: ../mystickymenu.php:133
|
57 |
+
msgid "Make visible on Scroll at homepage"
|
58 |
msgstr "Einblendung (Startseite)"
|
59 |
|
60 |
+
#: ../mystickymenu.php:140
|
61 |
msgid "Fade or slide effect"
|
62 |
msgstr " Einblenden oder Hereingleiten"
|
63 |
|
64 |
+
#: ../mystickymenu.php:147
|
65 |
msgid ".myfixed css class"
|
66 |
msgstr ".myfixed CSS-Klasse"
|
67 |
|
68 |
+
#: ../mystickymenu.php:154
|
69 |
+
msgid "Disable CSS style"
|
70 |
+
msgstr "Disable CSS style"
|
71 |
+
|
72 |
+
#: ../mystickymenu.php:235
|
73 |
msgid ""
|
74 |
"Add nice modern sticky menu or header to any theme. Defaults works for "
|
75 |
"Twenty Thirteen theme. <br />For other themes change 'Sticky Class' to div "
|
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:244
|
84 |
msgid "menu or header div class or id."
|
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:270
|
91 |
msgid "numbers 1-100."
|
92 |
msgstr "Ein Wert zwischen 1 und 100"
|
93 |
|
94 |
+
#: ../mystickymenu.php:280
|
95 |
msgid "in seconds."
|
96 |
msgstr "in Sekunden"
|
97 |
|
98 |
+
#: ../mystickymenu.php:289
|
99 |
msgid "less than"
|
100 |
msgstr "kleiner als"
|
101 |
|
102 |
+
#: ../mystickymenu.php:294
|
103 |
msgid "px width, 0 to disable."
|
104 |
msgstr "Pixel (Keine Deaktivierung: 0)"
|
105 |
|
106 |
+
#: ../mystickymenu.php:303 ../mystickymenu.php:317
|
107 |
msgid "after"
|
108 |
msgstr "nach "
|
109 |
|
110 |
+
#: ../mystickymenu.php:308 ../mystickymenu.php:322
|
111 |
+
msgid "px."
|
112 |
+
msgstr "px."
|
113 |
|
114 |
+
#: ../mystickymenu.php:333
|
115 |
msgid "Checked is slide, unchecked is fade."
|
116 |
msgstr "Aktiviert = Hereingleiten, Deaktiviert = Einblenden"
|
117 |
|
118 |
+
#: ../mystickymenu.php:342
|
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:349
|
126 |
msgid "Default style: "
|
127 |
msgstr "Voreingestellter Stil:<br />"
|
128 |
|
129 |
+
#: ../mystickymenu.php:351
|
130 |
msgid ""
|
131 |
"If you want to change sticky hover color first add default style and than: "
|
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:353
|
137 |
msgid ""
|
138 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
139 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
143 |
"tutorials/mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
144 |
"class-403'>hier</a>."
|
145 |
|
146 |
+
#: ../mystickymenu.php:364
|
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 |
+
|
153 |
#~ msgid "mymessage2"
|
154 |
#~ msgstr "Bye"
|
languages/mystickymenu-es_ES.mo
CHANGED
Binary file
|
languages/mystickymenu-es_ES.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
-
"POT-Creation-Date: 2014-
|
5 |
-
"PO-Revision-Date: 2014-
|
6 |
"Last-Translator: Damir Babojelic <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: TFN <jahmirda@gmail.com>\n"
|
8 |
"Language: English\n"
|
@@ -17,55 +17,59 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#: ../mystickymenu.php:
|
21 |
msgid "myStickymenu Settings"
|
22 |
msgstr " Configuraciones de myStickymenu "
|
23 |
|
24 |
-
#: ../mystickymenu.php:
|
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
|
54 |
-
msgstr " Hacer visible cuando se hace scroll
|
55 |
|
56 |
-
#: ../mystickymenu.php:
|
57 |
-
msgid "Make visible
|
58 |
msgstr " Hacer visible cuando se hace scroll on homepage"
|
59 |
|
60 |
-
#: ../mystickymenu.php:
|
61 |
msgid "Fade or slide effect"
|
62 |
msgstr " Atenuar o deslizar efecto"
|
63 |
|
64 |
-
#: ../mystickymenu.php:
|
65 |
msgid ".myfixed css class"
|
66 |
msgstr ".myfixed css class"
|
67 |
|
68 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
69 |
msgid ""
|
70 |
"Add nice modern sticky menu or header to any theme. Defaults works for "
|
71 |
"Twenty Thirteen theme. <br />For other themes change 'Sticky Class' to div "
|
@@ -76,39 +80,39 @@ msgstr ""
|
|
76 |
"Class' a la clase div que se quiere poner como sticky (el id del div puede "
|
77 |
"ser usado también)."
|
78 |
|
79 |
-
#: ../mystickymenu.php:
|
80 |
msgid "menu or header div class or id."
|
81 |
msgstr "clase o id del div del menú o encabezado."
|
82 |
|
83 |
-
#: ../mystickymenu.php:
|
84 |
msgid "numbers 1-100."
|
85 |
msgstr " números 1-100."
|
86 |
|
87 |
-
#: ../mystickymenu.php:
|
88 |
msgid "in seconds."
|
89 |
msgstr "en cuestión de segundos."
|
90 |
|
91 |
-
#: ../mystickymenu.php:
|
92 |
msgid "less than"
|
93 |
msgstr "menos que"
|
94 |
|
95 |
-
#: ../mystickymenu.php:
|
96 |
msgid "px width, 0 to disable."
|
97 |
msgstr "ancho px, 0 para desactivarlo."
|
98 |
|
99 |
-
#: ../mystickymenu.php:
|
100 |
msgid "after"
|
101 |
msgstr "después"
|
102 |
|
103 |
-
#: ../mystickymenu.php:
|
104 |
-
msgid "px.
|
105 |
-
msgstr "px.
|
106 |
|
107 |
-
#: ../mystickymenu.php:
|
108 |
msgid "Checked is slide, unchecked is fade."
|
109 |
msgstr "Checked es deslizar, sin control se desvanecen."
|
110 |
|
111 |
-
#: ../mystickymenu.php:
|
112 |
msgid ""
|
113 |
"Add/Edit .myfixed css class to change sticky menu style. Leave it blank for "
|
114 |
"default style."
|
@@ -116,18 +120,18 @@ msgstr ""
|
|
116 |
"Agregar / Editar. Myfixed clase CSS para cambiar el estilo de menú pegajoso. "
|
117 |
"Déjelo en blanco para el estilo predeterminado."
|
118 |
|
119 |
-
#: ../mystickymenu.php:
|
120 |
msgid "Default style: "
|
121 |
msgstr "Estilo por defecto:"
|
122 |
|
123 |
-
#: ../mystickymenu.php:
|
124 |
msgid ""
|
125 |
"If you want to change sticky hover color first add default style and than: "
|
126 |
msgstr ""
|
127 |
"Si desea cambiar el color libración pegajosa primero añadir estilo por "
|
128 |
"defecto y que:"
|
129 |
|
130 |
-
#: ../mystickymenu.php:
|
131 |
msgid ""
|
132 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
133 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
@@ -137,5 +141,12 @@ msgstr ""
|
|
137 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
138 |
"class-403'>here</a>."
|
139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
#~ msgid "mymessage2"
|
141 |
#~ msgstr "Bye"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
+
"POT-Creation-Date: 2014-12-23 01:56+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-12-23 01:56+0100\n"
|
6 |
"Last-Translator: Damir Babojelic <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: TFN <jahmirda@gmail.com>\n"
|
8 |
"Language: English\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
+
#: ../mystickymenu.php:53
|
21 |
msgid "myStickymenu Settings"
|
22 |
msgstr " Configuraciones de myStickymenu "
|
23 |
|
24 |
+
#: ../mystickymenu.php:78
|
25 |
msgid "myStickymenu Options"
|
26 |
msgstr " Opciones de myStickymenu "
|
27 |
|
28 |
+
#: ../mystickymenu.php:84
|
29 |
msgid "Sticky Class"
|
30 |
msgstr " Clase de Sticky "
|
31 |
|
32 |
+
#: ../mystickymenu.php:91
|
33 |
msgid "Sticky z-index"
|
34 |
msgstr " z-index de Sticky "
|
35 |
|
36 |
+
#: ../mystickymenu.php:98
|
37 |
msgid "Sticky Background Color"
|
38 |
msgstr " Color de Fondo de Sticky "
|
39 |
|
40 |
+
#: ../mystickymenu.php:105
|
41 |
msgid "Sticky Opacity"
|
42 |
msgstr " Opacidad de Sticky "
|
43 |
|
44 |
+
#: ../mystickymenu.php:112
|
45 |
msgid "Sticky Transition Time"
|
46 |
msgstr " Tiempo de Transición de Sticky "
|
47 |
|
48 |
+
#: ../mystickymenu.php:119
|
49 |
msgid "Disable at Small Screen Sizes"
|
50 |
msgstr " Desabilitado en Tamaños Pequeños en la Pantalla"
|
51 |
|
52 |
+
#: ../mystickymenu.php:126
|
53 |
+
msgid "Make visible on Scroll"
|
54 |
+
msgstr " Hacer visible cuando se hace scroll"
|
55 |
|
56 |
+
#: ../mystickymenu.php:133
|
57 |
+
msgid "Make visible on Scroll at homepage"
|
58 |
msgstr " Hacer visible cuando se hace scroll on homepage"
|
59 |
|
60 |
+
#: ../mystickymenu.php:140
|
61 |
msgid "Fade or slide effect"
|
62 |
msgstr " Atenuar o deslizar efecto"
|
63 |
|
64 |
+
#: ../mystickymenu.php:147
|
65 |
msgid ".myfixed css class"
|
66 |
msgstr ".myfixed css class"
|
67 |
|
68 |
+
#: ../mystickymenu.php:154
|
69 |
+
msgid "Disable CSS style"
|
70 |
+
msgstr "Disable CSS style"
|
71 |
+
|
72 |
+
#: ../mystickymenu.php:235
|
73 |
msgid ""
|
74 |
"Add nice modern sticky menu or header to any theme. Defaults works for "
|
75 |
"Twenty Thirteen theme. <br />For other themes change 'Sticky Class' to div "
|
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:244
|
84 |
msgid "menu or header div class or id."
|
85 |
msgstr "clase o id del div del menú o encabezado."
|
86 |
|
87 |
+
#: ../mystickymenu.php:270
|
88 |
msgid "numbers 1-100."
|
89 |
msgstr " números 1-100."
|
90 |
|
91 |
+
#: ../mystickymenu.php:280
|
92 |
msgid "in seconds."
|
93 |
msgstr "en cuestión de segundos."
|
94 |
|
95 |
+
#: ../mystickymenu.php:289
|
96 |
msgid "less than"
|
97 |
msgstr "menos que"
|
98 |
|
99 |
+
#: ../mystickymenu.php:294
|
100 |
msgid "px width, 0 to disable."
|
101 |
msgstr "ancho px, 0 para desactivarlo."
|
102 |
|
103 |
+
#: ../mystickymenu.php:303 ../mystickymenu.php:317
|
104 |
msgid "after"
|
105 |
msgstr "después"
|
106 |
|
107 |
+
#: ../mystickymenu.php:308 ../mystickymenu.php:322
|
108 |
+
msgid "px."
|
109 |
+
msgstr "px."
|
110 |
|
111 |
+
#: ../mystickymenu.php:333
|
112 |
msgid "Checked is slide, unchecked is fade."
|
113 |
msgstr "Checked es deslizar, sin control se desvanecen."
|
114 |
|
115 |
+
#: ../mystickymenu.php:342
|
116 |
msgid ""
|
117 |
"Add/Edit .myfixed css class to change sticky menu style. Leave it blank for "
|
118 |
"default style."
|
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:349
|
124 |
msgid "Default style: "
|
125 |
msgstr "Estilo por defecto:"
|
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:353
|
135 |
msgid ""
|
136 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
137 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
141 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
142 |
"class-403'>here</a>."
|
143 |
|
144 |
+
#: ../mystickymenu.php:364
|
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 |
+
|
151 |
#~ msgid "mymessage2"
|
152 |
#~ msgstr "Bye"
|
languages/mystickymenu-hr_HR.mo
CHANGED
Binary file
|
languages/mystickymenu-hr_HR.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
-
"POT-Creation-Date: 2014-
|
5 |
-
"PO-Revision-Date: 2014-
|
6 |
"Last-Translator: Damir Babojelic <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: Croatian\n"
|
@@ -17,55 +17,59 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#: ../mystickymenu.php:
|
21 |
msgid "myStickymenu Settings"
|
22 |
msgstr "myStickymenu Postavke"
|
23 |
|
24 |
-
#: ../mystickymenu.php:
|
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
|
54 |
msgstr "Učini izbornik vidljivim"
|
55 |
|
56 |
-
#: ../mystickymenu.php:
|
57 |
-
msgid "Make visible
|
58 |
msgstr "Učini izbornik vidljivim na početnoj stranici"
|
59 |
|
60 |
-
#: ../mystickymenu.php:
|
61 |
msgid "Fade or slide effect"
|
62 |
msgstr "Fade ili Slide efekt"
|
63 |
|
64 |
-
#: ../mystickymenu.php:
|
65 |
msgid ".myfixed css class"
|
66 |
msgstr ".myfixed css klasa"
|
67 |
|
68 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
69 |
msgid ""
|
70 |
"Add nice modern sticky menu or header to any theme. Defaults works for "
|
71 |
"Twenty Thirteen theme. <br />For other themes change 'Sticky Class' to div "
|
@@ -76,56 +80,56 @@ msgstr ""
|
|
76 |
"'Sticky klasu' u css klasu vašeg izbornika. Takodjer možete koristiti i css "
|
77 |
"ID."
|
78 |
|
79 |
-
#: ../mystickymenu.php:
|
80 |
msgid "menu or header div class or id."
|
81 |
msgstr "menu ili header css div klasa ili id."
|
82 |
|
83 |
-
#: ../mystickymenu.php:
|
84 |
msgid "numbers 1-100."
|
85 |
msgstr "brojevi 1-100"
|
86 |
|
87 |
-
#: ../mystickymenu.php:
|
88 |
msgid "in seconds."
|
89 |
msgstr "u sekundama"
|
90 |
|
91 |
-
#: ../mystickymenu.php:
|
92 |
msgid "less than"
|
93 |
msgstr "manjim od"
|
94 |
|
95 |
-
#: ../mystickymenu.php:
|
96 |
msgid "px width, 0 to disable."
|
97 |
msgstr "px širine. 0 da biste onemogućili opciju."
|
98 |
|
99 |
-
#: ../mystickymenu.php:
|
100 |
msgid "after"
|
101 |
msgstr "nakon"
|
102 |
|
103 |
-
#: ../mystickymenu.php:
|
104 |
-
msgid "px.
|
105 |
-
msgstr "px.
|
106 |
|
107 |
-
#: ../mystickymenu.php:
|
108 |
msgid "Checked is slide, unchecked is fade."
|
109 |
msgstr "Označeno je slide, neoznačeno je fade"
|
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 |
"Dodajte ili izmijenite .myfixed css klasu. Ostavite prazno za zadani stil."
|
117 |
|
118 |
-
#: ../mystickymenu.php:
|
119 |
msgid "Default style: "
|
120 |
msgstr "Zadani stil: "
|
121 |
|
122 |
-
#: ../mystickymenu.php:
|
123 |
msgid ""
|
124 |
"If you want to change sticky hover color first add default style and than: "
|
125 |
msgstr ""
|
126 |
"npr. ako želite promijeniti sticky hover boju, nakon zadanog stila dodajte: "
|
127 |
|
128 |
-
#: ../mystickymenu.php:
|
129 |
msgid ""
|
130 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
131 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
@@ -135,7 +139,11 @@ msgstr ""
|
|
135 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
136 |
"class-403'>ovdje</a>."
|
137 |
|
138 |
-
|
|
|
|
|
|
|
|
|
139 |
#~ msgstr "px. (scroll)"
|
140 |
|
141 |
#~ msgid "sticky z-index."
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
+
"POT-Creation-Date: 2014-12-23 01:54+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-12-23 01:55+0100\n"
|
6 |
"Last-Translator: Damir Babojelic <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: Croatian\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
+
#: ../mystickymenu.php:53
|
21 |
msgid "myStickymenu Settings"
|
22 |
msgstr "myStickymenu Postavke"
|
23 |
|
24 |
+
#: ../mystickymenu.php:78
|
25 |
msgid "myStickymenu Options"
|
26 |
msgstr "myStickymenu Opcije"
|
27 |
|
28 |
+
#: ../mystickymenu.php:84
|
29 |
msgid "Sticky Class"
|
30 |
msgstr "Sticky klasa"
|
31 |
|
32 |
+
#: ../mystickymenu.php:91
|
33 |
msgid "Sticky z-index"
|
34 |
msgstr "Sticky z-index"
|
35 |
|
36 |
+
#: ../mystickymenu.php:98
|
37 |
msgid "Sticky Background Color"
|
38 |
msgstr "Sticky pozadinska boja"
|
39 |
|
40 |
+
#: ../mystickymenu.php:105
|
41 |
msgid "Sticky Opacity"
|
42 |
msgstr "Sticky prozirnost"
|
43 |
|
44 |
+
#: ../mystickymenu.php:112
|
45 |
msgid "Sticky Transition Time"
|
46 |
msgstr "Sticky vrijeme tranzicije"
|
47 |
|
48 |
+
#: ../mystickymenu.php:119
|
49 |
msgid "Disable at Small Screen Sizes"
|
50 |
msgstr "Onemogući na malim ekranima"
|
51 |
|
52 |
+
#: ../mystickymenu.php:126
|
53 |
+
msgid "Make visible on Scroll"
|
54 |
msgstr "Učini izbornik vidljivim"
|
55 |
|
56 |
+
#: ../mystickymenu.php:133
|
57 |
+
msgid "Make visible on Scroll at homepage"
|
58 |
msgstr "Učini izbornik vidljivim na početnoj stranici"
|
59 |
|
60 |
+
#: ../mystickymenu.php:140
|
61 |
msgid "Fade or slide effect"
|
62 |
msgstr "Fade ili Slide efekt"
|
63 |
|
64 |
+
#: ../mystickymenu.php:147
|
65 |
msgid ".myfixed css class"
|
66 |
msgstr ".myfixed css klasa"
|
67 |
|
68 |
+
#: ../mystickymenu.php:154
|
69 |
+
msgid "Disable CSS style"
|
70 |
+
msgstr "Onemogući CSS"
|
71 |
+
|
72 |
+
#: ../mystickymenu.php:235
|
73 |
msgid ""
|
74 |
"Add nice modern sticky menu or header to any theme. Defaults works for "
|
75 |
"Twenty Thirteen theme. <br />For other themes change 'Sticky Class' to div "
|
80 |
"'Sticky klasu' u css klasu vašeg izbornika. Takodjer možete koristiti i css "
|
81 |
"ID."
|
82 |
|
83 |
+
#: ../mystickymenu.php:244
|
84 |
msgid "menu or header div class or id."
|
85 |
msgstr "menu ili header css div klasa ili id."
|
86 |
|
87 |
+
#: ../mystickymenu.php:270
|
88 |
msgid "numbers 1-100."
|
89 |
msgstr "brojevi 1-100"
|
90 |
|
91 |
+
#: ../mystickymenu.php:280
|
92 |
msgid "in seconds."
|
93 |
msgstr "u sekundama"
|
94 |
|
95 |
+
#: ../mystickymenu.php:289
|
96 |
msgid "less than"
|
97 |
msgstr "manjim od"
|
98 |
|
99 |
+
#: ../mystickymenu.php:294
|
100 |
msgid "px width, 0 to disable."
|
101 |
msgstr "px širine. 0 da biste onemogućili opciju."
|
102 |
|
103 |
+
#: ../mystickymenu.php:303 ../mystickymenu.php:317
|
104 |
msgid "after"
|
105 |
msgstr "nakon"
|
106 |
|
107 |
+
#: ../mystickymenu.php:308 ../mystickymenu.php:322
|
108 |
+
msgid "px."
|
109 |
+
msgstr "px."
|
110 |
|
111 |
+
#: ../mystickymenu.php:333
|
112 |
msgid "Checked is slide, unchecked is fade."
|
113 |
msgstr "Označeno je slide, neoznačeno je fade"
|
114 |
|
115 |
+
#: ../mystickymenu.php:342
|
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:349
|
123 |
msgid "Default style: "
|
124 |
msgstr "Zadani stil: "
|
125 |
|
126 |
+
#: ../mystickymenu.php:351
|
127 |
msgid ""
|
128 |
"If you want to change sticky hover color first add default style and than: "
|
129 |
msgstr ""
|
130 |
"npr. ako želite promijeniti sticky hover boju, nakon zadanog stila dodajte: "
|
131 |
|
132 |
+
#: ../mystickymenu.php:353
|
133 |
msgid ""
|
134 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
135 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
139 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
140 |
"class-403'>ovdje</a>."
|
141 |
|
142 |
+
#: ../mystickymenu.php:364
|
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 |
|
149 |
#~ msgid "sticky z-index."
|
languages/mystickymenu-rs_RS.mo
CHANGED
Binary file
|
languages/mystickymenu-rs_RS.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
-
"POT-Creation-Date: 2014-
|
5 |
-
"PO-Revision-Date: 2014-
|
6 |
"Last-Translator: Damir Babojelic <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: TFN <jahmirda@gmail.com>\n"
|
8 |
"Language: English\n"
|
@@ -17,55 +17,59 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#: ../mystickymenu.php:
|
21 |
msgid "myStickymenu Settings"
|
22 |
msgstr "myStickymenu Postavke"
|
23 |
|
24 |
-
#: ../mystickymenu.php:
|
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
|
54 |
msgstr "Učini vidljivim kad se skroluje"
|
55 |
|
56 |
-
#: ../mystickymenu.php:
|
57 |
-
msgid "Make visible
|
58 |
msgstr "Učini vidljivim kad se skroluje na Homepage-u"
|
59 |
|
60 |
-
#: ../mystickymenu.php:
|
61 |
msgid "Fade or slide effect"
|
62 |
msgstr "Fade ili Slide efekt"
|
63 |
|
64 |
-
#: ../mystickymenu.php:
|
65 |
msgid ".myfixed css class"
|
66 |
msgstr ".myfixed css klasa"
|
67 |
|
68 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
69 |
msgid ""
|
70 |
"Add nice modern sticky menu or header to any theme. Defaults works for "
|
71 |
"Twenty Thirteen theme. <br />For other themes change 'Sticky Class' to div "
|
@@ -76,39 +80,39 @@ msgstr ""
|
|
76 |
"klasu' u div klasu za koju želite da bude sticky. Takođe, možete koristiti i "
|
77 |
"div ID."
|
78 |
|
79 |
-
#: ../mystickymenu.php:
|
80 |
msgid "menu or header div class or id."
|
81 |
msgstr "div klasa menija ili zaglavlja."
|
82 |
|
83 |
-
#: ../mystickymenu.php:
|
84 |
msgid "numbers 1-100."
|
85 |
msgstr "brojevi 1-100."
|
86 |
|
87 |
-
#: ../mystickymenu.php:
|
88 |
msgid "in seconds."
|
89 |
msgstr "u sekundama."
|
90 |
|
91 |
-
#: ../mystickymenu.php:
|
92 |
msgid "less than"
|
93 |
msgstr "manje od"
|
94 |
|
95 |
-
#: ../mystickymenu.php:
|
96 |
msgid "px width, 0 to disable."
|
97 |
msgstr "px širine. 0 da biste onemogućili opciju."
|
98 |
|
99 |
-
#: ../mystickymenu.php:
|
100 |
msgid "after"
|
101 |
msgstr "nakon"
|
102 |
|
103 |
-
#: ../mystickymenu.php:
|
104 |
-
msgid "px.
|
105 |
-
msgstr "px.
|
106 |
|
107 |
-
#: ../mystickymenu.php:
|
108 |
msgid "Checked is slide, unchecked is fade."
|
109 |
msgstr "Označeno je slide, neoznačeno je fade."
|
110 |
|
111 |
-
#: ../mystickymenu.php:
|
112 |
msgid ""
|
113 |
"Add/Edit .myfixed css class to change sticky menu style. Leave it blank for "
|
114 |
"default style."
|
@@ -116,18 +120,18 @@ msgstr ""
|
|
116 |
"Dodajte/Uredite .myfixed css klasu da biste promenili izgled sticky menija. "
|
117 |
"Za podrazumevani izgled, ostavite nepopunjeno. "
|
118 |
|
119 |
-
#: ../mystickymenu.php:
|
120 |
msgid "Default style: "
|
121 |
msgstr "Podrazumevani izgled: "
|
122 |
|
123 |
-
#: ../mystickymenu.php:
|
124 |
msgid ""
|
125 |
"If you want to change sticky hover color first add default style and than: "
|
126 |
msgstr ""
|
127 |
"Ako želite da promenite sticky hover boju, prvo dodajte podrazumevani stil i "
|
128 |
"zatim: "
|
129 |
|
130 |
-
#: ../mystickymenu.php:
|
131 |
msgid ""
|
132 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
133 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
@@ -137,5 +141,12 @@ msgstr ""
|
|
137 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
138 |
"class-403'>ovde</a>."
|
139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
#~ msgid "mymessage2"
|
141 |
#~ msgstr "Bye"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
+
"POT-Creation-Date: 2014-12-23 01:53+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-12-23 01:54+0100\n"
|
6 |
"Last-Translator: Damir Babojelic <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: TFN <jahmirda@gmail.com>\n"
|
8 |
"Language: English\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
+
#: ../mystickymenu.php:53
|
21 |
msgid "myStickymenu Settings"
|
22 |
msgstr "myStickymenu Postavke"
|
23 |
|
24 |
+
#: ../mystickymenu.php:78
|
25 |
msgid "myStickymenu Options"
|
26 |
msgstr "myStickymenu Opcije"
|
27 |
|
28 |
+
#: ../mystickymenu.php:84
|
29 |
msgid "Sticky Class"
|
30 |
msgstr "Sticky klasa"
|
31 |
|
32 |
+
#: ../mystickymenu.php:91
|
33 |
msgid "Sticky z-index"
|
34 |
msgstr "Sticky z-index"
|
35 |
|
36 |
+
#: ../mystickymenu.php:98
|
37 |
msgid "Sticky Background Color"
|
38 |
msgstr "Sticky pozadinska boja"
|
39 |
|
40 |
+
#: ../mystickymenu.php:105
|
41 |
msgid "Sticky Opacity"
|
42 |
msgstr "Sticky prozirnost"
|
43 |
|
44 |
+
#: ../mystickymenu.php:112
|
45 |
msgid "Sticky Transition Time"
|
46 |
msgstr "Sticky vrijeme tranzicije"
|
47 |
|
48 |
+
#: ../mystickymenu.php:119
|
49 |
msgid "Disable at Small Screen Sizes"
|
50 |
msgstr "Onemogući na malim ekranima"
|
51 |
|
52 |
+
#: ../mystickymenu.php:126
|
53 |
+
msgid "Make visible on Scroll"
|
54 |
msgstr "Učini vidljivim kad se skroluje"
|
55 |
|
56 |
+
#: ../mystickymenu.php:133
|
57 |
+
msgid "Make visible on Scroll at homepage"
|
58 |
msgstr "Učini vidljivim kad se skroluje na Homepage-u"
|
59 |
|
60 |
+
#: ../mystickymenu.php:140
|
61 |
msgid "Fade or slide effect"
|
62 |
msgstr "Fade ili Slide efekt"
|
63 |
|
64 |
+
#: ../mystickymenu.php:147
|
65 |
msgid ".myfixed css class"
|
66 |
msgstr ".myfixed css klasa"
|
67 |
|
68 |
+
#: ../mystickymenu.php:154
|
69 |
+
msgid "Disable CSS style"
|
70 |
+
msgstr "Onemogući CSS "
|
71 |
+
|
72 |
+
#: ../mystickymenu.php:235
|
73 |
msgid ""
|
74 |
"Add nice modern sticky menu or header to any theme. Defaults works for "
|
75 |
"Twenty Thirteen theme. <br />For other themes change 'Sticky Class' to div "
|
80 |
"klasu' u div klasu za koju želite da bude sticky. Takođe, možete koristiti i "
|
81 |
"div ID."
|
82 |
|
83 |
+
#: ../mystickymenu.php:244
|
84 |
msgid "menu or header div class or id."
|
85 |
msgstr "div klasa menija ili zaglavlja."
|
86 |
|
87 |
+
#: ../mystickymenu.php:270
|
88 |
msgid "numbers 1-100."
|
89 |
msgstr "brojevi 1-100."
|
90 |
|
91 |
+
#: ../mystickymenu.php:280
|
92 |
msgid "in seconds."
|
93 |
msgstr "u sekundama."
|
94 |
|
95 |
+
#: ../mystickymenu.php:289
|
96 |
msgid "less than"
|
97 |
msgstr "manje od"
|
98 |
|
99 |
+
#: ../mystickymenu.php:294
|
100 |
msgid "px width, 0 to disable."
|
101 |
msgstr "px širine. 0 da biste onemogućili opciju."
|
102 |
|
103 |
+
#: ../mystickymenu.php:303 ../mystickymenu.php:317
|
104 |
msgid "after"
|
105 |
msgstr "nakon"
|
106 |
|
107 |
+
#: ../mystickymenu.php:308 ../mystickymenu.php:322
|
108 |
+
msgid "px."
|
109 |
+
msgstr "px."
|
110 |
|
111 |
+
#: ../mystickymenu.php:333
|
112 |
msgid "Checked is slide, unchecked is fade."
|
113 |
msgstr "Označeno je slide, neoznačeno je fade."
|
114 |
|
115 |
+
#: ../mystickymenu.php:342
|
116 |
msgid ""
|
117 |
"Add/Edit .myfixed css class to change sticky menu style. Leave it blank for "
|
118 |
"default style."
|
120 |
"Dodajte/Uredite .myfixed css klasu da biste promenili izgled sticky menija. "
|
121 |
"Za podrazumevani izgled, ostavite nepopunjeno. "
|
122 |
|
123 |
+
#: ../mystickymenu.php:349
|
124 |
msgid "Default style: "
|
125 |
msgstr "Podrazumevani izgled: "
|
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:353
|
135 |
msgid ""
|
136 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
137 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
141 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
142 |
"class-403'>ovde</a>."
|
143 |
|
144 |
+
#: ../mystickymenu.php:364
|
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 |
+
|
151 |
#~ msgid "mymessage2"
|
152 |
#~ msgstr "Bye"
|
languages/mystickymenu.mo
CHANGED
Binary file
|
languages/mystickymenu.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
-
"POT-Creation-Date: 2014-
|
5 |
-
"PO-Revision-Date: 2014-
|
6 |
"Last-Translator: Damir Babojelic <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: TFN <jahmirda@gmail.com>\n"
|
8 |
"Language: English\n"
|
@@ -17,114 +17,122 @@ msgstr ""
|
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
-
#: ../mystickymenu.php:
|
21 |
msgid "myStickymenu Settings"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: ../mystickymenu.php:
|
25 |
msgid "myStickymenu Options"
|
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
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: ../mystickymenu.php:
|
57 |
-
msgid "Make visible
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: ../mystickymenu.php:
|
61 |
msgid "Fade or slide effect"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: ../mystickymenu.php:
|
65 |
msgid ".myfixed css class"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: ../mystickymenu.php:
|
|
|
|
|
|
|
|
|
69 |
msgid ""
|
70 |
"Add nice modern sticky menu or header to any theme. Defaults works for "
|
71 |
"Twenty Thirteen theme. <br />For other themes change 'Sticky Class' to div "
|
72 |
"class desired to be sticky (div id can be used too)."
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: ../mystickymenu.php:
|
76 |
msgid "menu or header div class or id."
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: ../mystickymenu.php:
|
80 |
msgid "numbers 1-100."
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: ../mystickymenu.php:
|
84 |
msgid "in seconds."
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: ../mystickymenu.php:
|
88 |
msgid "less than"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: ../mystickymenu.php:
|
92 |
msgid "px width, 0 to disable."
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: ../mystickymenu.php:
|
96 |
msgid "after"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: ../mystickymenu.php:
|
100 |
-
msgid "px.
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: ../mystickymenu.php:
|
104 |
msgid "Checked is slide, unchecked is fade."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: ../mystickymenu.php:
|
108 |
msgid ""
|
109 |
"Add/Edit .myfixed css class to change sticky menu style. Leave it blank for "
|
110 |
"default style."
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: ../mystickymenu.php:
|
114 |
msgid "Default style: "
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: ../mystickymenu.php:
|
118 |
msgid ""
|
119 |
"If you want to change sticky hover color first add default style and than: "
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: ../mystickymenu.php:
|
123 |
msgid ""
|
124 |
"More examples <a href='http://wordpress.transformnews.com/tutorials/"
|
125 |
"mystickymenu-extended-style-functionality-using-myfixed-sticky-"
|
126 |
"class-403'>here</a>."
|
127 |
msgstr ""
|
128 |
|
|
|
|
|
|
|
|
|
129 |
#~ msgid "mymessage2"
|
130 |
#~ msgstr "Bye"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: myStickymenu\n"
|
4 |
+
"POT-Creation-Date: 2014-12-23 01:51+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-12-23 01:51+0100\n"
|
6 |
"Last-Translator: Damir Babojelic <jahmirda@gmail.com>\n"
|
7 |
"Language-Team: TFN <jahmirda@gmail.com>\n"
|
8 |
"Language: English\n"
|
17 |
"X-Poedit-SearchPath-0: ..\n"
|
18 |
"X-Poedit-SearchPath-1: .\n"
|
19 |
|
20 |
+
#: ../mystickymenu.php:53
|
21 |
msgid "myStickymenu Settings"
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: ../mystickymenu.php:78
|
25 |
msgid "myStickymenu Options"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: ../mystickymenu.php:84
|
29 |
msgid "Sticky Class"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: ../mystickymenu.php:91
|
33 |
msgid "Sticky z-index"
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: ../mystickymenu.php:98
|
37 |
msgid "Sticky Background Color"
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: ../mystickymenu.php:105
|
41 |
msgid "Sticky Opacity"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: ../mystickymenu.php:112
|
45 |
msgid "Sticky Transition Time"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: ../mystickymenu.php:119
|
49 |
msgid "Disable at Small Screen Sizes"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: ../mystickymenu.php:126
|
53 |
+
msgid "Make visible on Scroll"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: ../mystickymenu.php:133
|
57 |
+
msgid "Make visible on Scroll at homepage"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: ../mystickymenu.php:140
|
61 |
msgid "Fade or slide effect"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: ../mystickymenu.php:147
|
65 |
msgid ".myfixed css class"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: ../mystickymenu.php:154
|
69 |
+
msgid "Disable CSS style"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: ../mystickymenu.php:235
|
73 |
msgid ""
|
74 |
"Add nice modern sticky menu or header to any theme. Defaults works for "
|
75 |
"Twenty Thirteen theme. <br />For other themes change 'Sticky Class' to div "
|
76 |
"class desired to be sticky (div id can be used too)."
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: ../mystickymenu.php:244
|
80 |
msgid "menu or header div class or id."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: ../mystickymenu.php:270
|
84 |
msgid "numbers 1-100."
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: ../mystickymenu.php:280
|
88 |
msgid "in seconds."
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: ../mystickymenu.php:289
|
92 |
msgid "less than"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: ../mystickymenu.php:294
|
96 |
msgid "px width, 0 to disable."
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: ../mystickymenu.php:303 ../mystickymenu.php:317
|
100 |
msgid "after"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: ../mystickymenu.php:308 ../mystickymenu.php:322
|
104 |
+
msgid "px."
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: ../mystickymenu.php:333
|
108 |
msgid "Checked is slide, unchecked is fade."
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: ../mystickymenu.php:342
|
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:349
|
118 |
msgid "Default style: "
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: ../mystickymenu.php:351
|
122 |
msgid ""
|
123 |
"If you want to change sticky hover color first add default style and than: "
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: ../mystickymenu.php:353
|
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:364
|
134 |
+
msgid "Use this option if you plan to include CSS Style manually"
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
#~ msgid "mymessage2"
|
138 |
#~ msgstr "Bye"
|
mystickymenu.php
CHANGED
@@ -3,27 +3,20 @@
|
|
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 default Twentythirteen navigation menu. For other themes, after install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
|
6 |
-
Version: 1.8
|
7 |
Author: m.r.d.a
|
8 |
Text domain: mystickymenu
|
9 |
Domain Path: /languages
|
10 |
License: GPLv2 or later
|
11 |
*/
|
12 |
|
13 |
-
// Block direct acess to the file
|
14 |
defined('ABSPATH') or die("Cannot access pages directly.");
|
15 |
|
16 |
-
// Add plugin admin settings by Otto
|
17 |
class MyStickyMenuPage
|
18 |
{
|
19 |
-
|
20 |
-
* Holds the values to be used in the fields callbacks
|
21 |
-
*/
|
22 |
private $options;
|
23 |
|
24 |
-
/**
|
25 |
-
* Start up
|
26 |
-
*/
|
27 |
public function __construct()
|
28 |
{
|
29 |
add_action( 'admin_menu', array( $this, 'add_plugin_page' ) );
|
@@ -38,9 +31,6 @@ class MyStickyMenuPage
|
|
38 |
load_plugin_textdomain('mystickymenu', FALSE, dirname(plugin_basename(__FILE__)).'/languages/');
|
39 |
}
|
40 |
|
41 |
-
/**
|
42 |
-
* Add options page
|
43 |
-
*/
|
44 |
public function add_plugin_page()
|
45 |
{
|
46 |
// This page will be under "Settings"
|
@@ -53,9 +43,6 @@ class MyStickyMenuPage
|
|
53 |
);
|
54 |
}
|
55 |
|
56 |
-
/**
|
57 |
-
* Options page callback
|
58 |
-
*/
|
59 |
public function create_admin_page()
|
60 |
{
|
61 |
// Set class property
|
@@ -66,7 +53,6 @@ class MyStickyMenuPage
|
|
66 |
<h2><?php _e('myStickymenu Settings', 'mystickymenu'); ?></h2>
|
67 |
<form method="post" action="options.php">
|
68 |
<?php
|
69 |
-
// This prints out all hidden setting fields
|
70 |
settings_fields( 'mysticky_option_group' );
|
71 |
do_settings_sections( 'my-stickymenu-settings' );
|
72 |
submit_button();
|
@@ -76,35 +62,30 @@ class MyStickyMenuPage
|
|
76 |
<?php
|
77 |
}
|
78 |
|
79 |
-
/**
|
80 |
-
* Register and add settings
|
81 |
-
*/
|
82 |
public function page_init()
|
83 |
{
|
84 |
global $id, $title, $callback, $page;
|
85 |
register_setting(
|
86 |
-
'mysticky_option_group',
|
87 |
-
'mysticky_option_name',
|
88 |
-
array( $this, 'sanitize' )
|
89 |
);
|
90 |
|
91 |
add_settings_field( $id, $title, $callback, $page, $section = 'default', $args = array() );
|
92 |
|
93 |
add_settings_section(
|
94 |
-
'setting_section_id',
|
95 |
-
__("myStickymenu Options", 'mystickymenu'),
|
96 |
-
array( $this, 'print_section_info' ),
|
97 |
-
'my-stickymenu-settings'
|
98 |
);
|
99 |
-
|
100 |
add_settings_field(
|
101 |
-
'mysticky_class_selector',
|
102 |
-
__("Sticky Class", 'mystickymenu'),
|
103 |
-
array( $this, 'mysticky_class_selector_callback' ),
|
104 |
-
'my-stickymenu-settings',
|
105 |
-
'setting_section_id'
|
106 |
);
|
107 |
-
|
108 |
add_settings_field(
|
109 |
'myfixed_zindex',
|
110 |
__("Sticky z-index", 'mystickymenu'),
|
@@ -112,7 +93,6 @@ class MyStickyMenuPage
|
|
112 |
'my-stickymenu-settings',
|
113 |
'setting_section_id'
|
114 |
);
|
115 |
-
|
116 |
add_settings_field(
|
117 |
'myfixed_bgcolor',
|
118 |
__("Sticky Background Color", 'mystickymenu'),
|
@@ -120,7 +100,6 @@ class MyStickyMenuPage
|
|
120 |
'my-stickymenu-settings',
|
121 |
'setting_section_id'
|
122 |
);
|
123 |
-
|
124 |
add_settings_field(
|
125 |
'myfixed_opacity',
|
126 |
__("Sticky Opacity", 'mystickymenu'),
|
@@ -128,7 +107,6 @@ class MyStickyMenuPage
|
|
128 |
'my-stickymenu-settings',
|
129 |
'setting_section_id'
|
130 |
);
|
131 |
-
|
132 |
add_settings_field(
|
133 |
'myfixed_transition_time',
|
134 |
__("Sticky Transition Time", 'mystickymenu'),
|
@@ -136,7 +114,6 @@ class MyStickyMenuPage
|
|
136 |
'my-stickymenu-settings',
|
137 |
'setting_section_id'
|
138 |
);
|
139 |
-
|
140 |
add_settings_field(
|
141 |
'myfixed_disable_small_screen',
|
142 |
__("Disable at Small Screen Sizes", 'mystickymenu'),
|
@@ -144,23 +121,20 @@ class MyStickyMenuPage
|
|
144 |
'my-stickymenu-settings',
|
145 |
'setting_section_id'
|
146 |
);
|
147 |
-
|
148 |
add_settings_field(
|
149 |
'mysticky_active_on_height',
|
150 |
-
__("Make visible
|
151 |
array( $this, 'mysticky_active_on_height_callback' ),
|
152 |
'my-stickymenu-settings',
|
153 |
'setting_section_id'
|
154 |
);
|
155 |
-
|
156 |
add_settings_field(
|
157 |
'mysticky_active_on_height_home',
|
158 |
-
__("Make visible
|
159 |
array( $this, 'mysticky_active_on_height_home_callback' ),
|
160 |
'my-stickymenu-settings',
|
161 |
'setting_section_id'
|
162 |
);
|
163 |
-
|
164 |
add_settings_field(
|
165 |
'myfixed_fade',
|
166 |
__("Fade or slide effect", 'mystickymenu'),
|
@@ -168,7 +142,6 @@ class MyStickyMenuPage
|
|
168 |
'my-stickymenu-settings',
|
169 |
'setting_section_id'
|
170 |
);
|
171 |
-
|
172 |
add_settings_field(
|
173 |
'myfixed_cssstyle',
|
174 |
__(".myfixed css class", 'mystickymenu'),
|
@@ -176,6 +149,13 @@ class MyStickyMenuPage
|
|
176 |
'my-stickymenu-settings',
|
177 |
'setting_section_id'
|
178 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
}
|
180 |
/**
|
181 |
* Sanitize each setting field as needed
|
@@ -211,20 +191,19 @@ class MyStickyMenuPage
|
|
211 |
|
212 |
if( isset( $input['myfixed_fade'] ) )
|
213 |
$new_input['myfixed_fade'] = sanitize_text_field( $input['myfixed_fade'] );
|
214 |
-
|
215 |
if( isset( $input['myfixed_cssstyle'] ) )
|
216 |
$new_input['myfixed_cssstyle'] = sanitize_text_field( $input['myfixed_cssstyle'] );
|
|
|
|
|
|
|
217 |
|
218 |
return $new_input;
|
219 |
}
|
220 |
|
221 |
-
/**
|
222 |
-
* Load Defaults
|
223 |
-
*/
|
224 |
public function mysticky_default_options() {
|
225 |
|
226 |
global $options;
|
227 |
-
|
228 |
$default = array(
|
229 |
|
230 |
'mysticky_class_selector' => '.navbar',
|
@@ -236,7 +215,7 @@ class MyStickyMenuPage
|
|
236 |
'mysticky_active_on_height' => '320',
|
237 |
'mysticky_active_on_height_home' => '320',
|
238 |
'myfixed_fade' => false,
|
239 |
-
'myfixed_cssstyle' => '.myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; }'
|
240 |
);
|
241 |
|
242 |
if ( get_option('mysticky_option_name') == false ) {
|
@@ -250,17 +229,11 @@ class MyStickyMenuPage
|
|
250 |
wp_enqueue_script( 'my-script-handle', plugins_url('js/iris-script.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
|
251 |
}
|
252 |
|
253 |
-
/**
|
254 |
-
* Print the Section text
|
255 |
-
*/
|
256 |
public function print_section_info()
|
257 |
{
|
258 |
echo __("Add nice modern sticky menu or header to any theme. Defaults works for Twenty Thirteen theme. <br />For other themes change 'Sticky Class' to div class desired to be sticky (div id can be used too).", 'mystickymenu');
|
259 |
}
|
260 |
|
261 |
-
/**
|
262 |
-
* Get the settings option array and print one of its values
|
263 |
-
*/
|
264 |
public function mysticky_class_selector_callback()
|
265 |
{
|
266 |
printf(
|
@@ -331,7 +304,7 @@ class MyStickyMenuPage
|
|
331 |
' <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" />',
|
332 |
isset( $this->options['mysticky_active_on_height'] ) ? esc_attr( $this->options['mysticky_active_on_height']) : ''
|
333 |
);
|
334 |
-
echo __("px.
|
335 |
echo '</p>';
|
336 |
}
|
337 |
|
@@ -345,7 +318,7 @@ class MyStickyMenuPage
|
|
345 |
' <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" />',
|
346 |
isset( $this->options['mysticky_active_on_height_home'] ) ? esc_attr( $this->options['mysticky_active_on_height_home']) : ''
|
347 |
);
|
348 |
-
echo __("px.
|
349 |
echo '</p>';
|
350 |
}
|
351 |
|
@@ -380,14 +353,22 @@ class MyStickyMenuPage
|
|
380 |
echo'</p>';
|
381 |
}
|
382 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
383 |
}
|
384 |
|
385 |
if( is_admin() )
|
386 |
$my_settings_page = new MyStickyMenuPage();
|
387 |
-
|
388 |
-
// end plugin admin settings
|
389 |
-
|
390 |
-
// Remove default option for more link that jumps at the midle of page and its covered by menu
|
391 |
|
392 |
function mysticky_remove_more_jump_link($link)
|
393 |
{
|
@@ -403,12 +384,19 @@ class MyStickyMenuPage
|
|
403 |
|
404 |
add_filter('the_content_more_link', 'mysticky_remove_more_jump_link');
|
405 |
|
406 |
-
// Create style from options
|
407 |
|
408 |
function mysticky_build_stylesheet_content() {
|
409 |
|
410 |
$mysticky_options = get_option( 'mysticky_option_name' );
|
411 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
412 |
echo
|
413 |
'<style type="text/css">';
|
414 |
if ( is_user_logged_in() ) {
|
@@ -457,6 +445,7 @@ class MyStickyMenuPage
|
|
457 |
'</style>
|
458 |
';
|
459 |
}
|
|
|
460 |
|
461 |
add_action('wp_head', 'mysticky_build_stylesheet_content');
|
462 |
|
@@ -471,7 +460,6 @@ class MyStickyMenuPage
|
|
471 |
$mysticky_options['mysticky_active_on_height_home'] = $mysticky_options['mysticky_active_on_height'];
|
472 |
};
|
473 |
|
474 |
-
// if set to 0 => display default active_on_height
|
475 |
if ($mysticky_options['mysticky_active_on_height_home'] == 0 ){
|
476 |
$mysticky_options['mysticky_active_on_height_home'] = $mysticky_options['mysticky_active_on_height'];
|
477 |
};
|
@@ -480,11 +468,9 @@ class MyStickyMenuPage
|
|
480 |
$mysticky_options['mysticky_active_on_height'] = $mysticky_options['mysticky_active_on_height_home'];
|
481 |
};
|
482 |
|
483 |
-
|
484 |
-
wp_register_script('mystickymenu', WP_PLUGIN_URL. '/mystickymenu/js/mystickymenu.js', false,'1.0.0', true);
|
485 |
wp_enqueue_script( 'mystickymenu' );
|
486 |
|
487 |
-
// Localize mystickymenu.js script with myStickymenu options
|
488 |
$mysticky_translation_array = array(
|
489 |
'mysticky_string' => $mysticky_options['mysticky_class_selector'] ,
|
490 |
'mysticky_active_on_height_string' => $mysticky_options['mysticky_active_on_height'],
|
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 default Twentythirteen navigation menu. For other themes, after install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
|
6 |
+
Version: 1.8.1
|
7 |
Author: m.r.d.a
|
8 |
Text domain: mystickymenu
|
9 |
Domain Path: /languages
|
10 |
License: GPLv2 or later
|
11 |
*/
|
12 |
|
|
|
13 |
defined('ABSPATH') or die("Cannot access pages directly.");
|
14 |
|
|
|
15 |
class MyStickyMenuPage
|
16 |
{
|
17 |
+
|
|
|
|
|
18 |
private $options;
|
19 |
|
|
|
|
|
|
|
20 |
public function __construct()
|
21 |
{
|
22 |
add_action( 'admin_menu', array( $this, 'add_plugin_page' ) );
|
31 |
load_plugin_textdomain('mystickymenu', FALSE, dirname(plugin_basename(__FILE__)).'/languages/');
|
32 |
}
|
33 |
|
|
|
|
|
|
|
34 |
public function add_plugin_page()
|
35 |
{
|
36 |
// This page will be under "Settings"
|
43 |
);
|
44 |
}
|
45 |
|
|
|
|
|
|
|
46 |
public function create_admin_page()
|
47 |
{
|
48 |
// Set class property
|
53 |
<h2><?php _e('myStickymenu Settings', 'mystickymenu'); ?></h2>
|
54 |
<form method="post" action="options.php">
|
55 |
<?php
|
|
|
56 |
settings_fields( 'mysticky_option_group' );
|
57 |
do_settings_sections( 'my-stickymenu-settings' );
|
58 |
submit_button();
|
62 |
<?php
|
63 |
}
|
64 |
|
|
|
|
|
|
|
65 |
public function page_init()
|
66 |
{
|
67 |
global $id, $title, $callback, $page;
|
68 |
register_setting(
|
69 |
+
'mysticky_option_group',
|
70 |
+
'mysticky_option_name',
|
71 |
+
array( $this, 'sanitize' )
|
72 |
);
|
73 |
|
74 |
add_settings_field( $id, $title, $callback, $page, $section = 'default', $args = array() );
|
75 |
|
76 |
add_settings_section(
|
77 |
+
'setting_section_id',
|
78 |
+
__("myStickymenu Options", 'mystickymenu'),
|
79 |
+
array( $this, 'print_section_info' ),
|
80 |
+
'my-stickymenu-settings'
|
81 |
);
|
|
|
82 |
add_settings_field(
|
83 |
+
'mysticky_class_selector',
|
84 |
+
__("Sticky Class", 'mystickymenu'),
|
85 |
+
array( $this, 'mysticky_class_selector_callback' ),
|
86 |
+
'my-stickymenu-settings',
|
87 |
+
'setting_section_id'
|
88 |
);
|
|
|
89 |
add_settings_field(
|
90 |
'myfixed_zindex',
|
91 |
__("Sticky z-index", 'mystickymenu'),
|
93 |
'my-stickymenu-settings',
|
94 |
'setting_section_id'
|
95 |
);
|
|
|
96 |
add_settings_field(
|
97 |
'myfixed_bgcolor',
|
98 |
__("Sticky Background Color", 'mystickymenu'),
|
100 |
'my-stickymenu-settings',
|
101 |
'setting_section_id'
|
102 |
);
|
|
|
103 |
add_settings_field(
|
104 |
'myfixed_opacity',
|
105 |
__("Sticky Opacity", 'mystickymenu'),
|
107 |
'my-stickymenu-settings',
|
108 |
'setting_section_id'
|
109 |
);
|
|
|
110 |
add_settings_field(
|
111 |
'myfixed_transition_time',
|
112 |
__("Sticky Transition Time", 'mystickymenu'),
|
114 |
'my-stickymenu-settings',
|
115 |
'setting_section_id'
|
116 |
);
|
|
|
117 |
add_settings_field(
|
118 |
'myfixed_disable_small_screen',
|
119 |
__("Disable at Small Screen Sizes", 'mystickymenu'),
|
121 |
'my-stickymenu-settings',
|
122 |
'setting_section_id'
|
123 |
);
|
|
|
124 |
add_settings_field(
|
125 |
'mysticky_active_on_height',
|
126 |
+
__("Make visible on Scroll", 'mystickymenu'),
|
127 |
array( $this, 'mysticky_active_on_height_callback' ),
|
128 |
'my-stickymenu-settings',
|
129 |
'setting_section_id'
|
130 |
);
|
|
|
131 |
add_settings_field(
|
132 |
'mysticky_active_on_height_home',
|
133 |
+
__("Make visible on Scroll at homepage", 'mystickymenu'),
|
134 |
array( $this, 'mysticky_active_on_height_home_callback' ),
|
135 |
'my-stickymenu-settings',
|
136 |
'setting_section_id'
|
137 |
);
|
|
|
138 |
add_settings_field(
|
139 |
'myfixed_fade',
|
140 |
__("Fade or slide effect", 'mystickymenu'),
|
142 |
'my-stickymenu-settings',
|
143 |
'setting_section_id'
|
144 |
);
|
|
|
145 |
add_settings_field(
|
146 |
'myfixed_cssstyle',
|
147 |
__(".myfixed css class", 'mystickymenu'),
|
149 |
'my-stickymenu-settings',
|
150 |
'setting_section_id'
|
151 |
);
|
152 |
+
add_settings_field(
|
153 |
+
'disable_css',
|
154 |
+
__("Disable CSS style", 'mystickymenu'),
|
155 |
+
array( $this, 'disable_css_callback' ),
|
156 |
+
'my-stickymenu-settings',
|
157 |
+
'setting_section_id'
|
158 |
+
);
|
159 |
}
|
160 |
/**
|
161 |
* Sanitize each setting field as needed
|
191 |
|
192 |
if( isset( $input['myfixed_fade'] ) )
|
193 |
$new_input['myfixed_fade'] = sanitize_text_field( $input['myfixed_fade'] );
|
194 |
+
|
195 |
if( isset( $input['myfixed_cssstyle'] ) )
|
196 |
$new_input['myfixed_cssstyle'] = sanitize_text_field( $input['myfixed_cssstyle'] );
|
197 |
+
|
198 |
+
if( isset( $input['disable_css'] ) )
|
199 |
+
$new_input['disable_css'] = sanitize_text_field( $input['disable_css'] );
|
200 |
|
201 |
return $new_input;
|
202 |
}
|
203 |
|
|
|
|
|
|
|
204 |
public function mysticky_default_options() {
|
205 |
|
206 |
global $options;
|
|
|
207 |
$default = array(
|
208 |
|
209 |
'mysticky_class_selector' => '.navbar',
|
215 |
'mysticky_active_on_height' => '320',
|
216 |
'mysticky_active_on_height_home' => '320',
|
217 |
'myfixed_fade' => false,
|
218 |
+
'myfixed_cssstyle' => '.myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; }'
|
219 |
);
|
220 |
|
221 |
if ( get_option('mysticky_option_name') == false ) {
|
229 |
wp_enqueue_script( 'my-script-handle', plugins_url('js/iris-script.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
|
230 |
}
|
231 |
|
|
|
|
|
|
|
232 |
public function print_section_info()
|
233 |
{
|
234 |
echo __("Add nice modern sticky menu or header to any theme. Defaults works for Twenty Thirteen theme. <br />For other themes change 'Sticky Class' to div class desired to be sticky (div id can be used too).", 'mystickymenu');
|
235 |
}
|
236 |
|
|
|
|
|
|
|
237 |
public function mysticky_class_selector_callback()
|
238 |
{
|
239 |
printf(
|
304 |
' <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" />',
|
305 |
isset( $this->options['mysticky_active_on_height'] ) ? esc_attr( $this->options['mysticky_active_on_height']) : ''
|
306 |
);
|
307 |
+
echo __("px.", 'mystickymenu');
|
308 |
echo '</p>';
|
309 |
}
|
310 |
|
318 |
' <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" />',
|
319 |
isset( $this->options['mysticky_active_on_height_home'] ) ? esc_attr( $this->options['mysticky_active_on_height_home']) : ''
|
320 |
);
|
321 |
+
echo __("px.", 'mystickymenu');
|
322 |
echo '</p>';
|
323 |
}
|
324 |
|
353 |
echo'</p>';
|
354 |
}
|
355 |
|
356 |
+
public function disable_css_callback()
|
357 |
+
{
|
358 |
+
printf(
|
359 |
+
'<p class="description"><input id="%1$s" name="mysticky_option_name[disable_css]" type="checkbox" %2$s /> ',
|
360 |
+
'disable_css',
|
361 |
+
checked( isset( $this->options['disable_css'] ), true, false )
|
362 |
+
);
|
363 |
+
echo __("Use this option if you plan to include CSS Style manually", 'mystickymenu');
|
364 |
+
echo '</p>';
|
365 |
+
}
|
366 |
+
|
367 |
}
|
368 |
|
369 |
if( is_admin() )
|
370 |
$my_settings_page = new MyStickyMenuPage();
|
371 |
+
|
|
|
|
|
|
|
372 |
|
373 |
function mysticky_remove_more_jump_link($link)
|
374 |
{
|
384 |
|
385 |
add_filter('the_content_more_link', 'mysticky_remove_more_jump_link');
|
386 |
|
|
|
387 |
|
388 |
function mysticky_build_stylesheet_content() {
|
389 |
|
390 |
$mysticky_options = get_option( 'mysticky_option_name' );
|
391 |
+
|
392 |
+
if (isset($mysticky_options['disable_css'])){
|
393 |
+
//do nothing
|
394 |
+
} else {
|
395 |
+
$mysticky_options['disable_css'] = false;
|
396 |
+
};
|
397 |
+
|
398 |
+
if ($mysticky_options ['disable_css'] == false ){
|
399 |
+
|
400 |
echo
|
401 |
'<style type="text/css">';
|
402 |
if ( is_user_logged_in() ) {
|
445 |
'</style>
|
446 |
';
|
447 |
}
|
448 |
+
}
|
449 |
|
450 |
add_action('wp_head', 'mysticky_build_stylesheet_content');
|
451 |
|
460 |
$mysticky_options['mysticky_active_on_height_home'] = $mysticky_options['mysticky_active_on_height'];
|
461 |
};
|
462 |
|
|
|
463 |
if ($mysticky_options['mysticky_active_on_height_home'] == 0 ){
|
464 |
$mysticky_options['mysticky_active_on_height_home'] = $mysticky_options['mysticky_active_on_height'];
|
465 |
};
|
468 |
$mysticky_options['mysticky_active_on_height'] = $mysticky_options['mysticky_active_on_height_home'];
|
469 |
};
|
470 |
|
471 |
+
wp_register_script('mystickymenu', WP_PLUGIN_URL. '/mystickymenu/js/mystickymenu.min.js', false,'1.0.0', true);
|
|
|
472 |
wp_enqueue_script( 'mystickymenu' );
|
473 |
|
|
|
474 |
$mysticky_translation_array = array(
|
475 |
'mysticky_string' => $mysticky_options['mysticky_class_selector'] ,
|
476 |
'mysticky_active_on_height_string' => $mysticky_options['mysticky_active_on_height'],
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== myStickymenu ===
|
2 |
Contributors: damiroquai
|
3 |
-
Donate link:
|
4 |
Tags: sticky menu, twentythirteen, twenty-thirteen, plugin, menu, jquery, sticky header, header, sticky, sticky navigation
|
5 |
Requires at least: 3.5.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.8
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
This modern lightweight plugin will made your menu or header sticky on top of page, after desired number of pixels when scrolled.
|
@@ -19,7 +19,9 @@ Another advancement of this simple plugin is that increases usability and page v
|
|
19 |
Plugin Home + Demo URL: http://wordpress.transformnews.com/plugins/mystickymenu-simple-sticky-fixed-on-top-menu-implementation-for-twentythirteen-menu-269
|
20 |
|
21 |
== Installation ==
|
22 |
-
Install like any other plugin. After install activate.
|
|
|
|
|
23 |
|
24 |
|
25 |
== Frequently Asked Questions ==
|
@@ -30,6 +32,17 @@ So this depends on what you want to make sticky and what theme do you use, but f
|
|
30 |
= Is there any way to restrict the width to the width of the header, rather than it being full width? =
|
31 |
Yes, just leave "Sticky Background Color" field blank (clear). Than if needed define custom background color for sticky header inside ".myfixed css class" field using .myfixed class.
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
|
34 |
== Screenshots ==
|
35 |
|
@@ -39,6 +52,10 @@ Yes, just leave "Sticky Background Color" field blank (clear). Than if needed de
|
|
39 |
|
40 |
== Changelog ==
|
41 |
|
|
|
|
|
|
|
|
|
42 |
= 1.8 =
|
43 |
* Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages.
|
44 |
* Added German language
|
@@ -81,6 +98,10 @@ Yes, just leave "Sticky Background Color" field blank (clear). Than if needed de
|
|
81 |
|
82 |
== Upgrade Notice ==
|
83 |
|
|
|
|
|
|
|
|
|
84 |
= 1.8 =
|
85 |
* Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages.
|
86 |
|
1 |
=== myStickymenu ===
|
2 |
Contributors: damiroquai
|
3 |
+
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LCW5R5MHJADQN
|
4 |
Tags: sticky menu, twentythirteen, twenty-thirteen, plugin, menu, jquery, sticky header, header, sticky, sticky navigation
|
5 |
Requires at least: 3.5.1
|
6 |
+
Tested up to: 4.2.2
|
7 |
+
Stable tag: 1.8.1
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
This modern lightweight plugin will made your menu or header sticky on top of page, after desired number of pixels when scrolled.
|
19 |
Plugin Home + Demo URL: http://wordpress.transformnews.com/plugins/mystickymenu-simple-sticky-fixed-on-top-menu-implementation-for-twentythirteen-menu-269
|
20 |
|
21 |
== Installation ==
|
22 |
+
Install like any other plugin. After install activate.
|
23 |
+
Go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id…
|
24 |
+
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 can be found here - http://wordpress.transformnews.com/tutorials/disable-css-style-in-mystickymenu-938
|
25 |
|
26 |
|
27 |
== Frequently Asked Questions ==
|
32 |
= Is there any way to restrict the width to the width of the header, rather than it being full width? =
|
33 |
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.
|
34 |
|
35 |
+
= Ho do I add small logo to the menu? =
|
36 |
+
That will depend on a theme you use, but if initially your menu and logo are in one div than you can use that div class or id in myStickymenu settings.
|
37 |
+
|
38 |
+
If not you can change that in your header template file and add logo and menu divs inside new div with some custom class or id, than use that class or id in myStickymenu settings as a sticky class.
|
39 |
+
|
40 |
+
In CSS you can style your custom class while not sticky using custom class you added before. Furthermore you can style your menu while sticky using .myfixed class which is added by js to your custom class while sticky is active.
|
41 |
+
|
42 |
+
In some cases you can use the whole header div and than just style it different with .myfixed class, hide what you don’t need using CSS display:none; property, and position logo and menu as you like.
|
43 |
+
|
44 |
+
Check Twenty Thirteen CSS example using default full header id #masthead as a sticky class - http://wordpress.transformnews.com/tutorials/mystickymenu-theme-support-682 .
|
45 |
+
Also check another header example here - https://wordpress.org/support/topic/logo-in-menu-2 .
|
46 |
|
47 |
== Screenshots ==
|
48 |
|
52 |
|
53 |
== Changelog ==
|
54 |
|
55 |
+
= 1.8.1 =
|
56 |
+
* Added: “Disable CSS“. If you plan to add style manually to your style.css in order to improve your site performance disable plugin CSS style printed by default in document head element.
|
57 |
+
* Minimized mystickymenu.js to improve performance.
|
58 |
+
|
59 |
= 1.8 =
|
60 |
* Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages.
|
61 |
* Added German language
|
98 |
|
99 |
== Upgrade Notice ==
|
100 |
|
101 |
+
= 1.8.1 =
|
102 |
+
* Added: “Disable CSS“. If you plan to add style manually to your style.css in order to improve your site performance disable plugin CSS style printed by default in document head element.
|
103 |
+
* Minimized mystickymenu.js to improve performance.
|
104 |
+
|
105 |
= 1.8 =
|
106 |
* Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages.
|
107 |
|