Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Apr 2013
    Posts
    1
    Member #
    36165
    I'm looking to create a photo slideshow for a website. Can this be done completely in CSS?

  2.  

  3. #2
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    No I don't think so. There has to be at least some jQuery involved.
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  4. #3
    Junior Member
    Join Date
    May 2013
    Posts
    3
    Member #
    36172
    Hey Aphro

    There are TONS of Image gallery and image sliders out there that are made of primarily CSS3. Here's an example of one...

    This controls the animation of the image sliding in...
    Code:
    @-webkit-keyframes moveTarget {
        0% {
            left:-700px;     
        }
     
        100% {
            left:0px;
        }
    }
     
     
    ul#slider li:target {
        -webkit-animation-name: moveTarget;
        -webkit-animation-duration: .5s;
        -webkit-animation-iteration-count: 1;
        top:0px;
        left: 0px;
        z-index: 10;
    }
    and this animates the image out when presenting a new one...
    Code:
    @-webkit-keyframes moveIt {
        0% {
            left:0px;
        }
        50% {
            left:700px;
        }
        100% {
            left:-700px;
            z-index: 5;
        }
    }
     
    ul#slider li:not(:target) {
        -webkit-animation-name: moveIt;
        -webkit-animation-duration: 1.5s;
        -webkit-animation-iteration-count: 1;
        top:0px;
        left: 0px;
    }
    There are a lot of other examples online as well.

  5. #4
    Senior Member Andrew Yurlov's Avatar
    Join Date
    Apr 2011
    Location
    Portland, OR
    Posts
    1,306
    Member #
    27566
    Liked
    181 times
    Quote Originally Posted by SearchEngineTool, post: 250468, member: 36228
    Hey Aphro

    There are TONS of Image gallery and image sliders out there that are made of primarily CSS3. Here's an example of one...

    This controls the animation of the image sliding in...
    Code:
    @-webkit-keyframes moveTarget {
        0% {
            left:-700px;   
        }
     
        100% {
            left:0px;
        }
    }
     
     
    ul#slider li:target {
        -webkit-animation-name: moveTarget;
        -webkit-animation-duration: .5s;
        -webkit-animation-iteration-count: 1;
        top:0px;
        left: 0px;
        z-index: 10;
    }
    and this animates the image out when presenting a new one...
    Code:
    @-webkit-keyframes moveIt {
        0% {
            left:0px;
        }
        50% {
            left:700px;
        }
        100% {
            left:-700px;
            z-index: 5;
        }
    }
     
    ul#slider li:not(:target) {
        -webkit-animation-name: moveIt;
        -webkit-animation-duration: 1.5s;
        -webkit-animation-iteration-count: 1;
        top:0px;
        left: 0px;
    }
    There are a lot of other examples online as well.
    The only issues with this is that it's not currently supported in every browser.
    SearchEngineTool likes this.
    Artificial intelligence is nothing compared to natural stupidity -Someone

    Design is a funny word. Some people think design means how it looks.
    But of course, if you dig deeper, itís really how it works.
    -Steve Jobs



  6. #5
    Junior Member
    Join Date
    May 2013
    Posts
    3
    Member #
    36172
    Very true it isn't but it can be with some tinkering. There are a lot of other examples online that are supported that was just a reference.

  7. #6
    Junior Member
    Join Date
    May 2013
    Posts
    11
    Member #
    36185
    I have used EasyRotator before! only disadvantage with it is the backward loop effect is really obvious. But its handy because it does all the work for you and the coding. Just add your images and then it will implement it for you inside Dreamweaver. Check it out!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

easyrotator for dreamweaver z-index

Click on a term to search for related topics.
All times are GMT -6. The time now is 01:14 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com