Good day folks! The app I'm working on has a tree with selectable optional overlays via check boxes plus an active layer radio button. When the app loads, I would like to specify one of the layers as active. I found in an earlier thread that if I put in this snippet before the end of the Ext.onReady():
var node= tree.root.findChild('layer',wwalayer,true); Ext.get(node.attributes.radio).set({ 'checked': true }); then the wwalayer radio button is "checked" when the page loads in Firefox so the user knows it is active. But, for some reason, this does not happen in IE8, though the layer is active. I know because a pop window appears on mouseover of the vector layer "Hazards"...won't do this if layer is not active. I'd like to have the same behavior in both browsers. I've tried examining the page via Developer Tools in IE8, but things don't seem to match up when I use Firebug in Firefox, i.e. there's node.attributes.radio in both but there's no 'checked' property displayed in the Developer Tools window when debugging in IE8. It's there in Firebug, though. I've tried looking through the list of properties but couldn't seem to find a property I could use for both. My test page: http://www.mdl.nws.noaa.gov/wxmap/wxmapHourlyDay_test.php I have thought of maybe triggering the radiochange event and seeing if that would work. Just didn't get there yet and was perhaps hoping someone else may have run into this issue. Thanks for any help and I'll report if I solved this via triggering the event. Dave M
_______________________________________________ Users mailing list Users@geoext.org http://www.geoext.org/cgi-bin/mailman/listinfo/users