--- js/menu_minipanels.js
+++ js/menu_minipanels.js
@@ -26,8 +26,8 @@
   toggleHoverSettings();
 
   // Add the hovers to each appropriate menu item.
-  $('ul li a.menu-minipanel').each(function() {
-	var matches = $(this).attr('class').match('menu-minipanel-([0-9]+)');
+  $('ul li a.menu-minipanel').parent().each(function() {
+	var matches = $('a', this).attr('class').match('menu-minipanel-([0-9]+)');
     var html = $('div.menu-minipanel-' + matches[1]).clone().show();
     var settings = Drupal.settings.menuMinipanels.panels['panel_' + matches[1]];
     settings['hide']['fixed'] = true;
@@ -45,6 +45,12 @@
       settings['position']['target'] = false; 
     }
     settings['content'] = html;
+    
+    if(settings['position']['adjust']) {
+	    settings['position']['adjust']['x'] = parseInt(settings['position']['adjust']['x']);
+	    settings['position']['adjust']['y'] = parseInt(settings['position']['adjust']['y']);
+    }
+    
     $(this).qtip(settings);
   });
 };

--- menu_minipanels.module
+++ menu_minipanels.module
@@ -49,10 +49,14 @@
   // Add js + css
   $path = drupal_get_path('module', 'menu_minipanels');
   drupal_add_js($path . '/js/menu_minipanels.js');
-  if (file_exists($path . '/js/lib/jquery.qtip-1.0.0-rc3.min.js')) {
+  
+  if(function_exists('libraries_get_path')) {
+    $library_path = libraries_get_path('qtip');
+    $library_file = $library_path . '/jquery.qtip-1.0.0-rc3.min.js';
+    drupal_add_js($library_file);
+  } else if (file_exists($path . '/js/lib/jquery.qtip-1.0.0-rc3.min.js')) {
     drupal_add_js($path . '/js/lib/jquery.qtip-1.0.0-rc3.min.js');
-  }
-  else {
+  } else {
     // Don't do anything more, there's no point as the module will not function without the qtip library
     return;
   }
@@ -492,6 +496,21 @@
     '#default_value' => isset($menu_minipanels_hover['position']['corner']['tooltip']) ? $menu_minipanels_hover['position']['corner']['tooltip'] : $defaults['position']['corner']['tooltip'],
     '#options' => $options_tips,
     '#required' => FALSE,
+  );
+  
+  $base_form['menu_minipanels_hover']['position']['adjust']['x'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Position / Adjust / x'),
+    '#description' => t('Choose the x adjustment.'),
+    '#default_value' => isset($menu_minipanels_hover['position']['adjust']['x']) ? $menu_minipanels_hover['position']['adjust']['x'] : $defaults['position']['adjust']['x'],
+    '#required' => FALSE,
+  );
+  $base_form['menu_minipanels_hover']['position']['adjust']['y'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Position / Adjust / y'),
+    '#description' => t('Choose the y adjustment.'),
+    '#default_value' => isset($menu_minipanels_hover['position']['adjust']['y']) ? $menu_minipanels_hover['position']['adjust']['y'] : $defaults['position']['adjust']['y'],
+    '#required' => FALSE,
   );
 
   /*

--- menu_minipanels.install
+++ menu_minipanels.install
@@ -13,7 +13,15 @@
   $requirements = array();
   if ($phase == 'runtime') {
     $path = drupal_get_path('module', 'menu_minipanels');
-    if (!file_exists($path . '/js/lib/jquery.qtip-1.0.0-rc3.min.js')) {
+
+    if(function_exists('libraries_get_path')) {
+      $library_path = libraries_get_path('qtip');
+      $library_file = $library_path . '/jquery.qtip-1.0.0-rc3.min.js';
+    } else {
+      $library_file = $path . '/js/lib/jquery.qtip-1.0.0-rc3.min.js';
+    }
+
+    if (!file_exists($library_file)) {
       $requirements['menu_minipanels'] = array(
         'title' => $t('Menu minipanels'),
         'description' => $t('Menu Minipanels module is enabled, but the qTip library has not been downloaded. This module will not work without qTip! Please see README.txt for instructions on how to download qTip.'),
