Welcome To Snipplr


Everyone's Recent Snippets Tagged dropdown



« Prev 1 2
This snippet adds credit card select box dropdown values 10 years in future from current year.
0 56 posted 3 years ago by acosonic
To select a US State from a form.
1 31 posted 5 years ago by windmarble
Language dropdown list Dil seçim listesi
0 26 posted 6 years ago by Balamir
Use Z-Index to make navigation layer ABOVE other elements.
1 23 posted 7 years ago by xcsteve99
For some reason setting a default value for select elements does not work. This one line of jquery solves that problem. Assign a value (value="something") to the select tag that is to be the default value. With jquery get all select elements with a...
0 71 posted 7 years ago by halk
Simple solution found via link. Just edit code from demo page(s). Also http://uniformjs.com/
0 29 posted 7 years ago by rumremix
This will take the screen width into account and display either a horizontal menu or a dropdown menu with a hover style. Resize your window to see the effect.
1 46 posted 8 years ago by ryanfiorini
I hate manually entering in tons of numbers and tags for numbers, so I made a loop for it.
0 28 posted 8 years ago by JonnyCraze
Set a variable by getting the URLs id with PHP. Find the the option with the name value that is equal with the variable and add "selected" to it.
0 38 posted 8 years ago by LadyLoomis
This snippet gets the value of the selected dropdown
0 25 posted 8 years ago by jjmu15
A working HTML/CSS dropdown (flyout) menu.
0 37 posted 8 years ago by zvineyard
The option elements in the original select may provide an image and a second line of text by using a data-img and a data-info attribute.
7 82 posted 9 years ago by peckham
Basic style to set up Joomla-format menu as horizontal menu with dropdowns.
0 24 posted 9 years ago by cviolette
jQuery to make Joomla-format menu dropdowns appear on hover. Change "#mainnav" to menu container selector.
1 22 posted 9 years ago by cviolette
Custom dropdown field, replace defaut dropdown style with custom design. This function does not replace the select field.
1 19 posted 9 years ago by touffies
container id: nav list class: dropdown-menu
2 28 posted 9 years ago by czterystaczwarty
example I used to create a auto suggest search from that pulls from a database. The example pulls from a single db table containing categories. Using jQueryUI made this pretty painless but by default the autocomplete feature uses GET variables and...
4 37 posted 9 years ago by myke
So recently I was asked to change a navigation style of an existing site to drop-down menus. Simple, I thought, just use one of the many existing drop-down plugins. I tried many, but most seemed to use hardcoded styles and I had a few problems (so...
0 19 posted 9 years ago by dom111
So recently I was asked to change a navigation style of an existing site to drop-down menus. Simple, I thought, just use one of the many existing drop-down plugins. I tried many, but most seemed to use hardcoded styles and I had a few problems (so...
0 18 posted 9 years ago by dom111
requires that a pulldown \\\"program1\\\" in form \\\"freshmen\\\" be set to anything but the first value in the option list. \\r\\n\\r\\nrequires jquery validate: http://docs.jquery.com/Plugins/Validation
1 18 posted 9 years ago by dan_hoerr
Incredibly useful. Great when you need to remove and add options to selectboxes.
0 24 posted 9 years ago by Meander365
0 18 posted 9 years ago by artaries
Dropdown navigation is fairly inaccessible as it depends on hover events in 99.9% of cases. Tabbing through the navigation with the keyboard fails to reveal the dropdowns leaving those navigation items virtually inaccessible. Worse, each of the hidde...
0 49 posted 10 years ago by chrisdpratt
« Prev 1 2