View source code - Horizontal selectable menu

To add this widget to your blog simply add source code to htlm/javascript gadget or theme

 1. Go to Layout (in blogger menu)

2. press ''add a gadget'' (usually on sidebar)

3.then press HTLM/JAVASCRIPT

4.copy and paste text bellow 

enjoy new widget 

----------------------------------------------------------------------------------------------------------

                     View source code :

----------------------------------------------------------------------------------------------------------

<html lang="en">

<head>

  <meta charset="utf-8"></meta>

  <meta content="width=device-width, initial-scale=1" name="viewport"></meta>

  <title>jQuery UI Accordion - Default functionality</title>

  <link href="//code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css" rel="stylesheet"></link>

  <link href="/resources/demos/style.css" rel="stylesheet"></link>

  <script src="https://code.jquery.com/jquery-3.6.0.js"></script>

  <script src="https://code.jquery.com/ui/1.13.2/jquery-ui.js"></script>

  <script>

  $( function() {

    $( "#accordion" ).accordion();

  } );

  </script>

</head>

<body>

 

<div id="accordion">

  <h3>Section 1</h3>

  <div>

    <p>

    horizonal selectable menu widget for your blog(open/close)

  </p></div>

  <h3>Section 2</h3>

  <div>

    <p>

    section 2

    </p>

  </div>

  <h3>Section 3</h3>

  <div>

    <p>

    section 3

    <ul>

      <li>List item one</li>

      <li>List item two</li>

      <li>List item three</li>

    </ul>

  </p></div>

  <h3>Section 4</h3>

  <div>

    <p>

    section 4

    </p>

    <p>

    between page (for longer dialog)

  </p></div>

</div>

 

 

</body>

</html>

Comments