XML Server Getting Started    
the grouped controls. This blinking could be avoided by turning  off  initial visibility of the 
groupbox
 and everything it 
contains: 
 
 
 
 
                .   .   .   Other HTML elements .   .  .   . 
 
 
 
Accordingly, the last line of 
constructor()
 turns the visibility of the entire control  on , assuming  user might have initialized 
groupbox
 as not visible: 
  element.style.display=""; 
Now that /xmlsp/htc/groupbox.htc file is ready we have to tell IE that all 
 
tags on the page should be 
processed as that HTC prescribes. There are two distinct ways to do it. 
Behaviors
 can be attached to the element or class via 
CSS 
behavior
 attribute, like in the following example: 
 
 
 
 
                .   .   .   Other HTML elements .   .  .   . 
 
 
 
Attached behaviors' HTCs are downloaded by browser 
on demand
 and asynchronously.  
Also, 
behaviors
 can be synchronously imported into a namespace with a processing instruction 
IMPORT
: 
 
 
 
 
 
                .   .   .   Other HTML elements .   .  .   . 
 
 
 
 2000 2002 Computer Technology Inc. All rights reserved. 
Page 19 




J2EE Web Hosting Tundra XML Server Pages J2EE Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.