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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -