3750 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in Spain
  • Has sold $125,000+ on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+9 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