Changeset 1729194
- Timestamp:
- 09/13/2017 09:57:39 AM (9 years ago)
- Location:
- sticky-on-scroll
- Files:
-
- 13 added
- 4 edited
-
tags/1.0.0 (added)
-
tags/1.0.0/admin (added)
-
tags/1.0.0/admin/stsc-admin-settings.php (added)
-
tags/1.0.0/assets (added)
-
tags/1.0.0/assets/css (added)
-
tags/1.0.0/assets/css/stsc-admin-style.css (added)
-
tags/1.0.0/assets/js (added)
-
tags/1.0.0/assets/js/jquery.custom.js (added)
-
tags/1.0.0/assets/js/jquery.stopattop.js (added)
-
tags/1.0.0/readme.txt (added)
-
tags/1.0.0/screenshot-1.png (added)
-
tags/1.0.0/sticky-on-scroll.php (added)
-
tags/1.0.0/sticky-on-scroll.php-tmp (added)
-
trunk/assets/js/jquery.custom.js (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/screenshot-1.png (modified) (previous)
-
trunk/sticky-on-scroll.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sticky-on-scroll/trunk/assets/js/jquery.custom.js
r1725379 r1729194 4 4 5 5 if(SS_obj.selectors!='' && current_width > SS_obj.width){ 6 alert(current_width);7 6 jQuery(SS_obj.selectors).stopAtTop(); 8 7 } -
sticky-on-scroll/trunk/readme.txt
r1725379 r1729194 1 1 === Sticky on Scroll === 2 2 Contributors: latifpala 3 Tags: sticky, navigation 3 Tags: sticky, navigation, header, menu, sticky header, sticky menu 4 4 Requires at least: 3.5 5 5 Tested up to: 4.8.1 … … 11 11 12 12 == Description == 13 The Sticky on Scroll plugin for wordpress wallows to make any element sticky as soon as the element hits the top of the page. It is commonly used to keep navigation menus at the top of page.13 The Sticky on Scroll plugin for wordpress allows to make any element sticky as soon as the element hits the top of the page. It is commonly used to keep navigation menus at the top of page. 14 14 15 15 You might have to add little bit of HTML/CSS to work this plugin perfectly for other elements except navigation menu. Make sure you do not select too large elements as sticky. … … 17 17 Always try to add a unique element class/ID for the element you want to set as sticky. For multiple elements you can use class for best results. 18 18 19 For multiple elements you can easily add element ID or classes comma separated(For eg. #section1, #section2, .header). You can also use any HTML elements as sticky. However adding using ID/class is preferable.19 For multiple elements you can easily add element ID or classes separated by comma (For eg. #section1, #section2, .header). You can also use any HTML elements as sticky. However adding using ID/class is preferable. 20 20 21 21 == Installation == 22 22 1. Upload `sticky-on-scroll` to the `/wp-content/plugins/` directory 23 2. Activate the plugin through the \'Plugins\'menu in WordPress23 2. Activate the plugin through the `Plugins` menu in WordPress 24 24 3. Done! 25 25 … … 27 27 == Frequently Asked Questions == 28 28 = How can I set elements that I want to set sticky? 29 You can go to settings->Sticky on Scroll. You will see two options there. You can add all elements comma separated in \"Sticky Element\"text box.29 You can go to settings->Sticky on Scroll. You will see two options there. You can add all elements comma separated in `Sticky Element` text box. 30 30 31 = What is \"Minimum screen size to set elements sticky.\"field used for?31 = What is `Minimum screen size to set elements sticky.` field used for? 32 32 It is used to disable elements to stick at top at certain screen size. It can be used in small devices as scroll is not required in small devices. But you can use it as per your need. 33 33 34 = Once the element becomes sticky, it \'s not positioned properly.34 = Once the element becomes sticky, it is not positioned properly. 35 35 There are some situations when this can happen, if your theme assigns absolute positioning on the element. You have to adjust your css accordingly if this happens. 36 36 37 37 = Is it possible to have multiple sticky elements? = 38 Yes, you can add multiple elements separated by comma in settings->Sticky on Scrolltextbox.38 Yes, you can add multiple elements separated by comma in `settings->Sticky on Scroll` textbox. 39 39 40 40 41 41 == Screenshots == 42 42 1. Sticky on scoll form 43 2. Twenty Sixteen sticky menu 44 3. Twenty Sixteen Settings 43 45 44 46 == Changelog == 45 47 = 1.0.0 = 46 48 Initial release. 49 50 = 1.0.1 = 51 Alert bug fixed. -
sticky-on-scroll/trunk/sticky-on-scroll.php
r1725379 r1729194 3 3 Plugin Name: Sticky on Scroll 4 4 Description: You can pick any element that you want to stick on top of the page when you scroll down. It can be used for navigation menus or any element that you want as sticky. 5 Version: 1.0 5 Version: 1.0.1 6 6 Author: Latif Pala 7 7 Author URI: https://profiles.wordpress.org/latifpala
Note: See TracChangeset
for help on using the changeset viewer.