Changeset 29459 for extensions/stripped_responsive/js
- Timestamp:
- Sep 10, 2014, 4:53:40 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped_responsive/js/scripts-tcp.js
r29453 r29459 2 2 3 3 // scripts Category Page ------------------------------------------------------------------------------------------------------------ 4 5 // resize thumbnail block6 jQuery(window).resize(function() { tnb_resize(); });7 tnb_resize();8 4 9 5 // display alt from PWG stuffs actions. … … 50 46 51 47 52 // Thumbnails Block Resize function53 54 function tnb_resize() {55 if (jQuery("#thumbnails_block2").length != 0) {56 var tnb_width = 40+180*parseInt((jQuery("#thumbnails_block1").width()-40)/180);57 jQuery("#thumbnails_block2").css("max-width",tnb_width+"px");58 };59 }60 61 48 /** 62 49 * Cookie plugin
Note: See TracChangeset
for help on using the changeset viewer.