Chandusangale / dropdown-check-list

Automatically exported from code.google.com/p/dropdown-check-list
1 stars 0 forks source link

Display ordinary <select> styling #194

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Would be awesome if the closed dropdown looks just like a regular <select> form 
item. 

For example, see "Fuel type", "Gearbox":
http://suchen.mobile.de/fahrzeuge/search.html?scopeId=C&lang=en

Regular select item. On click, it turns into a small container with multiple 
checkboxes.

Original issue reported on code.google.com by mihnea.d...@gmail.com on 21 Jul 2011 at 5:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I know this can't be done with CSS, only by explicitly using the <select> html 
tag instead of a <div>.

Just an idea. 

BTW super plugin, multumesc!

Original comment by mihnea.d...@gmail.com on 21 Jul 2011 at 6:00

GoogleCodeExporter commented 9 years ago
Interesting idea, with a nice example.  
The widget would have to be reworked to use a real <select> rather than a <div> 
to get the appropriate styling, and then dynamically reset the selected 
<option> within that select to accommodate the compound text as multiple items 
are picked.
I am not sure when I will get a chance to address this, but it is now on the 
wish list.

Original comment by womohun...@ittrium.com on 21 Jul 2011 at 7:48

GoogleCodeExporter commented 9 years ago
I'm glad you like it. 

Original comment by mihnea.d...@gmail.com on 21 Jul 2011 at 8:34

GoogleCodeExporter commented 9 years ago
To go even further with this idea ... 

Right now, DDCL requires ui.core.js with associated css file (which is optional 
but I use it). Just these two add another 200KB to my page. 

I'm using DDCL in a WordPress plugin I'm currently working on. So a lightweight 
and simpler version of your plugin (just like the example on www.mobile.de) 
would be just perfect. 

This could be a different project altogether. 

Original comment by mihnea.d...@gmail.com on 22 Jul 2011 at 8:05

GoogleCodeExporter commented 9 years ago
I'll second this enhancement.  As a form element it would match the style of 
the other elements and blend in much better.  I'm using custom styling and 
really like this plugin, but it does stand out a bit.

Original comment by v...@vimm.net on 25 Aug 2011 at 11:23

GoogleCodeExporter commented 9 years ago
Issue 256 has been merged into this issue.

Original comment by womohun...@ittrium.com on 23 Jul 2012 at 3:56