1.Filter
<img src="a.jpg" onmouseover="this.style.filter='alpha(opacity=\'50\')';" onmouseout="this.style.filter='alpha(opacity=\'100\')';">
2.Change Image
function changeimg(id,imgf){
var chid = document.getElementById(id);
chid.src = imgf;
}
<img src="a.jpg" id="imgab" onmouseover="changeimg('imgab','b.jpg');" onmouseout="changeimg('imgab','a.jpg');">
2013年2月28日 星期四
2013年2月15日 星期五
Fedora Apache Web Server & MySql Restart
Web Server restart
=======================================
Usage: /usr/sbin/httpd [-k start|restart|graceful|graceful-stop|stop]
example:
/usr/sbin/httpd -k stop
/usr/sbin/httpd -k start
/usr/sbin/httpd -k restart
MySql Restart
=======================================
/etc/init.d/mysqld start
/etc/init.d/mysqld stop
/etc/init.d/mysqld restart
=======================================
Usage: /usr/sbin/httpd [-k start|restart|graceful|graceful-stop|stop]
example:
/usr/sbin/httpd -k stop
/usr/sbin/httpd -k start
/usr/sbin/httpd -k restart
MySql Restart
=======================================
/etc/init.d/mysqld start
/etc/init.d/mysqld stop
/etc/init.d/mysqld restart
2013年2月5日 星期二
2013年2月4日 星期一
訂閱:
文章 (Atom)