Friday, January 10, 2014

Simplest jQuery Slideshow Code

Simplest jQuery Slideshow Code

<html ">
<head>
<title>Simplest jQuery Slideshow</title>

<style>
body {font-family:Arial, Helvetica, sans-serif; font-size:12px;}

.fadein { 
position:relative; height:332px; width:500px; margin:0 auto;
background: url("slideshow-bg.png") repeat-x scroll left top transparent;
padding: 10px;
 }
.fadein img { position:absolute; left:10px; top:10px; }
</style>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>
$(function(){
$('.fadein img:gt(0)').hide();
setInterval(function(){$('.fadein :first-child').fadeOut().next('img').fadeIn().end().appendTo('.fadein');}, 3000);
});
</script>

</head>
<body>
<div class="fadein">
<img src=".png">
<img src=".jpg">
<img src=".jpeg">
<img src=".jpg">
<im
</div>
</body>
</html>

Related Posts:

  • Php Code For Payment Process <?php session_start() ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>tameraplazainn</title> <link href="css/main.css" rel="stylesheet" type="text… Read More
  • Php And Html Code For Admin Home Page <?php require_once('auth.php'); ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script src="js/jquery-1.2.1.pack.js" t… Read More
  • Registration Form: Inserting Data in PHP Database  How To Insert New Data In Data Base In PHP Sample Code <html> <head> <title>Registration form</title> </head> <body> <?php $con=mysql_connect("localhost","root",""); $mysql_sel… Read More
  • Data base connectivity code Data base connectivity code In PHP <?php $host = "localhost"; //12.23.1212. $usrname = "root"; $pass = '';      mysql_connect($host, $usrname, $pass); mysql_select_db("loginsystem"); session_start()… Read More
  • PHP code To cancelle any Booking IN Hotel <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- .view{ overflow: auto; float:right; width: 680… Read More

0 comments:

Post a Comment