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
553 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,713 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
780 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,603 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
651 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
402 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
643 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
651 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
887 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,801 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
413 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