How To Solve Problem Parent Page Not Clickable In Drop Down Menu? | Drop Down Menu Not Clickable In Mobile View

How To Solve Problem Parent Page Not Clickable In Drop Down Menu? | Drop Down Menu Not Clickable In Mobile View

Some we are facing following problem:

Not all parent menu items on mobile are clickable when there is a drop down child menu item.
When I click the parent menu item on mobile, it only opens the drop down and does not link to the parent page.

ड्रॉप डाउन चाइल्ड मेनू आइटम होने पर मोबाइल पर सभी पैरेंट मेनू आइटम क्लिक करने योग्य नहीं होते हैं।
जब मैं मोबाइल पर पैरेंट मेनू आइटम पर क्लिक करता हूं, तो यह केवल ड्रॉप डाउन खोलता है और मूल पृष्ठ से लिंक नहीं होता है।


How To Solve Problem Parent Page Not Clickable In Drop Down Menu? | Drop Down Menu Not Clickable In Mobile View


Use Following Code To Solve Drop Down Menu Not Clickable In Mobile View/ मोबाइल दृश्य में क्लिक करने योग्य नहीं ड्रॉप डाउन मेनू को हल करने के लिए निम्नलिखित कोड का उपयोग करें


$(document).ready(function($){
$('link_class').click(function() {
var location = $(this).attr('href');
window.location.href = location;
return false;
});
});
In this code we have need to add link class name in place of link_class ( $('link_class').click(function() {).

Previous
Next Post »

Please do not entering spam link in the comment box ConversionConversion EmoticonEmoticon