Continuing saga: the following code is in a NetForm procedure. The last 2 lines (in red) are my addition to the generated template code. The addition of the heightstyle option works in Firefox as planned--that is to say that each tab in the Accordion resizes automatically to fit the content height. However, in IE10, what happens with this custom code is that the form generates without the accordion tabs (it shows hyperlinks instead) and the functionality of the form is broken: the save/cancel buttons don't work and there is no field entry possible.
Case loc:WebStyle
of Net:Web:Accordion
loc:options = 'active:' & choose(p_web.GetSessionValue('showtab_UpdateCustomerGroup')>0,p_web.GetSessionValue('showtab_UpdateCustomerGroup'),'0') & ',' &|
'change: function(event, ui) {{ TabChanged(''UpdateCustomerGroup_tabchanged'',jQuery(this).find("h3").index(ui.newHeader[0])); }'
! Start of "Set jQuery Accordion Options"
! [Priority 5000]
! Set accordion heightstyle to size to each section's individual content
loc:options = clip(loc:options) & ',heightStyle: content'