> Newell, Gary wrote:
>> I looking for some help with multiple select menus.  When multiple items
>> are highlighted, I want to be able to determine where in the list the
>> cursor is currently located.  For example, if my list has A, B, C, D, E
>> options, and BDE are selected, and the users last selection was D, I
>> want to know that the cursor's position is at option 3 (where A=0, B=1,
>> etc).

do you mean if the user is tabbing thru your form rather than mousepos? 
if you only care about mouse data, can't you have mouseOver events for 
every form element, similar to

<select>
   <option onmouseover="setCurrent(1)">Option 1</option>
   <option onmouseover="setCurrent(2)">Option 2</option>
   <option onmouseover="setCurrent(3)">Option 3</option>
   <option onmouseover="setCurrent(4)">Option 4</option>
</select>

and then have a javascript function that just

var mostRecent=0
function setCurrent (selectorNumber) {
   mostRecent = selectorNumber;
}


if you're actually asking a css question, then sorry i missed the point! 
the only css-type answer i can think of is that if you're trying to 
create some sort of tool tips, you might check out erik meyer's slick 
example here:
http://meyerweb.com/eric/css/edge/popups/demo.html

josh


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to