Problem with menu selection while viewing in android mobiles

  • Posted in : Responsy
  • bvamsikreddy
    Participant

    HI,

    While browsing in mobile devices(android), we observed that the default selection is going to word menu in the selection list of menu, though we are in the actual selected page. Can you please look in to this issue and give us some solution. We have tried to understand it in the script, but could not see any fix for that.

    Thank you in advance.

    Vamsi

    bvamsikreddy
    Participant

    I have been using Responsy HTML 5 template…for your information

    ahmetsali
    Keymaster

    Hi, i think it is not an issue. The word “MENU” indicates that is a menu actually. One each page, page title indicates user on what page they are. But it is possible select the current page menu item with jquery, but you need to add specific jquery code to each page if you are using this as a static html site. For example to select two indexed menu item in mobile menu, you need to add the code below to index.html;

        <script>
    		$(function() {  
    		 	setTimeout(function() { $('select.menu').find('option').eq(2).attr('selected', 'selected'); }, 100);	
    		});
        </script>
    
    bvamsikreddy
    Participant

    Many thanks for the reply. We understood the essence of keeping menu as selected. Will use this if we really want the selected one on the dropdown control on mobile.

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Responsy’ is closed to new topics and replies.