(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    How I can add some code into menuItems in this cross browser menu?

Return to Recent Questions


Q: I want you to start modifying on your menu items in menu.js to get the caption from prestext. If you look at the bottom of commonfooter.html, you will see code like

<a target="_top" class="sidenav" href="<%=strprefex%>WillPlanning.asp?SessionID=<%
=sessionid%>&UserName=<%=Username%>" onclick="RedirectToParentPage=''; return CheckForChanges(1024,'')">
<%=GetPresText("WillCreatorBug",rsmenu)%></a>


A: You can use any html tags within item text, for example:

var menuItems = [

["<a target='_top' class='sidenav' href='<%=strprefex%>WillPlanning.asp?SessionID=<% =sessionid%>&UserName=<%=Username%>'
onclick='RedirectToParentPage=''; return CheckForChanges(1024,'')'>Home<%=GetPresText('WillCreatorBug',rsmenu)%></a>","", "", "", "", "", "", "", "", ],





Return to Recent Questions

15 Recommended Website Makers Arranged by Level Of Popularity Bootstrap Select Placeholder  |  30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  Bootstrap Toggle Tabs  |  Bootstrap Panel Body  |  Bootstrap Tabs Styles  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. easy website builder | bootstrap modal popup | free website generator | css menu | css menu maker