:: Forum >>
UI.Combo does not work on Firefox 3
i am using the UI.combo as a color selection drop down. co-worker installed firefox 3 and the combo does not work anymore. the scroll bar appears in the middle of the width, not on the right. also when click on an item, it does not select.
my code is:
<style>
.aw-image-Black {background-color: #000000;}
.aw-image-Blue {background-color: #6699FF;}
.aw-image-Green {background-color: #66CC00;}
.aw-image-Red {background-color: #FF3300;}
.aw-image-Yellow {background-color: #FFFF00;}
.aw-image-Purple {background-color: #CC33FF;}
.aw-image-Gray {background-color: #808080;}
.aw-image-Brown {background-color: #A5592A;}
.aw-image-White {background-color: #FFFFFF;}
#myColors .aw-item-image, #myColors-popup .aw-item-image {
border: 3px solid #fff;
}
</style>
<script>
var objAbove = new AW.UI.Combo;
objAbove.setId("myColors");
objAbove.setItemText(colorsText);
objAbove.setItemImage(colorsImage);
objAbove.setItemCount(colorsText.length);
objAbove.setControlText("Red");
objAbove.setControlImage("Red");
objAbove.getContent("box/text").setAttribute("readonly", true);
document.write(objAbove);
// update textbox image
objAbove.onSelectedItemsChanged = function(items){
this.setTimeout(function(){
this.setControlImage(this.getItemImage(items[0]));
});
}
</script>
any clues? is there any other known problems with Firefox 3? thanks
mango
Wednesday, July 9, 2008
Which AW version do you use? FF 3 is only supported by AW 2.5.2.
Alex (ActiveWidgets)
Tuesday, July 15, 2008
This topic is archived.
Back to support forum
Forum search