function JsUBB(str)
{
var re=//[i/](.[^/[]*)/[//i/]/gi;
str=str.replace(re,"<i>$1</i>"); //斜体字
re=//[b/](.[^/[]*)/[//b/]/gi;
str=str.replace(re,"<b>$1</b>"); //粗体字
re=//[u/](.[^/[]*)/[//u/]/gi;
str=str.replace(re,"<u>$1</u>"); //下划线
re=//[color=(.[^/[]*)/](.[^/[]*)/[//color/]/gi;
str=str.replace(re,"<font color=$1>$2</font>"); //字体颜色
re=//[size=([1-7])/](.[^/[]*)/[//size/]/gi;
str=str.replace(re,"<font size=$1>$2</font>"); //字体大小
re=//[face=(.[^/[]*)/](.[^/[]*)/[//face/]/gi;
str=str.replace(re,"<font face=$1>$2</font>"); //字体
re=//[center/](.[^/[]*)/[//center/]/gi;
str=str.replace(re,"<div align='center'>$1</div>"); //居中
re=//[right/](.[^/[]*)/[//right/]/gi;
str=str.replace(re,"<div align='right'>$1</div>"); //右对齐
re=//[quote/](.[^/[]*)/[//quote/]/gi; //引用
str=str.replace(re,"<table bgcolor='#E6FFE6' width='90%' style='border:1px #009900 dotted' align='center'><tr><td class='td1'>$1</td></tr></table>");
re=//[fly/](.*)/[//fly/]/gi; //飞行
str=str.replace(re,"<marquee width=90% behavior=alternate scrollamount=3>$1</marquee>");
re=//[move/](.*)/[//move/]/gi; //移动
str=str.replace(re,"<MARQUEE scrollamount=3>$1</marquee>");
re=//[SHADOW=*([0-9]*),*(#*[a-z0-9]*),*([0-9]*)/](.[^/[]*)/[//SHADOW]/gi; //阴影
str=str.replace(re,"<table width=$1><tr><td style='filter:shadow(color=$2, strength=$3)'>$4</td></tr></table>");
re=//[GLOW=*([0-9]*),*(#*[a-z0-9]*),*([0-9]*)/](.[^/[]*)/[//GLOW]/gi; //外发光
str=str.replace(re,"<table width=$1 ><tr><td style='filter:glow(color=$2, strength=$3)'>$4</td></tr></table>")
re=//[URL/](.[^/[]*)/[//URL/]/gi;
str=str.replace(re,"<a href='$1' target=_blank>$1</a>"); //超链接1
re=//[URL=(.[^/[]*)/](.[^/[]*)/[//URL/]/gi;
str=str.replace(re,"<a href='$1' target=_blank>$2</a>"); //超链接2
re=//[EMAIL/]([/w-]+(/.[/w-]+)*@[/w-]+(/.[/w-]+)+)/[//EMAIL/]/gi;
str=str.replace(re,"<a href='mailto:$1'>$1</a>"); //电子邮件链接1
re=//[EMAIL=([/w-]+(/.[/w-]+)*@[/w-]+(/.[/w-]+)+)/](.[^/[]*)/[//EMAIL/]/gi;
str=str.replace(re,"<a href='mailto:$1'>$4</a>"); //电子邮件链接2
re=//[img/](.[^/[]*)/[//img/]/gi;
str=str.replace(re,"<a href='$1' target=_blank><img src='$1' border='0' alt='单击在新窗口浏览'></a>"); //图片
re=/:em(/d{1,}):/gi;
str=str.replace(re,"<img src='emot/$1.gif' border='0'>"); //表情图标
return str;
}
详细解决方案
神行者e虚拟定位设置root
热度:40 发布时间:2023-09-08 11:23:58.0
神行者e虚拟定位设置root
相关解决方案
- 怎么在外部修改web项目的context-root(web发布名称)
- tomcat起步后spring自动关闭 Closing Spring root WebApplicationContext
- 使用eWebEditor 出现 msxml3.dll 异常 '80072ee2' 超时 /LM/W3SVC/519066790/Root/global.asa
- 虚拟机上安装ubuntu出现这个To run a command as administrator (user "root"), use "sudo <comm
- su - root -c 'setsid /opt/jboss-4.2.3GA/bin/run.sh &' 含义解决方法
- Initializing Spring root WebApplicationContext停止启动,该如何解决
- SVN的Not authorized to open root of edit operation解决方法
- [求助]C:\Tomcat 5.5\webapps\ROOT\WEB-INF\classes
- The full stack trace of the root cause is available in the Apache Tomc ...
- 错误Unknown column 'root' in 'where clause'
- Thinkphp下面的xml_encode($data,encoding ='utf-8',root="think");函数怎么生成xml文件
- 数据库连接失败:mysql_error:Access denied for user 'root'@'localhost'解决思路
- 小弟我安装shuguang的cms到虚拟主机是时报Access denied for user 'root'@'localhost'
- 请问 $this->root->[HDOM_INFO_END] 是什么意思
- Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES),该如何处理
- PHP中$link=mysql_connect("localhost""root""");解决思路
- mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localho解决方法
- $myconn=mysql_connect("192.168.1.xxx""root""123456");如何连不上数据库啊
- 小弟我安装shuguang的cms到虚拟主机是时报Access denied for user 'root'@'localhost'
- 批一上 Initializing Spring root WebApplicationContext
- was修改下上文根后报Failed to load webapp: Context root /* is already bound.异常
- !hibernate4的配置文件内容 match DOCTYPE root "null"有关问题
- java_web项目小弟我都改名了,context root 小弟我也改了,webapps的发布包也删了,重新部署,原名为什么还能正常访问
- 为什么用jsp制作网站在tomcat中总是读写tomcat/webapps/ROOT/WEB-INF/中bean的有关问题
- struts.xml配置 Json返回值班 <param name="root">XX</param>不理解是什么意思
- 有关问题:cvs [server aborted]: Protocol error: Root request missing
- 请教ORACLE中,system,sys,root,sysdba,这4种用户的默认密码是什么,如果忘记了怎么找到他们,小弟我现在就忘记了,可小弟我都不知道如何找到。谢
- !RAC2 节点上执行/u01/app/crs/root.sh报错
- mysql -u root -p"$mysqlpass" nagios -e "SELECT COUNT(*) FROM nagios_hosts"解决方法
- Access denied for user 'root'@'localhost' (using password: YES)有关问题