Plugin Directory

Changeset 927775


Ignore:
Timestamp:
06/06/2014 02:28:48 PM (12 years ago)
Author:
yonisink
Message:

V 1.25

Location:
sinking-dropdowns
Files:
33 added
2 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • sinking-dropdowns/trunk/controller/constants.php

    r869375 r927775  
    33
    44define('SINKDROPDOWNS_title', 'sinking dropdowns WordPress');
    5 define('SINKDROPDOWNS_version', '1.20');
     5define('SINKDROPDOWNS_version', '1.25');
    66
    77define('SINKDROPDOWNS_DEFAULT_reveal', 'hover');
  • sinking-dropdowns/trunk/css/sinking_dropdowns.css

    r869375 r927775  
    101101
    102102li.sink_dropdown_mid, .sink_dropdown li li {
    103    
     103    margin-right: 0;
    104104}
    105105
     
    142142}
    143143.sink_dropdown_container li li .parent {
    144     background-image: url("images/downarrow.png");
    145144    background-repeat: no-repeat;
    146145    background-position: 95% 50%;
  • sinking-dropdowns/trunk/js/admin.js

    r720447 r927775  
    22sinking dropdowns dropdown plugin
    33javascript
    4 copyright 2013  yonatan reinberg (email : yoni [a t ] s o cia l-ink dot net) - http://social-ink.net
     4copyright 2014  yonatan reinberg (email : yoni [a t ] s o cia l-ink dot net) - http://social-ink.net
    55contact us for forking or other permissions
    66*/
  • sinking-dropdowns/trunk/js/sinking_dropdowns.min.js

    r869375 r927775  
    99var reveal_action_click = (sinkingdropdowns.reveal_action == 'click');
    1010jQuery(document).ready(function($) {
    11 ww=document.body.clientWidth;$(".sink_dropdown_container").removeClass("no-js");$(".sink_dropdown > li").addClass("sink_dropdown_top");$(".sink_dropdown li li ").addClass("sink_dropdown_mid");$(".sink_dropdown li li li").addClass("sink_dropdown_bottom");$(".sink_dropdown_top").children("a").addClass("toplink");$(".sink_dropdown li a").each(function(){if($(this).next().length>0){$(this).addClass("parent");var a=$(this).text()+'<span class="dropdown_triangle"></span>';$(this).html(a)}});if(prevent_top_clicks){$(".sink_dropdown_container a.parent.toplink").parent().addClass("nonclicking")}adjustMenu();$(window).bind("resize orientationchange",function(){ww=document.body.clientWidth;adjustMenu()});function adjustMenu(){if((ww<responsive_break)||reveal_action_click){$(".responsive").show();$(".sink_dropdown li").unbind("mouseenter mouseleave");$(".sink_dropdown li a.parent").unbind("click").bind("click",function(b){b.preventDefault();var a=$(this).parent("li");if((ww>responsive_break)&&$(this).is(".toplink")){$(".sink_dropdown li").not(a).removeClass("hover")}a.toggleClass("hover")})}else{$(".responsive").hide();$(".sink_dropdown li a").unbind("click");$(".sink_dropdown li").unbind("mouseenter mouseleave").bind("mouseenter mouseleave",function(){$(this).toggleClass("hover")})}}$(".sink_dropdown_container li.nonclicking a.parent").click(function(a){a.preventDefault()});$("body").mouseup(function(b){var a=$(".sink_dropdown_container");if(a.has(b.target).length===0){$(".sink_dropdown_container li a.parent").parent().removeClass("hover")}});
     11ww=document.body.clientWidth;$(".sink_dropdown_container").removeClass("no-js");$(".sink_dropdown > li").addClass("sink_dropdown_top");$(".sink_dropdown li li ").addClass("sink_dropdown_mid");$(".sink_dropdown li li li").addClass("sink_dropdown_bottom");$(".sink_dropdown_top").children("a").addClass("toplink");$(".sink_dropdown li a").each(function(){if($(this).next().length>0){$(this).addClass("parent");var a=$(this).text()+'<span class="dropdown_triangle"></span>';$(this).html(a)}});if(prevent_top_clicks){$(".sink_dropdown_container a.parent.toplink").parent().addClass("nonclicking")}adjustMenu();$(window).bind("resize orientationchange",function(){ww=document.body.clientWidth;adjustMenu()});function adjustMenu(){if((ww<responsive_break)||reveal_action_click){$(".responsive").show();$(".sink_dropdown li").unbind("mouseenter mouseleave");$(".sink_dropdown li a.parent").unbind("click").bind("click",function(b){b.preventDefault();var a=$(this).parent("li");if((ww>responsive_break)&&$(this).is(".toplink")){$(".sink_dropdown li").not(a).removeClass("hover")}a.toggleClass("hover");$(this).parents(".sub-menu").find("li").not(a).removeClass("hover")})}else{$(".responsive").hide();$(".sink_dropdown li a").unbind("click");$(".sink_dropdown li").unbind("mouseenter mouseleave").bind("mouseenter mouseleave",function(){$(this).toggleClass("hover")})}}$(".sink_dropdown_container li.nonclicking a.parent").click(function(a){a.preventDefault()});$("body").mouseup(function(b){var a=$(".sink_dropdown_container");if(a.has(b.target).length===0){$(".sink_dropdown_container li a.parent").parent().removeClass("hover")}});
    1212});
  • sinking-dropdowns/trunk/readme.txt

    r869375 r927775  
    55Requires at least: 3.1
    66Tested up to: 3.5.1
    7 Stable Tag: 1.20
     7Stable Tag: 1.21
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • sinking-dropdowns/trunk/views/config.php

    r720987 r927775  
    1515//colors
    1616$sinkdropdowns_sink_dropdown_themeoverwrite = get_option('sinkdropdowns_sink_dropdown_themeoverwrite');
     17$sinkdropdowns_sink_dropdown_colorsimportant = get_option('sinkdropdowns_sink_dropdown_colorsimportant');
    1718
    1819$sinkdropdowns_sink_dropdown_top = get_option('sinkdropdowns_sink_dropdown_top');
     
    8182                                                <input type="hidden" name="sinkdropdowns_sink_dropdown_themeoverwrite" value="" /> 
    8283                                                <input type="checkbox" name="sinkdropdowns_sink_dropdown_themeoverwrite" id="sinkdropdowns_sink_dropdown_themeoverwrite" value="true" <?php if ($sinkdropdowns_sink_dropdown_themeoverwrite) { echo 'checked=checked'; } ?> /><label for="sinkdropdowns_sink_dropdown_themeoverwrite" class="checkbox_label"><strong>Overwrite CSS colors with custom colors:</strong></label>
     84                                            </p>
     85                                            <p>
     86                                               
     87                                                <input type="hidden" name="sinkdropdowns_sink_dropdown_colorsimportant" value="" />
     88                                                <input type="checkbox" name="sinkdropdowns_sink_dropdown_colorsimportant" id="sinkdropdowns_sink_dropdown_colorsimportant" value="true" <?php if ($sinkdropdowns_sink_dropdown_colorsimportant) { echo 'checked=checked'; } ?> /><label for="sinkdropdowns_sink_dropdown_colorsimportant" class="checkbox_label"><strong>Mark colors "important" to overwrite native theme.</strong></label>
    8389                                            </p>
    8490                                           
Note: See TracChangeset for help on using the changeset viewer.