isPopUp noMouseOver isn't working #247
Unanswered
JimTechWriter
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I try this, the mouseover still is in control. I'd prefer my users to click to see the popup.
$(function () {
// Initialize SmartMenus with isPopup set to true for popup behavior.
$("#doct_popup_menu").smartmenus({
isPopup: true,
noMouseOver: true,
showOnClick: true,
});
// Attach hover event listener to the trigger element.
$("#doct_popup_trigger").hover(
function () {
// Show the popup menu when hovering over the trigger element.
$("#doct_popup_menu").smartmenus("popupShow");
},
function () {
// Hide the popup menu when mouse leaves the trigger element.
$("#doct_popup_menu").smartmenus("popupHide");
}
);
});
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions