Saturday, July 22, 2017

HOW TO CREATE ACCORDION BY JQUERY

<!doctype html> <head> <link rel="stylesheet" href="jquery-ui.css"> <link rel="stylesheet" href="style.css"> <script src="jquery-1.12.4.js"></script> <script src="jquery-ui.js"></script> <script> $( function() { $( "#accordion" ).accordion(); } ); </script> </head> <body> <div id="accordion"> <h3>Section </h3> <div> <p> It is a long established fact that a reader will be distracted by the readable content
of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less
normal distribution of letters, </p> </div> <h3>Section 2</h3> <div> <p> There are many variations of passages of Lorem Ipsum available, but the majority have suffered
alteration in some form, by injected humour </p> </div> <h3>Section 3</h3> <div> <p> It is a long established fact that a reader will be distracted by the readable content of a
page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less
normal distribution of letters, </p> </div> </div> </body> </html>

No comments:

Post a Comment