how to send a multi-line message in the chat-box Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    how to send a multi-line message in the chat-box

    hbghlyj
    hbghlyj
    Forumember


    Male Posts : 32
    Reputation : 1
    Language : English+Chinese

    Solved how to send a multi-line message in the chat-box

    Post by hbghlyj August 20th 2021, 4:31 pm

    Hello,
    Can I send a multi-line message in the chat-box Smile
    I tried Ctrl+Enter and Shift+Enter but neither starts a new line.
    If it is not supported, is it possible by adding a script to head of the chatbox?
    Also, how can I add a button to refresh manually chatbox (iframe) but not refreshing the parent document (top)?


    Last edited by hbghlyj on August 26th 2021, 4:36 pm; edited 1 time in total
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: how to send a multi-line message in the chat-box

    Post by Ape August 20th 2021, 6:17 pm

    Right now NO you can not add a line in the chat box the chat box is made for only small amounts of text at a time.

    It would be nice to have the right to add more lines before you post your comment's

    Some one with good javaScript knowledge could maybe help you but I could not say who could do it.

    Have a great weekend.



    how to send a multi-line message in the chat-box Left1212how to send a multi-line message in the chat-box Center11how to send a multi-line message in the chat-box Right112
    how to send a multi-line message in the chat-box Ape_b110
    how to send a multi-line message in the chat-box Ape1010
    tikky
    tikky
    Forumember


    Posts : 922
    Reputation : 160
    Language : 🇵🇹

    Solved Re: how to send a multi-line message in the chat-box

    Post by tikky August 26th 2021, 4:26 pm

    Hello @hbghlyj,

    Create a new Javascript page in the chatbox and use:
    Code:
    (function($) {
        'use strict';

        $(function() {

            var $message = $('#chatbox_footer').find('[name="message"]');

            $message
                .replaceWith('<textarea id="message" name="message" placeholder="Your message here" class="post" autocomplete="off" style="font-weight: normal; font-style: normal; color: rgb(51, 51, 51);"></textarea>');

        });
    }(jQuery));

    skouliki, Ape, TonnyKamper and hbghlyj like this post

    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: how to send a multi-line message in the chat-box

    Post by Ape August 26th 2021, 5:49 pm

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules



    how to send a multi-line message in the chat-box Left1212how to send a multi-line message in the chat-box Center11how to send a multi-line message in the chat-box Right112
    how to send a multi-line message in the chat-box Ape_b110
    how to send a multi-line message in the chat-box Ape1010