Plugin Directory

Changeset 1729194


Ignore:
Timestamp:
09/13/2017 09:57:39 AM (9 years ago)
Author:
latifpala
Message:

Upload New Version

Location:
sticky-on-scroll
Files:
13 added
4 edited

Legend:

Unmodified
Added
Removed
  • sticky-on-scroll/trunk/assets/js/jquery.custom.js

    r1725379 r1729194  
    44   
    55    if(SS_obj.selectors!='' &&  current_width > SS_obj.width){
    6         alert(current_width);
    76        jQuery(SS_obj.selectors).stopAtTop();
    87    }
  • sticky-on-scroll/trunk/readme.txt

    r1725379 r1729194  
    11=== Sticky on Scroll ===
    22Contributors: latifpala
    3 Tags: sticky, navigation
     3Tags: sticky, navigation, header, menu, sticky header, sticky menu
    44Requires at least: 3.5
    55Tested up to: 4.8.1
     
    1111
    1212== Description ==
    13 The Sticky on Scroll plugin for wordpressw 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.
     13The 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.
    1414
    1515You 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.
     
    1717Always 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.
    1818
    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.
     19For 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.
    2020
    2121== Installation ==
    22221. Upload `sticky-on-scroll` to the `/wp-content/plugins/` directory
    23 2. Activate the plugin through the \'Plugins\' menu in WordPress
     232. Activate the plugin through the `Plugins` menu in WordPress
    24243. Done!
    2525
     
    2727== Frequently Asked Questions ==
    2828= 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.
     29You 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.
    3030
    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?
    3232It 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.
    3333
    34 = Once the element becomes sticky, it\'s not positioned properly.
     34= Once the element becomes sticky, it is not positioned properly.
    3535There 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.
    3636
    3737= Is it possible to have multiple sticky elements? =
    38 Yes, you can add multiple elements separated by comma in settings->Sticky on Scroll textbox.
     38Yes, you can add multiple elements separated by comma in `settings->Sticky on Scroll` textbox.
    3939
    4040
    4141== Screenshots ==
    42421. Sticky on scoll form
     432. Twenty Sixteen sticky menu
     443. Twenty Sixteen Settings
    4345
    4446== Changelog ==
    4547= 1.0.0  =
    4648Initial release.
     49
     50= 1.0.1 =
     51Alert bug fixed.
  • sticky-on-scroll/trunk/sticky-on-scroll.php

    r1725379 r1729194  
    33Plugin Name: Sticky on Scroll
    44Description: 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
     5Version: 1.0.1
    66Author: Latif Pala
    77Author URI: https://profiles.wordpress.org/latifpala
Note: See TracChangeset for help on using the changeset viewer.