Writing RGBA code?
Posted: Tue Aug 09, 2011 10:34 am
Hi Support,
I'm working on a new extension called Orbit Slider and in one section I want to write some CSS code as follows:-
background: rgba(0,0,0,0.4);
I can't find a method in the extension builder that allows this to be done simply. So as a temporary solution I have had to use an XML template and have the end user specify each parameter separately. So they manually select red and enter a value from 0 to 255, the same for green and blue plus a pull down option for the opacity. It works but it cumbersome.
Can you either suggest a better way to achieve this or consider an update that will provide an rgba Type in the Edit Properties box?
I'm working on a new extension called Orbit Slider and in one section I want to write some CSS code as follows:-
background: rgba(0,0,0,0.4);
I can't find a method in the extension builder that allows this to be done simply. So as a temporary solution I have had to use an XML template and have the end user specify each parameter separately. So they manually select red and enter a value from 0 to 255, the same for green and blue plus a pull down option for the opacity. It works but it cumbersome.
Can you either suggest a better way to achieve this or consider an update that will provide an rgba Type in the Edit Properties box?