Search and Top Navigation
Ticket #4435: test.html
File test.html, 0.7 KB (added by walidaly, April 05, 2009 06:44PM UTC)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>test</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.js" type="text/javascript"></script>
<style type="text/css">
li{
cursor: move;
padding: 2px;
border: 1px solid #000;
background: grey;
position: relative;
}
</style>
<script>
$(function(){
$('ul').sortable();
});
</script>
</head>
<body>
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
</ul>
</body>
</html>
Download in other formats:
Original Format
File test.html, 0.7 KB (added by walidaly, April 05, 2009 06:44PM UTC)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>test</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.js" type="text/javascript"></script>
<style type="text/css">
li{
cursor: move;
padding: 2px;
border: 1px solid #000;
background: grey;
position: relative;
}
</style>
<script>
$(function(){
$('ul').sortable();
});
</script>
</head>
<body>
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
</ul>
</body>
</html>