(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:
AMP Mobile Page Template Review Best 50 Inspirational and Beautiful HTML Themes Collection  |  46 Fantastic CSS3 Web Page Templates Overview  |  Top 54 Brand New jQuery Themes List  |  Best 46 Fresh CSS Themes Collection  |  Top 41 Wonderful CSS3 Templates Collection  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Generator | AI Website Builder | Free AI Website Generator | AI Website Generator | Website Generator AI