Active
Project:
Active Select
Version:
master
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2006 at 05:47 UTC
Updated:
25 Feb 2008 at 00:37 UTC
When I use active select, the SELECT boxes change size when a new active Query happens. How do I keep this from happening? How do I make the select boxes a certain width?
Comments
Comment #1
krunar commentedwell..i guess you have figure out the answer after a year and a half...but since i just find it my self i will write it down is case someone else needs that.
Conf: Drupal 5.7 + activeselect-5.x-1.0
Solution 1 (sets the size of the source)
In line 71 set the maxwidth your self
After
this.setSelectWidth(maxWidth);Add
this.setSelectWidth(8);Solution 2.
this one is not mine...found in a site
Also BE CARE FULL with this one my activeselct stop working on IE7 so not much of a use
comment line 71
this.setSelectWidth(maxWidth);and line ~190
this.setTargetWidth(targetIndex, maxWidth);hope it will be of some use to anyone
Comment #2
vanvemdenSet the width in your stylesheet by using:
width: 150px !important;
Works for me and no need to hack the code.