Author: abelevich
Date: 2008-01-09 11:34:43 -0500 (Wed, 09 Jan 2008)
New Revision: 5230
Modified:
trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
Log:
add button gradient processing
Modified: trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
===================================================================
--- trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx 2008-01-09 15:55:45 UTC
(rev 5229)
+++ trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx 2008-01-09 16:34:43 UTC
(rev 5230)
@@ -54,9 +54,11 @@
<div id="#{clientId}" class="rich-cb-font rich-cb-shell"
style="width:#{listWidth}">
<input id="comboboxField#{clientId}" class="rich-cb-font
rich-cb-field" type="text" size="#{inputSize}"
autocomplete="off" style="width:#{listWidth}">
</input>
- <input readonly="true" type="text" value=""
class="rich-cb-button rich-cb-font rich-cb-button-bg">
+ <input id="comboBoxButtonBG#{clientId}" readonly="true"
type="text" value="" class="rich-cb-button rich-cb-font
rich-cb-button-bg">
</input>
- <input id="comboboxButton#{clientId}" readonly="true"
type="text" value="" class="rich-cb-button rich-cb-font
rich-cb-button-arrow">
+ <input id="comboboxButton#{clientId}" readonly="true"
type="text" value="" class="rich-cb-button rich-cb-font
rich-cb-button-arrow"
+ onmousedown="document.getElementById('comboBoxButtonBG#{clientId}').className='rich-cb-button
rich-cb-font rich-cb-button-bg-press'"
+ onmouseup="document.getElementById('comboBoxButtonBG#{clientId}').className='rich-cb-button
rich-cb-font rich-cb-button-bg'" >
</input>
<input type="text" class="rich-cb-strut rich-cb-font"
style="width:#{listWidth}">
</input>
Show replies by date