Changeset 16016 for extensions/gally/gally-default/js/gallyjs-tcp.js
- Timestamp:
- Jun 24, 2012, 9:26:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gally/gally-default/js/gallyjs-tcp.js
r12592 r16016 136 136 $("#additional_infoTOP").css("visibility", "visible"); 137 137 } 138 139 $("#icon_derivatives").click(function() 140 { 141 var elt = $("#derivativeSwitchBox"); 142 elt.css("left", 0); 143 144 $("#sortOrderBox").hide(); 145 elt.css("left", Math.min( $(this).position().left + $('#tabRandomButtons').outerWidth(true) - 5, $('#the_page').width() - elt.outerWidth(true) - 5)) 146 .css("top", $(this).position().top) 147 .toggle(); 148 $('#iSimpleTip').css('display', 'none'); // if tip activated, hide it.. 149 } 150 ); 151 $("#derivativeSwitchBox").on("mouseleave click", function() 152 { 153 $(this).hide(); 154 } 155 ); 156 157 $("#icon_sort").click(function() 158 { 159 var elt = $("#sortOrderBox"); 160 elt.css("left", 0); 161 162 $("#derivativeSwitchBox").hide(); 163 elt.css("left", Math.min( $(this).position().left + $('#tabRandomButtons').outerWidth(true) - 5, $('#the_page').width() - elt.outerWidth(true) - 5)) 164 .css("top", $(this).position().top) 165 .toggle(); 166 $('#iSimpleTip').css('display', 'none'); // if tip activated, hide it.. 167 } 168 ); 169 $("#sortOrderBox").on("mouseleave click", function() 170 { 171 $(this).hide(); 172 } 173 ); 174 175 liWidth=$('ul.thumbnails li').outerWidth(); 176 thumbListWidth=$('#thumbnails').width(); 177 $('div ul.thumbnails').css('padding-left', (thumbListWidth-liWidth*Math.floor(thumbListWidth/liWidth))/2-1); 138 178 }, 139 179
Note: See TracChangeset
for help on using the changeset viewer.