Direction HTML.JAVASCRIPT,CSS,JQUERY In this tutorial,

Direction

HTML.JAVASCRIPT,CSS,JQUERY

In this tutorial, you'll use the animate () function to move a <div> tag right from off the left edge of th page into view. The div is absolutley positioned so that most of the box hangs off the left edge of the page outside the boundaries of the browser window. When a visitor mouses over the visible edge of the div, that div moves completely into view. To make this effect more fun, use the jQueryUI library to animate the background color of the div and to use a couple if dufferebt easing method. ( Very Important Add any image you like).

Code output

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>A Slide In Dashboard</title>

<link href="../_css/site.css" rel="stylesheet">

<style>

#dashboard {

width: 110px;

background-color: rgb(255,211,224);

padding: 20px 20px 0 20px;

position: absolute;

left: -92px;

z-index: 100;

}

#dashboard img {

margin-bottom: 20px;

border: 1px solid rgb(0,0,0);

}

</style>

<xxxx src="../_js/jquery.min.js"></xxxx>

<xxxx>

$(document).ready(function() {

}); // end ready

</xxxx>

</head>

<body>

<div class="wrapper">

<header>

JAVASCRIPT <span class="amp">&amp;</span> jQUERY: THE&nbsp;MISSING&nbsp;MANUAL

</header>

<div id="dashboard">

<img src="../_images/small/blue_h.jpg" width="70" height="70" alt="blue">

<img src="../_images/small/green_h.jpg" width="70" height="70" alt="green">

<img src="../_images/small/orange_h.jpg" width="70" height="70" alt="orange">

<img src="../_images/small/purple_h.jpg" width="70" height="70" alt="purple">

<img src="../_images/small/red_h.jpg" width="70" height="70" alt="red">

<img src="../_images/small/yellow_h.jpg" width="70" height="70" alt="yellow">

</div>

<div class="content">

<div class="main">

<h1>Slide in Dashboard</h1>

<p>Mouse over the pink stripe on the left edge of this page</p>

</div>

</div>

<footer>

<p>JavaScript &amp; jQuery: The Missing Manual, 3rd Edition, by <a href="http://sawmac.com/">David McFarland</a>. Published by <a href="http://oreilly.com/">O'Reilly Media, Inc</a>.</p>

</footer>

</div>

</body>

</html>

output has to be similar to that in a way

IAVASCRIPT& jQUERY: THE MISSING MANUAL S Transition Trigered By jluery Cic a photo to make it fade out Click the empty spot where the photo was to brin Cick anywhere else on the page to fade the photos back into view na The first step is creating the animation. You do that with the Ekeyta ekeyframes growProgressBarf 0% width: 0%;