SCLUB免費論壇申請-使用者論壇's Archiver

a0807781856 發表於 2014-2-21 13:54

有沒有可以將DZ7.2的導航欄改成X3的樣式??

[img]http://i.imgur.com/2EXmdBK.png[/img]
變成這樣
[img]http://i.imgur.com/Ib9FUCQ.png[/img]

superman1024 發表於 2014-2-21 14:02

好像有,請爬文

a0807781856 發表於 2014-2-21 14:12

喔喔好的,請問是哪一個板塊?!

哥哥 發表於 2014-2-21 14:19

放正常字体[code]#umenu {top:-8px!important;}#forumheader{background:#fff;}#menu{background:url(图1) left top no-repeat!important;}#menu ul{background:url(图1) right -33px no-repeat!important;margin-left:5px!important;height:33px!important;}#menu{height:33px!important;width:980px;line-height:33px!important;font-size:14px!important;}#menu li a{font-weight:bold!important;padding-left:13px!important;padding-right:13px!important;height:33px!important;line-height:33px!important;border:0px!important;}#menu li{padding-left:0px!important;padding-right:0px!important;margin-left:0px!important;background:url(图2) no-repeat 100% 0!important;}#menu li.current a{BACKGROUND:url(图2) #005ab4 no-repeat 50% -33px;font-weight:bold!important;}#menu li a:hover{font-weight:bold!important;text-decoration:underline!important;}[/code]

a0807781856 發表於 2014-2-21 14:22

謝謝大大,請問正常字體是?!

哥哥 發表於 2014-2-21 14:24

后台-界面-风格管理-编辑-正常字体

a0807781856 發表於 2014-2-21 14:38

謝謝!!
!!

a0807781856 發表於 2014-2-21 14:48

我用出來沒有效果耶--
是改成這樣嗎??[code]#umenu {top:-8px!important;}#forumheader{background:#fff;}#menu{background:http://i.imgur.com/UYWLoyD.png(图1) left top no-repeat!important;}#menu ul{background:http://i.imgur.com/UYWLoyD.png(图1) right -33px no-repeat!important;margin-left:5px!important;height:33px!important;}#menu{height:33px!important;width:980px;line-height:33px!important;font-size:14px!important;}#menu li a{font-weight:bold!important;padding-left:13px!important;padding-right:13px!important;height:33px!important;line-height:33px!important;border:0px!important;}#menu li{padding-left:0px!important;padding-right:0px!important;margin-left:0px!important;background:http://i.imgur.com/IiSBv3z.png(图2) no-repeat 100% 0!important;}#menu li.current a{BACKGROUND:http://i.imgur.com/IiSBv3z.png(图2) #005ab4 no-repeat 50% -33px;font-weight:bold!important;}#menu li a:hover{font-weight:bold!important;text-decoration:underline!important;}[/code]

哥哥 發表於 2014-2-21 15:19

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=214825&ptid=27329]8#[/url] [i]a0807781856[/i] [/b]


    把图1图2上传到自己的论坛 然后复制地址 复制到图1 图2进去

章鱼 發表於 2014-2-21 15:24

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=214825&ptid=27329]8#[/url] [i]a0807781856[/i] [/b]


   
是放在那里面原有的代码后面
而且他给的代码不完全正确,应该是[code];}#umenu {top:-8px!important;}#forumheader{background:#fff;}#menu{background:http://i.imgur.com/UYWLoyD.png(图1) left top no-repeat!important;}#menu ul{background:http://i.imgur.com/UYWLoyD.png(图1) right -33px no-repeat!important;margin-left:5px!important;height:33px!important;}#menu{height:33px!important;width:980px;line-height:33px!important;font-size:14px!important;}#menu li a{font-weight:bold!important;padding-left:13px!important;padding-right:13px!important;height:33px!important;line-height:33px!important;border:0px!important;}#menu li{padding-left:0px!important;padding-right:0px!important;margin-left:0px!important;background:http://i.imgur.com/IiSBv3z.png(图2) no-repeat 100% 0!important;}#menu li.current a{BACKGROUND:http://i.imgur.com/IiSBv3z.png(图2) #005ab4 no-repeat 50% -33px;font-weight:bold!important;}#menu li a:hover{font-weight:bold!important;text-decoration:underline!important[/code]

哥哥 發表於 2014-2-21 17:20

[i=s] 本帖最後由 哥哥 於 2014-2-21 17:28 編輯 [/i]

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=214830&ptid=27329]10#[/url] [i]章鱼[/i] [/b]


    [attach]27516[/attach]

你刚刚发的代码能成功 我就跟你姓 图片地址应该放图1图2 哎 悲剧了 你跟我发的少了一个} LZ把地址放了图1图2的前面 我刚发的测试可用. 你是不是复制成习惯了 [color=Red]就像复制别人的插件一样[/color]

qingchunwu 發表於 2014-2-21 17:28

[i=s] 本帖最後由 qingchunwu 於 2014-2-21 17:38 編輯 [/i]

纯属打酱油路过撒

章鱼 發表於 2014-2-21 17:34

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=214835&ptid=27329]11#[/url] [i]哥哥[/i] [/b]


   
我不是说了么,"他发的代码不完全正确,应该是XXX".我只是帮他修正你的代码而已,这特么也算盗版?
而且既然又扯到盗版问题,私聊来说一说.(官方既然不允许笔战,那么还是不要在论坛里面说比较好)

哥哥 發表於 2014-2-21 17:41

[i=s] 本帖最後由 哥哥 於 2014-2-21 17:42 編輯 [/i]

你说那么多话 我觉得 那句(官方既然不允许笔战,那么还是不要在论坛里面说比较好)最值钱的话 。还有你没修改好!完全错误的!仔细看你发的代码!那就停止吧!  楼主如果有需要帮助的话 继续发言 我所发的代码 都是自己经过测试 才发上来的

章鱼 發表於 2014-2-21 18:10

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=214841&ptid=27329]14#[/url] [i]哥哥[/i] [/b]


   
仔细看你自己发的代码
假如说我使用了你的代码,既然是要放在字体里面,比如说我原来的字体是Verdana, Helvetica, Arial, sans-serif
那么我字体里面的代码就是[code]Verdana, Helvetica, Arial, sans-serif#umenu{xxxx}xxxx[/code]反正懂CSS的都能看出来,这样写从一开始就是错的.

bonimon 發表於 2014-2-21 18:12

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=214841&ptid=27329]14#[/url] [i]哥哥[/i] [/b]


    楼上这话不地道,变相贬低别人提高自己。


另外,在SCLUB的其他资源站有很多人转载本站的原创资源都没有注明来源,希望这些站点尽快改正。

此帖将会被锁贴。

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.