PDA

View Full Version : Dynamic-FX Slide-In Menu (v 6.5)



Reynold DeChant
06-27-2005, 03:59 PM
Is there a way to display images in the menu?

jscheuer1
06-27-2005, 09:10 PM
Yes, use an image tag instead of text for the 'name' field for ssmItems.js but, due to its being code within code, get your quotes right, ex:
// ssmItems[...]=[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
ssmItems[0]=["<img src='some.gif'>"] //create header
ssmItems[1]=["<img src='someother.gif'>", "http://www.dynamicdrive.com", ""]Also use images of a reasonable size and shape. If you want to use an image for the vertical part of the menu text, the letters I, M and G must be capitalized in the image tag, ex:
barText="<IMG src='yetanother.gif'>"; // <IMG> tag supported. Put exact html for an image to show.