i seem to be having problems passing in dynamic variables into jquery like this
any ideas how to make this work?Code:function scrnSlide(){ var screen_width = document.body.offsetWidth; var screen_height = document.body.offsetHeight; $("#swipeMask").css({width:screen_width, height:screen_height}); };
thanks



Reply With Quote
Bookmarks