Script for JQuery popup slide in out effect

Asked By 20 points N/A Posted on -
qa-featured

Hello Techyv Guys,

I need a sample script for JQuery popup slide in out effect, Please do the needful for helping me, so that I can see the slide in out effect in browser.

Regards,

Coshaun James

SHARE
Answered By 15 points N/A #198751

Script for JQuery popup slide in out effect

qa-featured

Hi Coshaun,
The sample script for JQuery popup slide IN OUT effect is as below:-
<html lang="en">
<head>
<meta charset="utf-8">
<title>slide demo</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<style>
#toggle {
width: 100px;
height: 100px;
background: #ccc;
}
</style>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
</head>
<body>
<p>Click anywhere to toggle the box.</p>
<div id="toggle"></div>
<script>
$( document ).click(function() {
$( "#toggle" ).toggle( "slide" );
});
</script>
</body>
</html>

Related Questions