Active
Project:
Jquery Dropdown
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2011 at 22:56 UTC
Updated:
18 Jan 2012 at 18:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
impeccable-1 commentedI also need this urgently!! Any plans!! ??
Comment #2
drupa11y commentedMe too. Would be very cool for D7.
Comment #3
j0rd commented+1 need this for a site I'm working on.
Comment #4
j0rd commentedActually, this is barely a module. It just adds the CSS & JS. In D7 you could easily be ported to D7 I bet by simply updating the .info files add drupal_get_path() drupal_add_js() and drupal_add_css() are included with D7 and I believe have very similar syntax.
Comment #5
j0rd commentedHere's a port of the module.
If I the maintainer could upload it to the project page so everyone else can use it. Seems to work fine for me. Give a shout out to my user profile :)
I did change the CSS classes and in turn the Javascript. Now instead of underscores it uses dashes.
So. class="jquery_dropdown" becomes class="jquery-dropdown"
Comment #6
Anonymous (not verified) commentedjOrd,
Module contains references to css and js directories. Should be:
function jquery_dropdown_init() {
drupal_add_js(drupal_get_path('module', 'jquery_dropdown').'/jquery_dropdown.js');
//will want to override with your own CSS
drupal_add_css(drupal_get_path('module', 'jquery_dropdown').'/jquery_dropdown.css');
}
Comment #7
branana commentedThis module can be use as an alternative: http://drupal.org/project/selectmenu
Comment #8
Toxid commentedMacjules, I could not get your function to work, it doesn't find the files unless the specific folders are defined. J0rds module works as is though.
Comment #9
jras commentedConfirming that #6 works out of the box for D7.
@jOrd Thanks so much for porting and putting it out there for the rest of us. I've been pulling my hair out trying to find a way to theme select lists. This is a great help.