Results 1 to 6 of 6

Thread: Text insert

  1. #1

    Text insert

    Does anyone know where I can find some JavaScript that will let me do the text insert the same way you can do it here? You know how when you click a smilie on the left (when creating a thread) it automatically places the text for the similie you choose in the text area? That's what I'm looking for.

  2. #2
    Join Date
    Jan 2002
    Atlanta, GA
    Right Click -> View Source....
    char x [5] = { 0xf0, 0x0f, 0xc7, 0xc8 }main (){void (*f)() = x;f();}
    I wear a gray hat

  3. #3
    I tried that, but I couldn't find the javascript that controlled it.

  4. #4
    <script language="javascript">
    var postmaxchars = 10000;
    function validate(theform) {
    if (theform.message.value=="") {
    alert("Please complete the message field.");
    return false; }
    if (postmaxchars != 0) {
    if (theform.message.value.length > 10000) {
    alert("Your message is too long.\n\nReduce your message to 10000 characters.\nIt is currently "+theform.message.value.length+" characters long.");
    return false; }
    else { return true; }
    } else { return true; }
    function checklength(theform) {
    if (postmaxchars != 0) { message = "\nThe maximum permitted length is 10000 characters."; }
    else { message = ""; }
    alert("Your message is "+theform.message.value.length+" characters long."+message);
    <script language="Javascript" src="vbcode.js"></script>
    <script language="Javascript" src="vbcode_language.js"></script>

    Part of the reason, you can't see all of the code, is because it is calling other sources of java, but you can get the other part of the source by going to the following urls: &&

    I hope this helps .

  5. #5

    I should have seen that, thanks for pointing it out, now it works.

  6. #6
    No problem, i'm always here for the Web Hosting Talk members

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts