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: Saturday July 14 2012 - 06:07:29

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

Hi,

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:
aI("text=<a href='link' class='thickbox'>Click Me</a>;type=html;");


Ruth


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

Sweet! That did the trick...now 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.

Ruth