PDA

View Full Version : Smilies table



radostsguy
05-20-2008, 03:43 AM
Hi everybody! This is my first post.

I did a little messing about with Anylink.html (dropdownmenu.zip) which I found in HotScripts. I turned it into a Smilies table. That was fun! It works like a charm, except for one thing. The cursor position remains after the previous text. It would be really nice if the cursor ended up after the smilie text. BTW, the smilies text is converted to the actual image with BBCodes on the next page.

To take a look, go here:

http://mwob-test.dynalias.com/Smilies-table.html

These are just test pages on a test site of mine.

The coding that moves the smilie text into the form is:

function doCopyS(smilie) {
myvalue=document.myform.mytext.value;
value=myvalue+' '+smilie;
document.myform.mytext.value=value;
document.myform.mytext.focus();}

Help!

jscheuer1
05-20-2008, 06:25 AM
I moved this to a new thread, as it had nothing to do with the thread it was in, and gave you a warning (no infraction points issued). In the future, please start a new thread when posting about a new topic.

radostsguy
06-01-2008, 11:08 AM
Dear John,

OK. Understood. But may I ask what new thread? I've looked and looked, and can't find it. :cry:

rad

jscheuer1
06-01-2008, 11:28 AM
Dear John,

OK. Understood. But may I ask what new thread? I've looked and looked, and can't find it. :cry:

rad

If you mean:

"How do I start a new thread?"

Go to the main view of the sub forum that you want to post a new thread to. For example, this sub forum is JavaScript, and its main view is:

http://www.dynamicdrive.com/forums/forumdisplay.php?f=7

Once you're there, the http://www.dynamicdrive.com/forums/images/buttons/newthread.gif button will be near the upper left corner below the headings and ad, just above the listing of all the current threads in that sub forum.

Does that answer your question?