|
|
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:
- Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
- 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.
- Oct 27, 2006 - I'm trying to get a cascading menu that will float as I scroll down the page.
- Nov 06, 2006 - Each item is a different width. Can I do this with your html navigation bar?...
- Nov 22, 2006 - I cannot get the background color of the html popup menu to change
- Dec 04, 2006 - When running navigation bar code with IE or Firefox, the background is transparent.
- Dec 09, 2006 - Is it possible to have css drop down menu items act like regular hyperlinks?
- Dec 15, 2006 - I can't see floating menubar on my test page only direct links...
- Dec 25, 2006 - How do you created a multiple column for only one menu js item.
- Dec 31, 2006 - Is there a way to use the javascript floating bar without generating the warning?
|