CLICK HERE FOR BLOGGER TEMPLATES AND MYSPACE LAYOUTS »

Friday, December 19, 2008

[ketika_cinta_bertasbih] [ALL ABOUT BROADCAST, COMMUNICATION, AND JURNALISM] 12/20/2008 05:12:00 AM

Posting by : andri hardiansyah

What is the text area. To facilitate your understanding of what the text area, please divert your attention to the right field screen, under Mau tuker link, there is a box that contains text in the code-the HTML code, that in a text area. I view with examples, then we can say that the Text area is the area or place to store the text or written form with the new area. Usually the text in this area use to save the HTML code or other text to copy in by the visitors.

To make the text area, please copy the code below:


<p align="center"> <textarea name="code" rows="6" cols="20"> Write a text or code you want here, then later you will be writing to appear in the text area </ textarea> </ p>


For example:

<a href="http://kolom-tutorial.blogspot.com" target="_blank"> <img src = "http://i162.photobucket.com/albums/t253/rohman24/animasichicklet.gif" border = "0" alt = "Blog Tutorial" /> </ a>

Description: rows = "6", showed high from the text area, so if you want the text area is higher then please change the number "6 yesterday with a number of higher value.

Cols = "20", shows the width of the text area. If you want the text area is wide, please change the number "20" in the number of higher value.

Text Area with the Highlight

There are other variations from the text to make this area, namely, the text area by using the highlight. with the key highlight of this will be easier for visitors to copy the entire text or code that is given, because with only one press of the button was highlighted, the entire text or code in which there will be at the higher and living in copy only. This facility is very useful when text or code that is given in a number of very many and this will reduce the risk tertinggalnya a text or code for the copy. To make the text area by using the highlight of this please copy the HTML code below:



<div> <form name="copy"> <div align="center"> <input onclick = "javascript: this.form.txt.focus (); this.form.txt.select ();" type = " button "value =" Highlight All "> </ p> <div align="center"> </ p> <p align="center"> <textarea style =" width: 300px; Height: 144px "name =" txt "Rows =" 100 "wrap =" Virtual "cols =" 55 "> keep writing you here, then the text you write will appear here and in the copy ready by the visitors </ textarea> </ p> </ div > </ form>

For example:

clickIE <script language="JavaScript"> function () (if (document.all) (return false;)) function clickNS (e) (if (document.layers (document.getElementById & &! document.all)) (if (e . 2e.which which == == 3) (return false;))) if (document.layers) (document.captureEvents (Event.MOUSEDOWN); document.onmousedown = clickNS;) else (document.onmouseup = clickNS; document . oncontextmenu = clickIE;) document.oncontextmenu = new Function ( "return false") </ script>


So that you understand the code above, I will describe a little. Code on the part has two elements, namely, the elements of the code to create a button marked Highlight All, and the second element is the code to make the text area.

All elements of the key highlights:

1. <div align="center"> -> words indicated that the center position will be key in the middle, so if you want to be a key position at the edge of the left, living instead with the words left. And if you want to be on the edge of the right, living instead with the right words.

2. <input onclick="javascript:this.form.txt.focus();this.form.txt.selec()"> -> this code means that when the key highlight at the click, then the entire text of the will in highligt (in the mark or in blocks), so you do not change this.



3. Value = "Highlight All" -> Highlight All words are words that will appear in the key, so if you want to change this, please replace the word you want.


Element text area:

1. <p align="center"> -> text shows that this area will be located in the middle, now if you want your text area is located at the edge of the left, center, replace the word with the word left, if you want to at the right edge, replace the words right .
2. <text style="WIDTH: 300px"> -> the words "width: 300px" shows the width of the text area is 300 pixels, so if you want to shorten or extend the width of the text area, you live it with the number you want. eg: "width: 700px;"


3. Height: 144px -> digit "144px" indicated that the text area will have a high of 144 px, so if you want to change lives to change that number with the number you want. Ex: Height: 160px.


Sample text of the key areas highlighted above, the scripting to protect the load from the right and click the visitors. scripting is in use when you do not want your writing copy and paste in by visitors. for those interested, please copy and then plug in your HTML code between the code and <HEAD> </ HEAD> safe to try.










information from: andri hardiansyah


--
Posting oleh Kang_Andry ke ALL ABOUT BROADCAST, COMMUNICATION, AND JURNALISM pada 12/20/2008 05:12:00 AM

__._,_.___
Recent Activity
Visit Your Group
Y! Messenger

PC-to-PC calls

Call your friends

worldwide - free!

Find helpful tips

for Moderators

on the Yahoo!

Groups team blog.

Special K Group

on Yahoo! Groups

Join the challenge

and lose weight.

.

__,_._,___

No comments: