|
|
As we have some links will have different values as the end (have problem running at the navigation bar).
Return to Recent Questions
Q:
Thanks for your information, and the program is very useful and user
friendly compare with others.
But I have a question, pls see the following example.
inside the menu.js (the file which we will run as navigation bar)
var menuItems = [
["Member's Home","membersarea.php", "menu.files/icon_xp2_7.gif",
"menu.files/icon_xp2_7o.gif", "", "_self", "", "", "", "", "", ],
["Submit Items","sellitem.php", "menu.files/selling0.gif",
"menu.files/selling1.gif", "", "", "", "", "", "", "", ],
["Wall / Friend List","membersarea.php", "menu.files/inbox0.gif",
"menu.files/inbox1.gif", "", "", "", "", "", "", "", ],
when setup running the php file directly is no problem
however, as we have some links will have different values as the end (have
problem running at the menu)
such as blog.php?ownid=4497
there is having a dynamic value at the end
at our php files we use
<a href="blog.php?blogger=<?=$auctionDetails['ownerid'];?>">
Any suggestion for this case? or you can give us some example?
A:
The following link should work fine in Deluxe Menu:
["Item 1","blog.php?blogger=<?=$auctionDetails['ownerid'];?>", "", "", "", "", "", "", "", "", "", ],
You can also try to move menuItems and dm_init(); function to your page inside <script>
tag:
<script>
var menuItems = [
["Member's Home","membersarea.php", "menu.files/icon_xp2_7.gif","menu.files/icon_xp2_7o.gif", "", "_self", "", "", "", "", "", ],
["Submit Items","sellitem.php", "menu.files/selling0.gif","menu.files/selling1.gif", "", "", "", "", "", "", "", ],
["Wall / Friend List","membersarea.php", "menu.files/inbox0.gif", "menu.files/inbox1.gif", "", "", "", "", "", "", "", ],
];
dm_init();
</script>
Return to Recent Questions
Related:
- Oct 05, 2006 - Do you have a working sample of the loading bar with PHP/ MySQL?
- Oct 19, 2006 - I want a javascript toolbar with all the buttons the same length.
- Nov 06, 2006 - Each item is a different width. Can I do this with your html navigation bar?...
- Dec 04, 2006 - When running navigation bar code with IE or Firefox, the background is transparent.
- Dec 15, 2006 - I can't see floating menubar on my test page only direct links...
- Dec 31, 2006 - Is there a way to use the javascript floating bar without generating the warning?
- April 09, 2007 - We have status bar errors that say: "Done, but with errors on page" in menus html
- May 06, 2007 - Sub-menus appear away for the menu/ dhtml navigation bar.
- July 04, 2007 - I have problems with my java menu web links if I paste a data file in a subfolder
- July 06, 2007 - I need a way to switch my tab navigation with buttons AFTER THE PAGE IS RENDERED.
- Sep 20, 2007 - The css cascading menu maps to the width size of the longest menu item on the list
|