• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Mutli-select dropdown box"

Collapse

  • original PM
    replied
    I love the fact that AndyW's last post is in relation to a post by MF trying to bring peace and harmony to the board


    oh how time changes everything!

    Leave a comment:


  • mudskipper
    replied
    Originally posted by NickFitz View Post
    Andyw was a troll who flared briefly across the heavens of the forum in the summer of 2006, before crashing and burning as autumn came: Andyw's last post
    WHS, and he (or his mum) is the traditional 'last option' on all CUK polls.

    Leave a comment:


  • NickFitz
    replied
    Originally posted by Boo View Post
    Is that your name then, or someone you don't like ?

    Boo
    Andyw was a troll who flared briefly across the heavens of the forum in the summer of 2006, before crashing and burning as autumn came: Andyw's last post

    Leave a comment:


  • Boo
    replied
    Originally posted by mudskipper View Post
    <option>AndyW</option>
    Is that your name then, or someone you don't like ?

    Boo

    Leave a comment:


  • mudskipper
    replied
    Well not quite 5 minutes by the time I'd added several of them in a .Net update panel, but now all working and client happy (for now...)

    Thanks for the help all (esp. Bunk!)

    Leave a comment:


  • lilelvis2000
    replied
    give dropkick a look in. Not sure if it supports multi-select out of the box though.

    https://github.com/Robdel12/DropKick

    Leave a comment:


  • mudskipper
    replied
    Originally posted by Bunk View Post
    Absolute positioning is what you need.

    Edit fiddle - JSFiddle
    Cheers m'dear - I owe you a JD and coke!

    Leave a comment:


  • NickFitz
    replied
    Originally posted by mudskipper View Post
    Works quite nicely with a textbox - especially if I add a dropdown image doobrie.

    Just got to work out how to show the listbox without moving the other content - I hate this CSS stuff!

    Edit fiddle - JSFiddle
    1. Wrap everything in a <div>, and give it position: relative;
    2. Give the <select> position: absolute; and left: 0; top: whatever-the-height-of-the-input-is;


    Originally posted by mudskipper View Post
    Edit: still would prefer a nice 'out the box' solution if anyone's come across one!
    Wouldn't we all

    Best thing I've read about <select> elements recently is this, which argues for just saying "to hell with the damn thing" and creating a new solution from scratch: https://medium.com/design-ux/bc190d62eff5

    Leave a comment:


  • Bunk
    replied
    Originally posted by mudskipper View Post
    Works quite nicely with a textbox - especially if I add a dropdown image doobrie.

    Just got to work out how to show the listbox without moving the other content - I hate this CSS stuff!

    Edit fiddle - JSFiddle


    Edit: still would prefer a nice 'out the box' solution if anyone's come across one!
    Absolute positioning is what you need.

    Edit fiddle - JSFiddle

    Leave a comment:


  • mudskipper
    replied
    Works quite nicely with a textbox - especially if I add a dropdown image doobrie.

    Just got to work out how to show the listbox without moving the other content - I hate this CSS stuff!

    Edit fiddle - JSFiddle


    Edit: still would prefer a nice 'out the box' solution if anyone's come across one!
    Last edited by mudskipper; 24 April 2014, 19:52.

    Leave a comment:


  • hyperD
    replied
    Originally posted by Bunk View Post
    Now don't forget to over-engineer it and add some fancy swishy animations. You can easily spend a few days on 5 minutes work
    That's nice Bunk! I'll watch mudskipper's wonderful creation and grab it for future once I've bribed her with a tea!

    Leave a comment:


  • Bunk
    replied
    Originally posted by mudskipper View Post
    Yep, that's pretty neat. Thanks!
    Now don't forget to over-engineer it and add some fancy swishy animations. You can easily spend a few days on 5 minutes work

    Leave a comment:


  • mudskipper
    replied
    Originally posted by Bunk View Post
    I meant something like this: jsFiddle.

    It's just changing the height of the multi-select on click but it means that the native behaviour is still there. You could also add a fake dropdown for them to click on, which would show one of the selected options and would look better.
    Yep, that's pretty neat. Thanks!

    Leave a comment:


  • Bunk
    replied
    I meant something like this: jsFiddle.

    It's just changing the height of the multi-select on click but it means that the native behaviour is still there. You could also add a fake dropdown for them to click on, which would show one of the selected options and would look better.

    Leave a comment:


  • mudskipper
    replied
    Originally posted by TheFaQQer View Post
    Have you tried this?
    Hehe, hoping he'll be along shortly to do my work for me

    Leave a comment:

Working...
X