Rabu, 04 Maret 2009

Create "Select All" Box

Maybe there are some of us who want to share some text or code in the blog will usually write it directly on the blog article. And then, the readers which interested copying the text or the code will usually dragging the text and then copying it.

To make it more easier, we can put that text or code in a "select all" box. When people click on the box, the text or code will automatically dragged and it can be directly copied. This method also can make the visitor more easier to drag a long text or code.

To create the "select all" box, write your post on Edit Html Mode and then put your text or code using this code.

And it will be shown on your blog like this. Try it by clicking the text inside the box
You can change the number of rows and cols in order to show how many rows and columns of text that would directly appear on your article.

Tidak ada komentar:

Posting Komentar