JS

From Bradwiki
Jump to navigation Jump to search



<!doctype html> <head> <title>Bradley Monk HTML Template</title> <meta name="author" content="Bradley Monk"> <meta name="description" content="A basic HTML Template"> <link rel="shortcut icon" href="media/favicon.ico" />


<script language="javascript" type="text/javascript" src="js/jquery-1.10.1.min.js"></script> <script language="javascript" type="text/javascript" src="js/jquery.cyclething.js"></script>


</head>
<body>

<script type="text/javascript">
$(document).ready(function(){
$('#container').cycle(['One', 'Two', 'Three']);
$('#otherContainer').cycle(['Array', 'of', 'strings'], {
    delay: 1000,
    transitionDuration: 100,
    transitionEasing: 'linear'
});
});
</script>



<div id="container">One</div>

<div id="otherContainer">Array</div>

</body>
</html>