javascript - jquery if more than 4 images add tag to div -


so bad jquery , need code. doing carousel , there going 4 images , want static (disable carousel, remove html tag or smth.) if resolution >1000px enable carousel. if there 5 image enable it.

sorry bad english, :)

http://www.w3schools.com/js/js_if_else.asp

the attr() jquery should allow test size of >= , trying do.

http://api.jquery.com/attr/


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -