Dropdown menu is missing after an upgrade

Issue

The customer is using a template called "Superfish" and they performed an upgrade on their site; however now they are unable to see a drop-down menu when they hover over the Superfish menu.

Environment

DNN 9.2.0

Audience

Customers

Root Cause

DNN 9.2 upgraded the jQuery Library from 1.9.1 to 3.2.1 and this is causing the issue.

Resolution

Pre-requisites

  • The user must have administrator rights.
  • Prior to any change, please back up your files.

1. Go to your super fish menu filessuperfish.js file and comment the following lines as below;

Line 64 //if (sf.op.dropShadows  && !($.browser.msie && $.browser.version < 7)) menuClasses.push(c.shadowClass);

Line 74 //if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity!=undefined)
Line 75      //this.toggleClass(sf.c.shadowClass+'-off');

2. To check the older versions of Internet Explorer which are no longer in use,  Go to your super fish menu files>menudef.xml file and comment the following line as below;

Line 13   <!-- <clientOption name="onShow" value="function() { if ($.browser.msie) this[0].style.removeAttribute('filter'); }" /> -->

Confirmation

The drop-down menu will be listed under Superfish menu.

Related Article

DNN Store for skins

Comments

0 comments

Please sign in to leave a comment.