Posts Tagged ‘hack’

1 10 2010

Discuz7.2中如何将活动贴中报名参加的所有会员头像全部显示

bigCat Posted in NoteBook - 0 Comment

修改.include/viewthread_activity.inc.php文件中,找到:


$query = $db->query("SELECT aa.username, aa.uid, aa.dateline, m.groupid, mf.avatar FROM {$tablepre}activityapplies aa
LEFT JOIN {$tablepre}members m USING(uid)
LEFT JOIN {$tablepre}memberfields mf USING(uid)
WHERE aa.tid='$tid' $sqlverified ORDER BY aa.dateline DESC LIMIT 9"

删掉 LIMIT 9

9 07 2010

CSS hack

bigCat Posted in CSS - 0 Comment

http://chris.realax.me/post/313

-----无视w3c不负责hack-------------------------------

 color:yellow\9;  /*IE678*/

*color:yellow; /*IE67*/

_color:yellow; /*IE6*/
7 09 2009

firefox 去掉 button 虚线框

bigCat Posted in CSS - 0 Comment

outline:none失效

私有属性
button::-moz-focus-inner { border: 0; }

js
onFocus='this.blur()'

傻逼才要去掉虚线框,那些键盘玩tab的人会死很惨

about:config in Firefox and set browser.display.focus_ring_width to 0. Then Firefox won't show any dotted borders at all.

The following bug explains the topic: https://bugzilla.mozilla.org/show_bug.cgi?id=74225

Host: (miao) | Word: Press | Code: bigCat | Valid: HTML5