(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    Can I specify an image in place of text or background in my pop up menu script?

Return to Recent Questions


Q: Can I specify an image in place of text or background for each item in my pop up menu script?


A: If you want to use images instead item text, you should use individual item styles. Use DHTML Tuner application to create and assign individual styles for your pop up menu script items. You can find it in the trial package.
For example:

var itemStyles = [
["itemWidth=200", "itemBackImage=image1.gif,image2.gif"], // style 0
["itemWidth=150", "itemBackImage=image3.gif,image4.gif"], // style 1
];

var menuItems = [
[" ", "link", "", "", "tip", "target", "0"],
[" ", "link", "", "", "tip", "target", "1"],
];

Where "0", "1" - style number in itemStyles.






Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. Responsive Slideshow | CSS Menu | Free Web Buttons | Convert HTML5 Video | slider html