|
意见人:我(Lasm_Gratel)
意见:
首页下拉菜单不人性化且排版不合理,上图
希望怎么改善:
更改http://mycraft.chinacraft.cc/js/scr.js中的代码,我制作了一个标准的Linux diff文件
- 21c21,36
- < });
- ---
- > });
- > //菜单移出
- > $a_menu_inside.mouseout(function() {
- > $a_menu_inside.fadeOut("slow",
- > function() {
- > menu.animate({
- > 'border-top-right-radius': '0',
- > 'width': '100px'
- > },
- > "slow");
- > menu.animate({
- > 'height': '0px'
- > },
- > "normal");
- > });
- > });
- 27c42
- < });
- ---
- > });
复制代码
也就是增加了一块代码
- //菜单移出
- $a_menu_inside.mouseout(function() {
- $a_menu_inside.fadeOut("slow",
- function() {
- menu.animate({
- 'border-top-right-radius': '0',
- 'width': '100px'
- },
- "slow");
- menu.animate({
- 'height': '0px'
- },
- "normal");
- });
- });
复制代码 这样便可以实现鼠标从菜单上移出时不用麻烦的点击关闭
|
评分
-
查看全部评分
|