Jump to content

java script question


Svet
 Share

Recommended Posts

I just cant understand why this does not work in processwire... It works great on local computer

$(function () {
 if ($(window).innerWidth() < 600) {
  $('#slider').anythingSlider({
expand	   : false,
showMultiple : false,
changeBy	 : 1
  });
 }
 else {
  $('#slider').anythingSlider({
expand	   : true,
showMultiple : 2,
changeBy	 : 1
  });
 }
});
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...