|
|
I'm wondering if you can use the ASP code within Item Link of the web navigation bar?
Return to Recent Questions
Q:
I'm wondering if you can use the ASP code within Item Link of the web navigation bar, like in your FAQ below, only replacing the
Javascript with ASP?
Q: I want to use Javascript code instead of usual links for web navigation bar items. How can I do that?
A: You should add a function word "javascript:" in the URL field of an web navigation bar 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 web navigation bar.
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:
- March 14, 2009 - How do I enable javascript on the new browser, so I can see my web navigation bar?
- March 31, 2009 - Is there any way can we display submenu items on mouse over in web navigation bar?
- Apr 06, 2009 - Can the link items NOT open a new window in the menu popup?
- Apr 15, 2009 - My mainmenu items are not links. So I need no link cursor for these net navigation menu items.
- Apr 17, 2009 - I have 25 images on one page. I want to use it's own popup web navigation bar for each image.
- May 22, 2009 - I would like to have links of web navigation bar to our website when javascript turned off.
- Jun 08, 2009 - Is it possible to call JScript functions from web navigation bar?
- Jun 26, 2009 - I'm looking for a web navigation bar system that can be placed in a table cell.
- Jul 13, 2009 - Flash in Firefox disappears behind the submenus of web navigation bar.
- Jul 28, 2009 - Is it possible to have javascript vertical menu 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 web navigation bar
|