Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Resize anythingSlider with queries ? Re: Resize anythingSlider with queries ?

#103937
Mottie
Member

If you are using css3 media queries, you can just change the size of the wrapper around AnythingSlider, but make sure you set the “expand” option to “true”. Here is a demo of it in action. Resize the browser window, it is set to fill the wrapper which is set to 100% and 50% width respectively.

There is no need to make an “adjustWindow” function if you use css3 media queries.