3744 posts
  • Won a Competition
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
  • Spain
  • Referred between 200 and 499 users
+5 more
pezflash says

Hi. Sorry, missed your later replies. Now i see you have disabled the parallax.
As said, this should work (for a plain direct usage):

var windowWidth = screen.width;

Then, to make it dynamic (to allow browser rescaling) you should use window object resize (jquery):

$(window).resize(function() {
    windowWidth = screen.width;
});

This is a quick workaround, but again, it should work.

;)

by
by
by
by
by
by