Results 1 to 4 of 4

Thread: Smilies table

  1. #1
    Join Date
    May 2008
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Smilies table

    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!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2008
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Dear John,

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

    rad

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by radostsguy View Post
    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 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?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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