Click to Show!

Do you want to show something in a DIV after your clicking? Here is the codes will help you!

Continue Reading Add comment February 24th, 2011

CSS makes textarea auto height

CSS makes textarea auto height…It works well with IE8, FF, Opera.

Continue Reading Add comment February 23rd, 2011

How to hide DIV with Javascript

a great web service. we can use it for showing the code you wanna share on your blog, you don’t need to install any plugins. it’s really cool! just try it anyway…

1
2
<div id="box" style="padding-bottom: 0px; line-height: 30px; background-color: #ffffdf; padding-left: 5px; width: 98%; padding-right: 5px; height: 30px; color: #373737; padding-top: 0px; border: #ffff99 1px solid; margin-bottom: 10px;">
<a style="cursor: hand;" onclick="javascript:document.getElementById('box').style.display='none'" onmouseover="this.style.cursor='hand'"><span style="color:#FF0000;float:right;">×</span></a> Put your code here… </div>

Add comment June 14th, 2010


Calendar

May 2012
MTWTFSS
« Nov  
 123456
78910111213
14151617181920
21222324252627
28293031 

Posts by Month

Posts by Category