Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Thursday February 8 2018 - 06:02:14

Specifying a class

Poster: dunnma
Dated: Wednesday August 29 2007 - 20:29:14 BST

I am using jQuery and Thickbox. One of my links in the menu is a thickbox link. The only thing that is different about this link vs other links on the page/in the menu system is that you HAVE to specify in the link a class of "thickbox"

So in other words how do I get this to be a link in the Milonic menu?

<a href="link" class="thickbox">Click Me</a>

Poster: Ruth
Dated: Thursday August 30 2007 - 5:51:09 BST


You can actually make that particular item type=html; and then just put the link in it as you would normally. Try this, though I don't know anything about thickbox.

Code: Select all

aI("text=<a href='link' class='thickbox'>Click Me</a>;type=html;");


Poster: dunnma
Dated: Thursday August 30 2007 - 13:26:05 BST

Sweet! That did the may I ask how I can possibly style this link the same as the rest (since it is manually created)?

Poster: Ruth
Dated: Thursday August 30 2007 - 21:29:50 BST

Well, if you give me what your data file is I'll see what I can figure out for the style. Since you have class=thickbox you can't very well put another class in it, so I'd have to see your existing style for the other items to see what I can do.