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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -