2
Answers

Menu is not displaying properly.

Pankaj Sharma

Pankaj Sharma

8y
403
1
Hi team,
 
 I have created menu in my project.But while painting I have faced some issue.If you run the attached sample file and
1)When click on Test-->Functions dropdown(sub menu) list is populated and when hover on Parent,Parent1 and Parent2 another submenu show but it will overlap on each other.
2)When click on TEST1-->Functions dropdown(sub menu) list is populated it will not display properly.
 
So please let me know how can I resolve the issue so that my menu work properly.

Attachment: HtmlPage1.rar

Answers (2)
0
Vikram
NA 319 262.4k 14y
Hi yashwant,
  
    Just Define variable in the Markup it consider as Global.

e.g
  
   <script type='text/javascript>
       var Navigateurl="~/block/abc.aspx";
         function pageLoad()
         {
                 //do something
         }

         function otherFunction()
        {
            var newurl = Navigateurl;
        }

</script>
This way you can declare the global variable in the markup.

Hope this will help you.

Regards,
 Vikram