Jump to content

how can i do this?


yami007

Recommended Posts

uh, well that 2nd half of my sentence mentioned you[ explaining to me in more detail what you are wanting...

yes !!

well my basic bbcode function is like this :

 

<script type="text/javascript" language="javascript">

function smiley(text) {
        document.reply.message.value = document.reply.message.value += text;
        document.reply.message.focus(); // i added this when premiso told me about the function but still need more funcionality
}
</script>

 

something like when the bbcode is [ b ] [ /b ], the caret as u told me which i never knew its name should be between [ b ] & [ /b ]

i hope this is good explanation to what i want to do.

thank you :)

Link to comment
Share on other sites

okay, you still aren't making any sense.  At best, you are talking as if I'm sitting in front of your computer screen with you pointing at stuff. Well I'm not, so I have no idea what you are talking about, because I don't know the context of your situation. 

 

Are you talking about for example, when I am making a post on a forum, if I click on for example the "bold" button, it auto-inserts the bbcode where my caret is?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.