1234567891011121314151617 |
- // $Id$
- $(document).ready(function() {
- // get the Drupal basepath
- var basePath = Drupal.settings.simplemenu.basePath;
-
- // insert extra <br /> so menu doesn't overlap theme
- $('<ul id="simplemenu" class="clear-block"></ul>').prependTo('body');
-
- // Drupal menu callback
- $('#simplemenu').load(basePath + 'simplemenu/menu', function() {
- $('li', this).hover(function() {
- $('ul', this).slideDown(200);
- }, function() {});
- $('a', this).title('');
- });
- });
|