Blog Content

    티스토리 뷰

    76.jQuery - Accordion() ( 11.UI )

    반응형


    05.Accordion.htm

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

        <title>아코디언 컨트롤</title>

        <style type="text/css">

        </style>   

     

        <script src="../jQuery/jquery-1.3.2-vsdoc2.js" type="text/javascript"></script>

        <script src="jquery-ui-1.7.2.custom/js/jquery-ui-1.7.2.custom.min.js"

            type="text/javascript"></script>

           

        <script type="text/javascript">

            $(document).ready(function() {

                $('#accordion').accordion({event:"mouseover"});

            });

        </script>

    </head>

     

    <body>

        <div id="accordion">

            <h3>제목1</h3>

            <div>내용1</div>

           

            <h3>제목2</h3>       

            <div>내용2</div>

           

            <h3>제목3</h3>       

            <div>내용3</div>

        </div>

    </body>

    </html>


    결과화면

    [그림76-1]



    반응형

    Comments