My SellerDeck Account | Newsletter | Free Trial

Community and Knowledge Base

Go Back   Sellerdeck Community > Setting Up SellerDeck > Layout Adjustments & Changes

Search powered by Google
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Useful Thread? Display Modes
  #1  
Old 13-Apr-2017, 01:55 PM
NormanRouxel's Avatar
NormanRouxel NormanRouxel is offline
Registered User
Join Date: Dec 2002
Full Name: Norman Rouxel
Posts: 10,728
Thanks: 9
Thanked 721 Times in 607 Posts
Repairing Mega Menu's hideous content flash if mouse inadvertantly passes over it.

On many themes the Mega Menu is positioned below useful content (links like the Cart, Checkout, Site Logo, etc). Trying to get the mouse onto these causes the menu to annoyingly open. It's even worse going the other way as the menu opens, obscuring the content you're heading for.

SellerDeck since V11 has jQuery loaded and we can use this to add a "hoverintent" capability to the Mega Menu so it only fires if the mouse lingers on one of the top-level entries.

Even better, this capability can be added without altering the Mega Menu layouts in any way.

Here's how:

Unzip the attached file into your Site folder.

Go to Design /Library / Layouts / JavaScript Header Functions / Standard Javascript Header functions. Scroll to the bottom and append the following code:
Code:
<script type="text/javascript" src="jquery.hoverintent.for.mega.menu.js"></script>
That's it. The beast is now tamed!
Attached Files
File Type: zip jquery.hoverintent.for.mega.menu.zip (2.7 KB, 46 views)
__________________
Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Reply With Quote
The Following 5 Users Say Thank You to NormanRouxel For This Useful Post:
Buzby (17-Apr-2017), Duncan Rounding (13-Apr-2017), Goz (18-Apr-2017), Matt Price (05-Aug-2017), MDN (04-Aug-2017)
  #2  
Old 17-Apr-2017, 02:33 PM
Buzby's Avatar
Buzby Buzby is offline
Registered User
Join Date: Feb 2004
Full Name: Jason
Posts: 838
Thanks: 86
Thanked 33 Times in 29 Posts
Many thanks Norman, this has bugged me for years.

I contacted support a few years back about this as I didn't feel it was right.

They did send me script but the menu needed to be clicked on, and then clicked again to close so was just as equally annoying.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 02:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.