Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c288004f9c
Fetching contributors…

Cannot retrieve contributors at this time

executable file 72 lines (61 sloc) 2.268 kb
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Parent-Child Fader</title>
<link rel="stylesheet" href="css/styles.css" type="text/css" media="screen">
<script type="text/javascript" src=""></script>
<script src="js/jquery.parentChildFader.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
// $("div.parent-child-fader").parentChildFader({
// autoplay: true,
// startText:"start",
// stopText:"stop",
// pauseOnHover: true,
// showStartStopControl: true,
// showNavigation: true,
// fadeInSpeed: 2500,
// fadeOutSpeed: 2500,
// interval: 4000
// });
<div id="page-wrap">
<div class="parent-child-fader">
<!-- Parent Images -->
<div class="parent-set">
<li><img src="images/parent-1.jpg" alt="" /></li><!-- Parent 1 (associated with Childset 1) -->
<li><img src="images/parent-2.jpg" alt="" /></li><!-- Parent 2 (associated with Childset 2) -->
<li><img src="images/parent-3.jpg" alt="" /></li><!-- Parent 3 (associated with Childset 3) -->
<!-- Childset Images -->
<div class="child-sets">
<!-- Childset 1 -->
<li><img src="images/child-1.jpg" alt="" /></li>
<li><img src="images/child-2.jpg" alt="" /></li>
<li><img src="images/child-3.jpg" alt="" /></li>
<!-- Childset 2 -->
<li><img src="images/child-4.jpg" alt="" /></li>
<li><img src="images/child-5.jpg" alt="" /></li>
<li><img src="images/child-6.jpg" alt="" /></li>
<!-- Childset 3 -->
<li><img src="images/child-7.jpg" alt="" /></li>
<li><img src="images/child-8.jpg" alt="" /></li>
<li><img src="images/child-9.jpg" alt="" /></li>
Jump to Line
Something went wrong with that request. Please try again.