Wednesday, April 4, 2012

jQuery UI: accordion

jQuery UI: accordion


<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Mobile-Web-App: jQuery UI accordion</title>
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquery.com/ui/1.8.18/jquery-ui.js"></script>
<link rel="stylesheet" href="http://jqueryui.com/themes/base/jquery.ui.all.css">

<script type="text/javascript">
function onloaded(){
 $( "#accordion" ).accordion();
}

</script>
</head>
<body onload="onloaded();">
<h1>Mobile-Web-App: jQuery UI accordion</h1>
<div id="accordion">
 <h3><a href="#">Section 1: Mobile-web-app <img src="http://goo.gl/BlQEX" height="20"></img></a></h3>
 <div>
  <p>Mobile-web-app</P
  <p>My Blog <a href="http://mobile-web-app.blogspot.com/">http://mobile-web-app.blogspot.com/</a></p>
 </div>
 <h3><a href="#">Section 2: jQuery UI</a></h3>
 <div>
  <p>jQuery UI provides abstractions for low-level interaction and animation, advanced effects and high-level, themeable widgets, built on top of the jQuery JavaScript Library, that you can use to build highly interactive web applications.
  </p>
 </div>
 <h3><a href="#">Section 3</a></h3>
 <div>
 </div>
</div>
</body>
</html>

No comments:

Post a Comment