transition - Reset properties jquery -
i've got following code:
jquery(document).ready(function() { document.ontouchmove = function(e) {e.preventdefault()}; // *************** navegacion ************************** $('.botmenu').click(function(){ var index = $(this).attr('id').split('_')[1]; $(this).transition({ scale: 1.2},200); $('#section_'+ index).css('display','block'); $('.section').transition({opacity : '0'},400); $('#section_'+ index).transition({opacity : '1'},400, 'snap'); $('#section_'+ index).transition({perspective: '100px',rotatex: '180deg'}); settimeout(function(){ $(this).transition({ scale: 1.0},200); },400); }); });
the problem transitions done in first click , want de effect every time click it. thought kind of event resets propieties in order done again, possible?
Comments
Post a Comment