How to Get HTML5 Slideshow to Shrink in Fluid Grid Layout?
i able insert images in fluid grid layour div tag , shrinks according platform on viewed.
but trying have same result slideshow. used createjs convert slideshow flash html5.
the problem won't shrink.
here url.
responsive layouts require responsive slideshows.
cycle2 responsive. copy & paste new, blank document.
<!doctype html> <html> <head> <meta charset="utf-8"> <title>html5 cycle2</title> <!--helpf older ie browsers--> <!--[if lt ie 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> <!--latest jquery core library--> <script src="http://code.jquery.com/jquery-latest.min.js"> </script> <!--cycle2 slideshow plugin--> <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20130409/jquery.cycle2.min.js"></script> <style> /**slideshow**/ .cycle-slideshow { max-width:90%; margin: 0 auto; text-align: center; } .cycle-slideshow img {max-width:100%} /* prev / next links */ .cycle-prev, .cycle-next { position: absolute; top: 0; width: 30%; opacity: 0; filter: alpha(opacity=0); z-index: 800; height: 100%; cursor: pointer; } .cycle-prev { left: 0; background: url(http://malsup.github.com/images/left.png) 50% 50% no-repeat; } .cycle-next { right: 0; background: url(http://malsup.github.com/images/right.png) 50% 50% no-repeat; } .cycle-prev:hover, .cycle-next:hover { opacity: .7; filter: alpha(opacity=70) } /**end slideshow styles**/ </style> </head> <body> <!--begin slideshow--> <div class="cycle-slideshow" data-cycle-fx=scrollhorz > <!-- prev/next links --> <div class="cycle-prev"></div> <div class="cycle-next"></div> <!--insert images below--> <img src="http://jquery.malsup.com/cycle2/images/p1.jpg"> <img src="http://jquery.malsup.com/cycle2/images/p2.jpg"> <img src="http://jquery.malsup.com/cycle2/images/p3.jpg"> <img src="http://jquery.malsup.com/cycle2/images/p4.jpg"> <p>mouse on image previous / next links</p> </div><!--end slideshow--> </body> </html>
nancy o.
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment