Question:

How do i get a scroll box thats shows a code in the box?

by  |  earlier

0 LIKES UnLike

how do i get a scroll box for my myspace that has a HTML,DHTML or CSS in the box so that people that comes to my page can copy the code and paste it on the bulliton bored or somthin

 Tags:

   Report

2 ANSWERS


  1. Use a textarea box and the code inside MUST use the character entity for '<' to disable any HTML code and make it all text:

    <textarea name="Scroll Box" rows="5" cols="75" style="white-space: pre-wrap;">Code:

    & lt ;textarea name="Limiting Textarea Text" rows="2" cols="20" onkeyup="textLimit(this, 40);">& lt ;/textarea></textarea>

    Set your rows and columns to what you want to use.  The & lt ; must be used without the spaces.  The code I have inside is what I use to limit the amount of text that can be written in a scroll box.

    & lt ; (without spaces) = <

    Ron


  2. expert advice-

    http://experthelps.com/

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.