Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="relative-con">
- <div class="relative-con-right">Slide One</div>
- <div class="relative-con-right">Slide Two</div>
- <div class="relative-con-right">Slide Three</div>
- </div>
- $('.relative-con-righ').click(function(event) {
- $(this).animate({'float': 'left'}, "slow");
- });
- .relative-con { position: relative; width: 600px; height: 30px; background: white;}
- .relative-con-right { position: relative; width: 10px; height: 30px; background: red; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement