I am new to YUI and I am doing some SugarCRM PHP modifications. I need to change my z-index on this class
.yui3-aclist { z-index: 100; }
HOW CAN I DO THIS FROM JAVASCRIPT / YUI ???
The API doens’t allow me access to the .css files.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Setting zIndex won’t actually do anything, because the AutoCompleteList doesn’t inherit from WidgetStack (since YUI 3.4.0, anyway).
Instead, you can set it directly on the bounding box of the AutoComplete plugin:
You can see a working example here:
http://jsbin.com/amayux/1/edit