Page 1 of 1

Adding attribute to HTML Menu item

Posted: Mon Jan 04, 2010 4:47 pm
by dcaplan
We are trying to add a custom attribute to a menu item that is a URL link to a _blank page. (title="LooseStitch" rel="gb_page_center[640, 480]" )

Ultimately I would like the link to look like this: NC Pestill Print It! but of course I cannot edit these attributes for a menu item.

I am hoping that someone has tried something similar to this or has an idea how I may edit this.

Any ideas?

Re: Adding attribute to HTML Menu item

Posted: Mon Jan 04, 2010 4:50 pm
by Dr.CSS
You can use the Content Type: link... there are 2 link types you most likely will need external link type...

Re: Adding attribute to HTML Menu item

Posted: Mon Jan 04, 2010 6:24 pm
by dcaplan
Yes, I have set the menu type to be 'external link' I am just not sure how to add that custom attribute to the link code. I am using GreyBox (like lightbox, but for pages rather than images) so you can better understand my goal.

Re: Adding attribute to HTML Menu item

Posted: Mon Jan 04, 2010 6:42 pm
by Dr.CSS
You may have to make a new menu template and call the title attribute aka description which you could use to be the rel= part...

Re: Adding attribute to HTML Menu item

Posted: Mon Jan 04, 2010 7:23 pm
by dcaplan
Thank you,

I am fairly new with CMS Made Simple, so the simplest task is a little complicated for me at this point, so any further assistance you could provide would be welcomed.

Thank you!