You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I love this project, but as I am very new to jquery, I cant make some specific action work.
I want to achieve double animation effect in menu. When I hover the mouse first time, I want the popover div to fade in, but if I hover mouse on another menu, I don't want fadein animation anymore.
Here is my code:
function activateSubmenu(row) {
var $row = $(row),
submenuId = $row.data("submenuId"),
$submenu = $("#" + submenuId),
height = $menu.outerHeight(),
width = $menu.outerWidth();
if (// popover div is activated)
{
$submenu.css({
display: "block",
top: -1,
left: width - 0, // main should overlay submenu
height: height - 4, // padding for main dropdown's arrow
}); }
else // if popover is not activated.
{
$submenu.css({
top: -1,
left: width - 0, // main should overlay submenu
height: height - 4, // padding for main dropdown's arrow
}) .fadeIn(150);
}
$row.find("a").addClass("maintainHover");
}
The text was updated successfully, but these errors were encountered:
Hi, I love this project, but as I am very new to jquery, I cant make some specific action work.
I want to achieve double animation effect in menu. When I hover the mouse first time, I want the popover div to fade in, but if I hover mouse on another menu, I don't want fadein animation anymore.
Here is my code:
The text was updated successfully, but these errors were encountered: