Search Google

Monday 30 June 2014

how to make a slideshow in html with css javascript and jquery

 BEST JQUERY PLUGIN FOR SLIDESHOW
 http://www.jqueryscript.net/popular/

BEST PLAY WITH SLIDESHOW "TEXT" http://www.jqueryscript.net/slideshow/Funny-jQuery-Card-Deck-Slideshow-Plugin.html

 http://www.jqueryscript.net/menu/Cool-Animated-Side-Menus-with-Sliding-Pushing-Effects.html



 how to make background image to fill browser in html
 1.
------------------------------------
#img.source-image {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
--------------------------------
2.
img.bg {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1024px;
 
  /* Set up proportionate scaling */
  width: 100%;
  height: auto;
 
  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
  img.bg {
    left: 50%;
    margin-left: -512px;   /* 50% */
  }
}


 http://css-tricks.com/search-results/?q=slideshow

http://css-tricks.com/infinite-all-css-scrolling-slideshow/

BEST EXAMPLE http://css-tricks.com/examples/InfiniteCSSSlideshow/


slideshow background image running

Lightweight jQuery Background Slideshow Plugin - BgSwitcher

Stylish Featured Content Slideshow Plugin - desSlideshow


Simple Auto-Playing Slideshow | CSS-Tricks

<html>
<style>
html,body
{
margin:0px;
padding:0;
background-color: #E4D4C5;
}

#tech-slideshow-1 > .text {

    position: fixed;

    width: 100%;

    margin-top: -50px;

    top: 25%;

    text-align: center;

    line-height: 22px;
    color :white;
}

#tech-slideshow {
    height:  900px;//background size
    position: relative;
    overflow: hidden;
}
#tech-slideshow > div {
    height: 200px;
    width: 2526px;
    background: url(http://cl.ly/9BJG/collage.jpg);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
   
    -moz-transition:  opacity 0.5s ease-out;
       -o-transition: opacity 0.5s ease-out;
  -webkit-transition: opacity 0.5s ease-out;
      -ms-transition: opacity 0.5s ease-out;

    -webkit-animation: moveSlideshow 60s linear infinite;
    -moz-animation:    moveSlideshow 60s linear infinite;
   
}

@-webkit-keyframes moveSlideshow {
    0% { left: 0; }
    100% { left: -1684px; }
}
@-moz-keyframes moveSlideshow {
    0% { left: 0; }
    100% { left: -1684px; }
}
</style>
<body>
   
<div id="tech-slideshow">
    <div id="tech-slideshow-1">
<div class="text"><h3>THIS IS IT</h3>

<br/>

<h3>HAPPY BIRTDAY</h3>

<br/>

          <h2>

            <a href="#">OM</a>

          </h2>  </div>
</div>

</div>     
</body></html>

No comments:

Post a Comment