jquery Plugin-flexslider

Source: Internet
Author: User

Slides: http://www.woothemes.com/flexslider/


After introducing JS and style files, add style:

. flexslider {margin:0 auto 3em;    width:50%; min-width:800px;}.    flex-caption {width:96%;    padding:2%;    left:0;    bottom:0;    Background:rgba (0, 0, 0,. 5);    Color: #fff;    text-shadow:0 -1px 0 rgba (0, 0, 0,. 3);    font-size:14px; line-height:18px;} Li.css a {border-radius:0;}

Photo resources:

<div class= "Flexslider" > <ul class= "Slides" > <g:each in= "${photos}" var= "P" > <li >  <p class= "Flex-cap tion "> Shooting time: ${p.datecreated.format (' Yyyy-mm-dd HH:mm:ss ')}, coordinates:${p.longitude},${p.latitude}</p> </li&        Gt </g:each> </ul></div>

The last JS code:

<script type= "Text/javascript" > $ (Function () {$ ('. Flexslider '). Flexslider ({animation: "Slide    "        }); });</script>


jquery Plugin-flexslider

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.