Posts Tagged ‘hack’

1 10 2010

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

bigCat Posted in NoteBook - 0 Comment

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

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

\r\n删掉 LIMIT 9

9 07 2010

CSS hack

bigCat Posted in CSS - 0 Comment

http://chris.realax.me/post/313\r\n\r\n-----无视w3c不负责hack-------------------------------\r\n

 color:yellow\9;  /*IE678*/\r\n\r\n*color:yellow; /*IE67*/\r\n\r\n_color:yellow; /*IE6*/
7 09 2009

firefox 去掉 button 虚线框

bigCat Posted in CSS - 0 Comment

outline:none失效\r\n\r\n私有属性\r\nbutton::-moz-focus-inner { border: 0; }\r\n\r\njs\r\nonFocus='this.blur()'\r\n\r\n傻逼才要去掉虚线框,那些键盘玩tab的人会死很惨\r\n\r\nabout:config in Firefox and set browser.display.focus_ring_width to 0. Then Firefox won't show any dotted borders at all.\r\n\r\nThe following bug explains the topic: https://bugzilla.mozilla.org/show_bug.cgi?id=74225\r\n\r\n

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