display sub-menu arrow on level 1 menu items

已查看 2 次
跳至第一个未读帖子

hollywood

未读,
2006年11月21日 17:07:532006/11/21
收件人 DOM Menu Library
Is it possible to display the submenu arrow on the level one menu items?

Pat Wong

未读,
2007年1月10日 23:45:592007/1/10
收件人 DOM Menu Library

hollywood wrote:
> Is it possible to display the submenu arrow on the level one menu items?

This seems like a very screwy way to fix this problem, but here's how I
solved it.

Go into domMenu.js and find the following line:

element.style.backgroundImage = 'url(' +
settings.get('expandMenuArrowUrl') + ')';

Change it to something like the following:

element.style.backgroundImage = 'url(http://www.mysite.com/arrow.gif)';

Of course, change that http address so that it correctly reflects where
arrow.gif is on your server.

回复全部
回复作者
转发
0 个新帖子