| 1 |
// $Id: simplemenu.js,v 1.10 2008/12/12 06:24:18 rz Exp $ |
// $Id: simplemenu.js,v 1.10.2.1 2009/04/01 01:10:13 rz Exp $ |
| 2 |
|
|
| 3 |
Drupal.behaviors.simplemenuAttach = function(context) { |
Drupal.behaviors.simplemenuAttach = function(context) { |
| 4 |
// If detect pop-ups setting is enabled and we are in a pop-up window |
// If detect pop-ups setting is enabled and we are in a pop-up window |
| 36 |
} ) |
} ) |
| 37 |
.find(">li:has(ul)") |
.find(">li:has(ul)") |
| 38 |
.mouseover(function(){ |
.mouseover(function(){ |
| 39 |
$("ul", this).bgIframe({opacity:false}); |
$("ul", this).bgIframe(); |
| 40 |
}) |
}) |
| 41 |
.find("a") |
.find("a") |
| 42 |
.focus(function(){ |
.focus(function(){ |
| 43 |
$("ul", $(".nav>li:has(ul)")).bgIframe({opacity:false}); |
$("ul", $(".nav>li:has(ul)")).bgIframe(); |
| 44 |
}) |
}) |
| 45 |
.end() |
.end() |
| 46 |
.end() |
.end() |