|
|
|
I'm wondering if you can use the ASP code within Item Link of the javascript pop up menus?
Return to Recent Questions
Q:
I'm wondering if you can use the ASP code within Item Link of the javascript pop up menus, like in your FAQ below, only replacing the
Javascript with ASP?
Q: I want to use Javascript code instead of usual links for javascript pop up menus items. How can I do that?
A: You should add a function word "javascript:" in the URL field of an javascript pop up menus item, e.g.:
var menuItems = [
[text, "javascript:alert('Hello, world!')", icon1, icon2],
];
A:
You can use any server-side script, e.g., PHP, ASP, VB, etc in the javascript pop up menus.
You can find the example with PHP here:
http://dhtml-menu.com/menu/generate-menu-from-database-xml-php-asp-vb-support.html
http://dhtml-menu.com/menu/rq-loading-bar-MySQL-support.html
Return to Recent Questions
Related:
- Apr 06, 2009 - Can the link items NOT open a new window in the popup menu?
- Apr 15, 2009 - My mainmenu items are not links. So I need no link cursor for these dropdown javascript items.
- Jul 28, 2009 - Is it possible to have drag drop javascript items act like regular hyperlinks?
- Jul 30, 2009 - I need the cursor not to change when hovering over items which don't have links in menu css javascript
- Aug 26, 2009 - I want to change the java drop down menus item link text from status bar messages to another value?
- Oct 16, 2009 - We want the hyperlink works fine for main items in down menus in javascript
- Dec 12, 2009 - The menu vertical html opens a new window although I haven't set item's target...
- Dec 20, 2009 - Is it possible to add the javascript code to the menu with javascript instead of a standard links?
- Jan 24, 2010 - How I can put an asp code within menu page web items?
- Jan 25, 2010 - Can a menu button not item that expands the submenu items when selected work as link?
- Feb 07, 2010 - May I can use PHP code in menu items of my html form menu?
|