Create An Accordion Image Menu with jQuery & jQuery UI

File Size: 5.11 KB
Views Total: 6571
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Create An Accordion Image Menu with jQuery & jQuery UI

A jQuery & jQuery UI based accordion image menu that allows to smoothly expand & collapse images on mouse hover.

See also:

How to use it:

1. Include the accordionImageMenu.css in the head section of the webpage.

<link href="accordionImageMenu.css" rel="stylesheet">

2. Include the latest version of jQuery and jQuery UI on your web page.

<script src=""></script>
<script src=""></script>

3. Include the jQuery Accordion Image Menu plugin after jQuery library.

<script src="accordionImageMenu.min.js"></script>

4. Create the Html structure for the accordion image menu.

<div id="demo">
  <a href="#">
    <span>Image Menu 1</span>
    <img src="1.jpg" alt="" title="Image Menu 1">
  <a href="#">
    <span>Image Menu 2</span>
    <img src="2.jpg" alt="" title="Image Menu 2">
  <a href="#">
    <span>Image Menu 3</span>
    <img src="3.jpg" alt="" title="Image Menu 3">

5. Call the plugin on the parent element and setup the accordion image menu.

  'closeDim': 100,
  'openDim': 200,
  'effect': 'swing',
  'duration': 400,
  'openItem': null,
  'border': 2,
  'fadeInTitle': true

This awesome jQuery plugin is developed by google-code. For more Advanced Usages, please check the demo page or visit the official website.