找回密码
 注册
查看: 1272|回复: 0

DIY标签有抖动是什么引起的.anslist{background:url(source/plugin/keke_an

[复制链接]

17

主题

0

回帖

298

积分

新生儿

积分
298
发表于 2024-11-14 13:40:35 来自手机 | 显示全部楼层 |阅读模式 来自:广东省广州市 电信
原来就是在顶部导航增加文字,昨天为了修改顶部导航的登录,注册,搞了一整天。

1.jpeg

现在出现的问题是,管理员登录后,当鼠标扫到右上角DIY标签时,整个页面都在晃动,而且diy的二级下拉菜单不能显示,只能点击进去后,再才能选择高级。
我是直接在页头文件里添加修改的,

  • <div class=&quot;y&quot;>
  •                                     <div class=&quot;ty_login_no&quot;>
  •                                         <!--{if $_G['uid']}--><!--{else}-->                                       
  •                     <a href=&quot;member.php?mod=logging&action=login&referer={echo rawurlencode($dreferer)}&quot; onclick=&quot;showWindow('nav', this.href, 'get', 0)&quot; class=&quot;login&quot;>&nbsp;登录&nbsp;&nbsp;</a>
  •                                         <span class=&quot;or&quot;>or</span>
  •                                         <a href=&quot;member.php?mod={$_G[setting][regname]}&quot; class=&quot;reg&quot;>&nbsp;&nbsp;注册&nbsp;</a> <!--{/if}-->
  •                                         <a id=&quot;switchblind&quot; href=&quot;javascript:;&quot; onclick=&quot;toggleBlind(this)&quot; title=&quot;{lang switch_blind}&quot; class=&quot;switchblind&quot;></a>
  •                                        
  •                                         <a href=&quot;search.php&quot; target=&quot;_blank&quot; class=&quot;sou&quot;>&nbsp;&nbsp;搜索&nbsp;</a>                                                
css:

  • .ty_login_no{ margin-top:5px; position:relative;}
  •                 .ty_login_no .login{ float:left; padding: 4px 16px; font-size: 14px;background-color: #439ff6; color:#fff; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px;}
  •                 .ty_login_no .or{ background: #393A44; color: #999; width: 20px; height: 20px; font-size:12px; line-height: 20px; text-align:center;font-family: Arial,'Times New Roman','Microsoft YaHei',SimHei; position: absolute; z-index: 2;
  •                 left:40px; top:5px; border-radius: 50%; -webkit-border-radius: 50%; -moz-border-radius: 50%;}                .ty_login_no .reg{float:left; padding: 4px 16px; font-size: 14px;background-color: #58c00e; color: #fff; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; margin-left: 6px;}

当我把diy修改成 i 或其它标签时,显示正常,但是登录与注册中间的那个or效果失效,跑到框架外了。
反正用过li;ul;包括dd;dt;能想到的,都试了下,最佳的效果就是鼠标不能扫到页头DIY处,会一闪一闪的,而且二级菜单不能显示。

高手指点一下,模板文件的代码是否正确,可有修改方法。
没金币了,就给一个哈。

来源:https://www.dismall.com/thread-24074-1-1.html
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

  • 关注公众号
  • 有偿服务微信
  • 有偿服务QQ

QQ|小黑屋|宝丽爱婴育儿网 ( 湘ICP备18010684号-1 )

GMT+8, 2026-3-2 05:14 , Processed in 0.074230 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表