Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(SayfayiSigdir);
- $(window).resize(SayfayiSigdir);
- function SayfayiSigdir() {
- var g = $(window).width();
- if (g < 1300)
- { $('#ortala').animate({ width: "994px" }, { queue: false, duration: 0 }); }
- else if (g > 1300 && g < 1546)
- { $('#ortala').animate({ width: "1240px" }, { queue: false, duration: 0 }); }
- //else if(g > 1546){$('.ortala').animate({width: "1486px"}, { queue:false, duration:100 } );}
- else if (g > 1546) { $('#ortala').animate({ width: "1240px" }, { queue: false, duration: 0 }); }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement