AudioJungle

Need a javascript guru for this one.

3573 posts
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Exclusive Author
  • Beta Tester
  • Has been a member for 3-4 years
  • Spain
+3 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