I have a desktop application using swiper for a slide page, but when I put the select tag on the slide page, the select tag cannot appear in the Drop-Drown box, did anyone have a problem? Thanks in advance! here is a demo:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" type="text/css" href="styles/swiper/idangerous.swiper.css"/> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"> </script> <script type="text/javascript" src="js/swiper/idangerous.swiper-1.9.js"></script> <title>swiper demo</title> <script type="text/javascript"> $(function(){ $('.swiper-container, .swiper-slide').css({ height: ($(window).height()) + 'px', width: '100%' }); var mySwiper = $('.swiper-container').swiper({ </script> </head> <body> <div class="swiper-container responsive"> <div class="swiper-wrapper" style="background:red;"> <div class="swiper-slide "> page1 <select> <option>test1</option> <option>test2</option> <option>test3</option> </select> </div> <div class="swiper-slide"> page2 </div> </div> </div> </body> </html>
source share