Sticker Pack
×

⇽ Drag stickers to vote

x0
Sticker Pack
Show Stickers
Sticker Shop
  • Banana »
    5

    A sticker you may one day earn. Until then, the sticker shall remain locked in here.

  • Cool Guy »
    5

    Sometimes someone makes a really cool post and only a pair of Raybans can express how you feel.

  • Forever Alone »
    10

    Only for the loneliest of posts.

  • Kawaii »
    15

    For something so cute that just a heart won't do :3

  • Nyancat »
    25

    nyan nyan nyan nyan prguitarman nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan nyan

  • Super LOL »
    30

    For when it's so good that you just can't stop laughing.

  • Glove of Power »
    50

    I love the power glove. It's so BAD. But it's still pretty nerdy...

  • Number Oneocle »
    100

    For the post so classy it needs to be number one'd as well. "But wait," you say, "how is it double sided if it's a sticker?" Shhhhhh... it's best not to question the number oneocle.

  • Fuck Yeah »
    150

    FUCK YEAH!

  • Anonymous

    1 year ago

  • well implementing one is easy, sorry I forgot to elaborate.

    I want it so that whatever is selected, will take on an id and can then be used in the document.
    The only tutorials I can find (Java programmer, know only basic javascript) are for javascript menus where the selected entry takes you to a new url.

  • So say I have the following:


    Value 1
    Value 2
    Value 3
    select
    hello


    I then wrote this, in my almost negligible knowledge of Javascript:

    function clickTest()
    {
    if(WHAT???){
    document.getElementById("test").innerHTML=('WHAT???');
    }
    }

  • function clickTest( selectObj,
    //other info passing through
    ) {
    var numSelected = selectObj.options[ selectObj.selectedIndex ].value

    if ( numSelected == 1 ) {
    //do this (you can create a var with a name using this info and call it elsewhere in the script outside of a function, but not in one)
    } else if ( numSelected == 2 ) {
    //do this instead
    } else if ( numSelected == 3 ) {
    //fuck all that; do this one
    }
    }



Post your reply:

  • url

    URL

  • draw

    DRAW

images

brush

    erase

      shapes

      clone

        text

            fill

            Blend Mode:

            Swap Merge

            • url

              URL

            • draw

              DRAW

              ×
              ?

              Your remix is uploading!

              0
              ×
              ×
              Maximum of 2000 characters allowed. Current count:

              • anonymous