Forum Moderators: open

Message Too Old, No Replies

anyone know to make a submit form like post new topic in a forum

anyone know to make a submit form like post new topic in a forum

         

xbl01234

11:01 pm on Dec 22, 2006 (gmt 0)

10+ Year Member



hello;
i 'd like to ask you some questions to make a submit foum which we use in this forum for postting new topic, please.

some question as following;

1) in some forum, the top bar of sign-B I Uetc, are they make by button and using in submit form or something else.

2) If i highlight a sentence in the textarea, and then click on the a buton for the sign of B, and then the sign of ['B'] and [/'B'] will come out, and the sentence will sit between then automaticaly.

how can i do that?

do i need a action listener to listen whether i highline a senetnce? and how can the two signs of ['b] and [\'b'] suddenly jump up and sit in the right, position?

3) before i display these masage on the screen, do i need to one word by one word to check whether they have special sign like B I U link etc.
what kind of method can i check it?

Thanks

rocknbil

11:09 pm on Dec 22, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Begin searching this site and Google for createRange() and selectionStart or selectionEnd. The difficult part of what is done here is selecting the range of text in the input field, and until recently you had to do one method for Internet Destroyer and another method for "everything else." :-) This will lead you to scripts that will show you the way.

xbl01234

7:55 am on Dec 23, 2006 (gmt 0)

10+ Year Member



Thanks Rocknbil;

I will go to read through that, and merry Christmas to you.