<script>
var browser=navigator.appName;
var b_version=navigator.appVersion;
var version=b_version.split(";");
var trim_Version=version[1].replace(/[ ]/g,"");
if(browser=="Microsoft Internet Explorer"
&& trim_Version=="MSIE7.0"){
alert("IE 7.0");
}else if(browser=="Microsoft Internet Explorer"
&& trim_Version=="MSIE6.0"){
alert("IE 6.0");
}
</script>
[JS] – 判断IE6和IE7
How to remove typo3 temp js and css
config.removeDefaultJS = 1
plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE >
plugin.tt_news._CSS_DEFAULT_STYLE >
plugin.tx_indexedsearch._CSS_DEFAULT_STYLE >
# usw, usw, ...
select – multiple点击
//XCLASS
$TYPO3_CONF_VARS[TYPO3_MODE][‘XCLASS’][‘t3lib/class.t3lib_tceforms.php’]=t3lib_extMgm::extPath(‘ext_name’).’class.ux_t3lib_tceforms.php’;
typeNum and eID
typeNum
Pages are referenced by two main values. The “id” and “type”.
The “id” points to the uid of the page (or the alias). Thus the page is found. (continue reading…)
typo3后台插件TS配置
写入方法可以写setup或者options:
t3lib_extMgm::addPageTSConfig(‘mod.web_txwilimportcsvM1.maxsize = 50000000’) (continue reading…)
403,404,500多语言errorPage
Background:
When people manage there website, and in this case deleting page then we need to make sure that all search engines also need to know that a page doesn’t exist anylonger. (continue reading…)
select下拉框美化
用法:<script>dropdown({‘0′:’test1′,’1′:’test2′,’2′:’test3′},’dropdown_name’,’2′,function(){});</script>
参数1:数据,参数2:表单name,参数3:current值,参数4:callback function.