mean menu custom width call in jquery

0 votes

js every thing works fine but i have a problem ... My website have two navigation on different pages can any one tell me how to call the meanscreenWidth by custom.js file i have used below code but no effect..

<script type="text/javascript">
    jQuery(document).ready(function () {

            if('meanScreenWidth: "480"'){
            jQuery('header .topFront nav').meanmenu();
            }

            else if{
                         ('meanScreenWidth: "767"'){
            jQuery('header nav').meanmenu();
                         }
        });
</script>  

js every thing works fine but i have a problem ... My website have two navigation on different pages can any one tell me how to call the meanscreenWidth by custom.js file i have used below code but no effect..

<script type="text/javascript">
    jQuery(document).ready(function () {

            if('meanScreenWidth: "480"'){
            jQuery('header .topFront nav').meanmenu();
            }

            else if{
                         ('meanScreenWidth: "767"'){
            jQuery('header nav').meanmenu();
                         }
        });
</script>  

Aug 24, 2022 in Web Development by gaurav
• 23,260 points
592 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Web Development

0 votes
1 answer

Loading gif in jQuery ajax call is not showing

Create a div with your image. Make it ...READ MORE

answered Jun 27, 2022 in Web Development by rajatha
• 7,680 points
1,730 views
0 votes
1 answer

What does "this" mean in jQuery?

this is a reference to the member that ...READ MORE

answered Aug 1, 2022 in Web Development by rajatha
• 7,680 points
806 views
0 votes
1 answer

How can I keep my sub-menu open in jQuery hover menu?

keeping sub menu open on hover and ...READ MORE

answered Aug 2, 2022 in Web Development by rajatha
• 7,680 points
3,628 views
0 votes
1 answer

In how many ways we can develop custom service make available in AngularJS?

Services:  A special unit of code which ...READ MORE

answered Jan 29, 2020 in Web Development by Niroj
• 82,840 points
684 views
0 votes
1 answer

Jquery and Menu and logo

Seems your anchor tag is not visible ...READ MORE

answered Jun 22, 2022 in Web Development by rajatha
• 7,680 points
419 views
0 votes
1 answer

Get checkbox value in jQuery

To get the value of the Value ...READ MORE

answered Jun 23, 2022 in Web Development by rajatha
• 7,680 points
659 views
0 votes
1 answer

Can anyone demonstrate how navigation commands can be used on a webpage in Selenium?

Hey Amanprit, Navigation Commands are used to ...READ MORE

answered Jul 5, 2019 in Selenium by Anvi
• 14,150 points
662 views
0 votes
1 answer

Tableau dashboard for mobile/tablets

To make a dashboard mobile with Tableau, ...READ MORE

answered Apr 5, 2022 in Tableau by Neha
• 9,020 points
941 views
0 votes
1 answer

Which design pattern to use for pre-process process and post-process task

You have pre-defined and precise steps to ...READ MORE

answered Jun 9, 2022 in C# by rajiv
• 1,620 points
1,844 views
0 votes
0 answers

Responsive css background images

I have a website (g-floors. EU) and ...READ MORE

Jul 8, 2022 in CSS by Edureka
• 13,620 points
424 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP