Plugin Directory

Changeset 911316


Ignore:
Timestamp:
05/09/2014 08:16:58 PM (12 years ago)
Author:
hawkeye126
Message:

version 2.0.3

Location:
lowermedia-sticky-js-menus/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • lowermedia-sticky-js-menus/trunk/js/jquery.sticky.js

    r859626 r911316  
    44// Improvements by German M. Bravo (Kronuz) and Ruud Kamphuis (ruudk)
    55// Improvements by Leonardo C. Daronco (daronco)
     6// Modifications for WordPress Plugin Usage by Pete Lower
    67// Created: 2/14/2011
    78// Date: 2/12/2012
    89// Website: http://labs.anthonygarand.com/sticky
     10//
    911// Description: Makes an element on the page stick on the screen as you scroll
    1012//       It will only set the 'top' and 'position' of your element, you
    1113//       might need to adjust the width in some cases.
    12 
    13 // Revised by Pete Lower for WordPress Plugin LowerMedia Sticky JS Menus
     14//
     15// Revised by LowerMedia for WordPress Plugin LowerMedia Sticky JS Menus
    1416// Free rock music: i9mh.com
    1517
     
    1820  $('body').addClass('petejsclass');
    1921 
     22
     23  //  THIS IF STATEMENT DECIDES THE WIDTH OF THE STICKY NAV
     24  //  CONTAINER BASED ON THE DIV SPECIFIED
    2025  var gotwidth;
    2126  if (LMScriptParams.themename=='responsive')
     
    3843    {
    3944      gotwidth = '#content_section';
     45    }
     46  else if (LMScriptParams.themename=='Isabelle')
     47    {
     48      gotwidth = '.container';
    4049    }
    4150  else
  • lowermedia-sticky-js-menus/trunk/js/run-sticky.js

    r854971 r911316  
    33#
    44#   This script recieves a parameter (the active theme's themename) from lowermedia-sticky-js-menus.php,
    5 #   it uses this parameter to decide which div to put the sticky wrapper around.  The .sticky function
    6 #   is defined in jquery.sticky.js.  This script also adds two classes to the body for debuging/testing
    7 #   and/or styling if needed
     5#   it uses this parameter to decide which div to put the sticky wrapper around.
     6#
     7#   The .sticky function is defined in jquery.sticky.js.
     8#
     9#   This script also adds two classes to the body for debuging/testing and/or styling if needed
    810#
    911#
     
    5860      jQuery(".site-navigation").sticky({ topSpacing: 0 });//spun
    5961    }
     62  else if (LMScriptParams.themename=='Isabelle')
     63    {
     64      jQuery(".nav").sticky({ topSpacing: 0 });//spun
     65    }
     66  else if (LMScriptParams.themename=='spacious')
     67    {
     68      jQuery("#header-text-nav-container").sticky({ topSpacing: 0 });//spun
     69    }
    6070  else if (LMScriptParams.themename=='lowermedia_one_page_theme' || LMScriptParams.themename=='expound' || LMScriptParams.themename=='sixteen' || LMScriptParams.themename=='bushwick' || LMScriptParams.themename=='twentytwelve')
    6171    {
  • lowermedia-sticky-js-menus/trunk/lowermedia-sticky-js-menus.php

    r859626 r911316  
    44Plugin URI: http://lowermedia.net
    55Description: WordPress plugin that integrates sticky.js and makes your primary navigation menu sticky (will 'stick' to top of screen when rolled over).  Activate and make your primary menu sticky!  Sticky means having your navigation always visible, the nav fixes itself to the top of the page.  This plugin uses the <a href='http://stickyjs.com'>Sticky.js</a> script, props and credit for creating that go to <a href="http://anthonygarand.com">Anthony Garand</a>, Thanks Anthony!   
    6 Version: 2.0.2
    7 Stable: 2.0.2
     6Version: 2.0.3
     7Stable: 2.0.3
    88Author: Pete Lower
    99Author URI: http://petelower.com
     
    5656        && $theme_data['Template']!='attitude'
    5757        && $theme_data['Template']!='spun'
     58        && $theme_data['Template']!='Isabelle'
     59        && $theme_data['Template']!='spacious'
    5860        && $theme_data['Template']!='bushwick')
    5961    {
  • lowermedia-sticky-js-menus/trunk/readme.txt

    r859626 r911316  
    44Tags: js, sticky.js, multisite, navigation
    55Requires at least: 3.0.1
    6 Tested up to: 3.8.1
    7 Stable tag: 2.0.2
     6Tested up to: 3.9.1
     7Stable tag: 2.0.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010
    1111WordPress plugin that integrates sticky.js and makes your primary navigation menu sticky
    12 (will 'stick' to top of screen when rolled over). 
     12(will 'stick' to top of screen when rolled over).
    1313
    1414== Description ==
     
    2626<a href='http://lowermedia.net'>LowerMedia.Net</a>
    2727<a href='http://petelower.com'>Dev'd by Pete</a>
    28 
    2928
    3029
     
    8786*Increase number of themes tested with and supporting out of the box
    8887
    89 = 2.0.x=
     88= 2.0.1 =
    9089*Fix jumpiness issue
    9190*Add to list of supported browsers
    9291*Optimization
     92*Bushwik theme support
     93*TwentyTwelve as base theme
     94*Documentation
     95*Name Correction
     96*Attitude theme support
     97*Destro Theme support
     98*Sixteen theme support
     99*Expound theme support
     100*LowerMedia One Page theme support
     101*Neuro theme support
     102
     103= 2.0.2 =
     104*Add ability to target default menu
     105*Fix 'jumping around of menu in rare cases'
     106*Syntax correction
     107
     108= 2.0.3 =
     109*Add improvements for Isabella and Spacious theme
     110*Documentation
    93111
    94112== Upgrade Notice ==
Note: See TracChangeset for help on using the changeset viewer.