Adding text in the menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
JuanLP
Beginner
Beginner
Posts: 2
Joined: Thu Nov 04, 2004 6:57 pm

Adding text in the menu

Post by JuanLP »

Hi all, i wondering if is possible add text(plain text, no links) to the menu
Thanks in advance,
Juan Elizalde
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Looks like some basic reading is in order, Juan. The short answer is yes, but I'd suggest looking at the readme files that come in the download, howtobuild.txt in particular.

Once you have a basic understanding of the menu, if you're then still having problems come on back.
John
JuanLP
Beginner
Beginner
Posts: 2
Joined: Thu Nov 04, 2004 6:57 pm

Post by JuanLP »

Hi John, i have read howtobuild.txt but i cant find my answer...
Maybe i cant explain it very well... This, resuming, is add text(not the classic menuitem when the user do a mouseover in the item)
For example, i have a menu(horizontal in this case) with 7 menuitems and i like to add the current date and time IN the menu like simple text...

Well i think is simple but i dont know how ;-)

thanks, Juan
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Much better this time, Juan. Now I understand. :)

A simple Javascript function would do the trick. Also, depending on the programming language you are using for your page, ColdFusion has a method, PHP probably does as well, etc.

You can also take a look here to see how Andy did it. Just view the source.
John
Post Reply