Changeset 927775
- Timestamp:
- 06/06/2014 02:28:48 PM (12 years ago)
- Location:
- sinking-dropdowns
- Files:
-
- 33 added
- 2 deleted
- 6 edited
-
tags/1.21 (added)
-
tags/1.25 (added)
-
tags/1.25/controller (added)
-
tags/1.25/controller/constants.php (added)
-
tags/1.25/controller/plugin.php (added)
-
tags/1.25/css (added)
-
tags/1.25/css/backend.css (added)
-
tags/1.25/css/fontello.css (added)
-
tags/1.25/css/sinking_dropdowns.css (added)
-
tags/1.25/css/spectrum.css (added)
-
tags/1.25/font (added)
-
tags/1.25/font/LICENSE.txt (added)
-
tags/1.25/font/fontello.eot (added)
-
tags/1.25/font/fontello.svg (added)
-
tags/1.25/font/fontello.ttf (added)
-
tags/1.25/font/fontello.woff (added)
-
tags/1.25/images (added)
-
tags/1.25/images/logoSocialInk.png (added)
-
tags/1.25/js (added)
-
tags/1.25/js/admin.js (added)
-
tags/1.25/js/sinking_dropdowns.ie7fix.js (added)
-
tags/1.25/js/sinking_dropdowns.js (added)
-
tags/1.25/js/sinking_dropdowns.min.js (added)
-
tags/1.25/js/spectrum.js (added)
-
tags/1.25/readme.txt (added)
-
tags/1.25/screenshot-1.JPG (added)
-
tags/1.25/screenshot-2.jpg (added)
-
tags/1.25/screenshot-3.jpg (added)
-
tags/1.25/sinking-dropdowns.php (added)
-
tags/1.25/views (added)
-
tags/1.25/views/backend_credits.php (added)
-
tags/1.25/views/config.php (added)
-
trunk/controller/constants.php (modified) (1 diff)
-
trunk/css/sinking_dropdowns.css (modified) (2 diffs)
-
trunk/js/admin.js (modified) (1 diff)
-
trunk/js/sinking_dropdowns.js (deleted)
-
trunk/js/sinking_dropdowns.min.js (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/sinking-dropdowns.php (added)
-
trunk/sinking_dropdowns.php (deleted)
-
trunk/views/config.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sinking-dropdowns/trunk/controller/constants.php
r869375 r927775 3 3 4 4 define('SINKDROPDOWNS_title', 'sinking dropdowns WordPress'); 5 define('SINKDROPDOWNS_version', '1.2 0');5 define('SINKDROPDOWNS_version', '1.25'); 6 6 7 7 define('SINKDROPDOWNS_DEFAULT_reveal', 'hover'); -
sinking-dropdowns/trunk/css/sinking_dropdowns.css
r869375 r927775 101 101 102 102 li.sink_dropdown_mid, .sink_dropdown li li { 103 103 margin-right: 0; 104 104 } 105 105 … … 142 142 } 143 143 .sink_dropdown_container li li .parent { 144 background-image: url("images/downarrow.png");145 144 background-repeat: no-repeat; 146 145 background-position: 95% 50%; -
sinking-dropdowns/trunk/js/admin.js
r720447 r927775 2 2 sinking dropdowns dropdown plugin 3 3 javascript 4 copyright 201 3yonatan reinberg (email : yoni [a t ] s o cia l-ink dot net) - http://social-ink.net4 copyright 2014 yonatan reinberg (email : yoni [a t ] s o cia l-ink dot net) - http://social-ink.net 5 5 contact us for forking or other permissions 6 6 */ -
sinking-dropdowns/trunk/js/sinking_dropdowns.min.js
r869375 r927775 9 9 var reveal_action_click = (sinkingdropdowns.reveal_action == 'click'); 10 10 jQuery(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")}});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");$(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")}}); 12 12 }); -
sinking-dropdowns/trunk/readme.txt
r869375 r927775 5 5 Requires at least: 3.1 6 6 Tested up to: 3.5.1 7 Stable Tag: 1.2 07 Stable Tag: 1.21 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
sinking-dropdowns/trunk/views/config.php
r720987 r927775 15 15 //colors 16 16 $sinkdropdowns_sink_dropdown_themeoverwrite = get_option('sinkdropdowns_sink_dropdown_themeoverwrite'); 17 $sinkdropdowns_sink_dropdown_colorsimportant = get_option('sinkdropdowns_sink_dropdown_colorsimportant'); 17 18 18 19 $sinkdropdowns_sink_dropdown_top = get_option('sinkdropdowns_sink_dropdown_top'); … … 81 82 <input type="hidden" name="sinkdropdowns_sink_dropdown_themeoverwrite" value="" /> 82 83 <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> 83 89 </p> 84 90
Note: See TracChangeset
for help on using the changeset viewer.