Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Jun 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to disable CTRL+F from the menu bar from borwser

    www.cabelas.com

    in the above link when we are open in IE and using CTRL+F from browser menu bar link are hiding how to avoid CTRL+F for only menu bar.Please help me. thanks in advance.
    Code:
    <div id="MegaMenuHeader"   >
            <c:choose>
    			<c:when test="${sessionScope.filteredPaidSearchSession}">
    				<cms:cachedSectionContentPreview name="Header, Google - No JavaScript" /> 
    			</c:when>
    			<c:otherwise>
    				<cms:cachedSectionContentPreview name="Header, Default - No JavaScript" />
    			</c:otherwise>
    		</c:choose>
    	</div>
      	<script type="text/javascript">
    	    try{
                <c:choose>
                	<c:when test="${sessionScope.filteredPaidSearchSession}">
    		$('#MegaMenuHeader').load('/includes/gmegamenu.jsp');
    		</c:when>
    		<c:otherwise>
    			$('#MegaMenuHeader').load('/includes/megamenu.jsp');
                    </c:otherwise>
                </c:choose>
    	    }catch(ex){}
    	    </script>
    megamenu.jsp :-
    
    <body>
    <ul class="navigation js-defaultHeaderNavigation">
              <li class="js-navLink btn-hunting_off spriteitem"><cms:cachedSectionContentPreview name="Header, Default - Menu 1" /></li>
              <li class="divider"><!--  --></li>
              <li class="js-navLink btn-shooting_off spriteitem"><cms:cachedSectionContentPreview name="Header, Default - Menu 2" /></li>
              <li class="divider"><!--  --></li>
              <li class="js-navLink btn-fishing_off spriteitem"><cms:cachedSectionContentPreview name="Header, Default - Menu 3" /></li>
              <li class="divider"><!--  --></li>
              <li class="js-navLink btn-boating_off spriteitem"><cms:cachedSectionContentPreview name="Header, Default - Menu 4" /></li>
              <li class="divider"><!--  --></li>
              <li class="js-navLink btn-camping_off spriteitem"><cms:cachedSectionContentPreview name="Header, Default - Menu 5" /></li>
              <li class="divider"><!--  --></li>
              <li class="js-navLink btn-autoAndAtv_off spriteitem"><cms:cachedSectionContentPreview name="Header, Default - Menu 6" /></li>
              <li class="divider"><!--  --></li>
              <li class="js-navLink btn-clothing_off spriteitem"><cms:cachedSectionContentPreview name="Header, Default - Menu 7" /></li>
              <li class="divider"><!--  --></li>
              <li class="js-navLink btn-footwear_off spriteitem"><cms:cachedSectionContentPreview name="Header, Default - Menu 8" /></li>
              <li class="divider"><!--  --></li>
              <li class="js-navLink btn-homeAndCabin_off spriteitem"><cms:cachedSectionContentPreview name="Header, Default - Menu 9" /></li>
              <li class="divider"><!--  --></li>
              <li class="js-navLink btn-hobbies_off spriteitem"><cms:cachedSectionContentPreview name="Header, Default - Menu 10" /></li>
              <li class="bargainCave btn-barginCave_off spriteitem"><cms:cachedSectionContentPreview name="Header, Default - Menu Bargain Cave" /></li>
              <li class="clr"><!--  --></li>
    	</ul>
    </body>
    Last edited by VIPStephan; 06-21-2013 at 01:46 AM. Reason: added code BB tags


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •