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


 

    I have to pass dynamic value from the link when the user click the floating javascript menu.

Return to Recent Questions


Q: Thank you. I got the menu working on my web page.

Now, I have to pass dynamic value from the link when the user click the floating javascript menu.

I was using a table type of menu and passing value like this

<td onclick="document.iframename.location.href='abc.jsp?value1=<%value1%>&value2=<%value2%>Click here</td>
What should I do to the deluxe-menu to get the same action?
I need to pass value to next page. The value is dynamic, so I have to use <%value1%> notation for JSP file.

A: Actually you can use your own Javascript code instead standard links. For example:

var menuItems = [
["text", "javascript:your_code_here"]
];

or

var menuitems = [
["<div onClick='your_code_here'>item text</div>", ""]
];






Return to Recent Questions

Related:
Website Builder For Kids & Musicians Website Builder for nonprofits and therapists  |  Best Website Builder for podcasts and affiliate marketing  |  Website Builder for Online Stores, Restaurants, Musicians, Real Estate  |  Photographer & Artist Website Builder  |  Website Builder for portfolio and SEO  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | Free AI Website Builder | AI Website Builder | AI Website Maker | Free AI Website Generator