|
|
I'm wondering if you can use the ASP code within Item Link of the javascript scrolling menu?
Return to Recent Questions
Q:
I'm wondering if you can use the ASP code within Item Link of the javascript scrolling menu, like in your FAQ below, only replacing the
Javascript with ASP?
Q: I want to use Javascript code instead of usual links for javascript scrolling menu items. How can I do that?
A: You should add a function word "javascript:" in the URL field of an javascript scrolling menu 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 scrolling menu.
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 dynamic menu javascript?
- Apr 15, 2009 - My mainmenu items are not links. So I need no link cursor for these menu in css items.
- Jul 28, 2009 - Is it possible to have menus for web 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 css menu ul
- Aug 26, 2009 - I want to change the html navigation bar item link text from status bar messages to another value?
- Oct 16, 2009 - We want the hyperlink works fine for main items in dhtml menu frames
- Dec 12, 2009 - The menu dhtml 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 javascript horizontal menu instead of a standard links?
- Jan 24, 2010 - How I can put an asp code within collapsible tree menu items?
- Jan 25, 2010 - Can a vertical drop down menu 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 javascript menu drop?
|