Menu
  • HOME
  • TAGS

Unslider + jquery mobile?

javascript,html5,css3,jquery-mobile,unslider

Ok, I kept trying this until I got it working. First, I had to add the call into the pageshow event: $(document).delegate("#firstPage", "pageshow", function () { $('.banner').unslider(); }); Then, I had to add some extra css for the li elements appear: .banner { position: relative; overflow: auto; margin: 0; padding:...

CSS, image slider height with overlaying dots placement issue on responsive design

html,css,unslider

You are using position:absolute for the dots, to have them properly positioned in its parent and not the body of the page, you will need to give the slider container, which currently has an id of 'slider', a relative positioning. #slider { position: relative; } This will contain the absolute...

CSS position issue using LI tag and image slider

jquery,css,unslider

In your CSS code: .banner li { list-style: none; /* Lose the dot */ margin:0px; padding:0px; } Should be: .banner ul { list-style: none; /* Lose the dot */ margin:0; padding:0; } The CSS style list-style is a styled made for ul elements. That is why your slider was off...

understanding the chained data() function in Unslider.js

javascript,jquery,unslider

When jQuery's data is used with two arguements, a key and a value, it stores the value under the given key in an internal object that jQuery keeps track of. When doing this, jQuery returns the collection, so it can be chained again var me = $('#element'); // a DOM...

Can't set unslider delay

javascript,jquery,html,unslider

Try removing your initial declaration and just use the 2nd. Remove: var unslider = $('.newbanner').unslider(); Change 2nd to: var unslider = $('.newbanner').unslider({ speed : 100, delay : 400000, dots : false, arrows : true, keys : true, }); I read on their github that issues, with speed and delay,...