Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:02
basic question for potential user
Poster: hejira
Dated: Monday December 6 2004 - 16:19:03 GMT
I have an existing menu -- just html links which look like tabs atop each page -- but they are dynamically generated depending on the user's security level so they cannot be removed. So is there any way to have the Milonic menus be triggered by an onMoseOver for an existing element, and not have an Always Visible top level menu? Or have that Always Visible menu be transparent, and sit on top of an existing element?
Hope this makes sense.
Lew
Poster: Ruth
Dated: Monday December 6 2004 - 17:30:30 GMT
I'm not really sure what you want. Do you by chance have an existing page with the 'tabs' and we can then see what you want to do with the menu?
You can dynamically generate the Milonic menu I believe. There are zip files for asp_mysql, or php_mysql menus. However, I am not knowledgeable in any of that area. If you want to use milonic menu and do something like what is now existing, there are people here who can help you set that up. Otherwise, I'd have to see the page to figure out what you are trying to do with the existing links and the menu.
Ruth
Poster: hejira
Dated: Monday December 6 2004 - 18:04:52 GMT
I fashioned a quick example of the html/css menus and the existing DHTML drop downs (on menu 3 only). Thank you for the reply.
Lew
Poster: Ruth
Dated: Monday December 6 2004 - 18:11:59 GMT
Did you forget the link so we can see what you want, or have you found another solution?
Ruth
Poster: hejira
Dated: Monday December 6 2004 - 18:18:21 GMT
Man o man. Mondays.
Here's the link:
http://www.web.virginia.edu/lgb6s/test/test.htm
Poster: John
Dated: Monday December 6 2004 - 18:29:49 GMT
Here is an example of using images as the main menu items, with the sub-menus dropping from there. Is this something like you're after?
Data is at http://westcgi.west.asu.edu/sai/templates/menu5/xp_data.cfm.
Poster: Ruth
Dated: Monday December 6 2004 - 19:53:40 GMT
Ok, I see the Menu Menu2 Menu3 etc across the top and I see the links in the view source
Code:
<A class=menu_active
onmouseover="window.FW_showMenu (window.fw_menu_0,53,48); window.status='Coordinator main menu'; return true;" onmouseout="FW_startTimeout(); window.status=''; return true;" href=".....programmenu.aspx">
So, are you saying that when someone logs in they get a particular one of those menus? And, you want to leave the links like that, get rid of the fw.menu and use the Milonic instead? I don't have the knowledge to help on anything like that, but I think you have to be a little more specific so that those who do know such things know what exactly you want.
onmouseover="window.FW_showMenu (window.fw_menu_0,53,48); window.status='Coordinator main menu'; return true;" onmouseout="FW_startTimeout(); window.status=''; return true;" href=".....programmenu.aspx">
Ruth
Poster: Ruth
Dated: Friday December 10 2004 - 4:37:41 GMT
Hi Hejira,
I think I figured out what you want. Maybe! Download the sample Using Pop Menu Function Positioned by Images, that's sample24, you can also try the one for Using Pop Menu Function Fixed Position. I tried it with the one for images.
To test it on your page, substitute for this code that you now have for the Menu 3
Code:
<A class=menu_inactive onmouseover="window.FW_showMenu(window.fw_menu_2,157,48); window.status='Schedules'; return true;" onmouseout="FW_startTimeout(); window.status=''; return true;"
href="http://admin/schedulemenu.aspx"> menu 3 </a>
the following code href="http://admin/schedulemenu.aspx"> menu 3 </a>
Code:
<img src=transparent.gif border=0 name=milonicmenu id=milonicmenu><a href=http://admin/schedulemenu.aspx onmouseover="popup('milonic','milonicmenu')" onmouseout=popdown()> menu 3 </a>
Then just after the body tag put the calls for the milonic menu
Code:
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>
When mouseOver the Menu3 button you will see the Milonic Menu drop down.
What this pop menu does is to position itself based on the transparent.gif which you now have right next to the Menu 3 title. To shift the menu, in the menu_data.js file, go to the menu titled Milonic and put in a top="offset=whatever pixels you need"; and left="offset="whatever pixels"; Try this
Code:
with(milonic=new menuname("Milonic")){
style=menuStyle;
top="offset=10";
left="offset=0";
style=menuStyle;
top="offset=10";
left="offset=0";
I hope that's what you meant.
Ruth