Welcome To Snipplr
Everyone's Recent JavaScript Snippets Tagged dropdown
- All /
 - JavaScript /
 - HTML /
 - PHP /
 - CSS /
 - Ruby /
 - Objective C
 
 « Prev 1 Next »
I hate manually entering in tons of numbers and tags for numbers, so I made a loop for it.
        
        
        
            0 
        
        
            2315 
        
                    posted 13 years ago by JonnyCraze
            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 
        
        
            2287 
        
                    posted 15 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 
        
        
            2200 
        
                    posted 15 years ago by dan_hoerr
            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 
        
        
            2573 
        
                    posted 15 years ago by chrisdpratt
            Standard list markup, adds button to expand a super dropdown next to the link.
        
        
        
            1 
        
        
            1529 
        
                    posted 16 years ago by davebowker
            This is the javascript code that enables you to create hover effects also in IE6. It's clean, it's light, it's super! :)
Apply that code to your document (eg. in <head></head>) and in css add like this:
ul li:hover,  ul li.shover {  your css st...
        
        
        
            1 
        
        
            1586 
        
                    posted 16 years ago by mihael
            This was created as a temporary solution to the wide dropdowns that sometimes appear in OpenAir timesheets and cause horizontal scrolling. Adding this script as a bookmarklet and clicking it will resize all selects (dropdowns) on a page to 340px wide...
        
        
        
            0 
        
        
            1129 
        
                    posted 17 years ago by Todd
            Haven't had a chance to use this but it looks very promising.
        
        
        
            14 
        
        
            2063 
        
                    posted 18 years ago by aznprncritic
             « Prev 1 Next »