PDA

View Full Version : menu_com.js - Again



craigstover
06-08-2005, 11:04 AM
Hello again,

I am using menu_com.js located at http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

I would like to know if I or you can put something like an alt="" so when you hover the mouse over a menu item, it will show a small discription like you do when you hover over an image on the screen.

I hope you understand my question and thank you in advance, again.

Craig Stover

mwinter
06-08-2005, 03:14 PM
Hello again,In future, don't create a new thread just because you didn't get the answer you were looking for. You were asked to follow the posting format - a simple follow-up would have sufficed.

Mike

jscheuer1
06-08-2005, 05:29 PM
Actually it is pretty easy to do something like what you are asking. In the exmplmenu_var.js file that is used with this menu, each menu item has a TextToShow field. Say the text you want shown is 'Links' and the hover description you want is 'Hot Links!', then the thing should look something like this:


Menu1=new Array("<span title='Hot Links!'>Links</span>","http://www.dynamicdrive.com","",0,20,138);

craigstover
06-09-2005, 09:47 AM
Your code works great! Thank you very much!

Craig