JavaScript.CoolDev.Com Support Forums
Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com
| Author |
Message |
Fosco Guest
|
Posted: Fri Jun 13, 2003 3:57 pm Post subject: Sub menu of menu with images. |
|
|
Hi, Newly registered user of jsMenuPRO here, with a quick question:
My top level of menu's is images, and the submenu's should be text...
{ "code":"", url:"#", "format":{"itemoff":[0,92],"size":[25,68],"image":"menu3.gif","oimage":"menu3a.gif","imgsize":[25,68]},
"sub":[
{"itemoff":[25,0]},
{code:"Requirements Builder", url:"#"},
{code:"Process Applicants", url:"#"},
]
How would I go about changing this to work? The sub items show up as duplicates of the top level item, images with rollovers.
Thanks |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Fri Jun 13, 2003 4:11 pm Post subject: |
|
|
Try to do it like this:
| Code: | {"code":'<img src="menu3.gif" width="68" height="25">',
"ocode":'<img src="menu3a.gif" width="68" height="25">', url:"#", "format":{"itemoff":[0,92],"size":[25,68]},
"sub":[
{"itemoff":[25,0]},
{code:"Requirements Builder", url:"#"},
{code:"Process Applicants", url:"#"},
]
}, |
|
|
| Back to top |
|
 |
Fosco Guest
|
Posted: Fri Jun 13, 2003 4:38 pm Post subject: |
|
|
| Thanks Much! Works! |
|
| Back to top |
|
 |
|
|