I must be still doing something wrong. I tried adding the line to the activate like this....
_activate : function() {
if (this._enabled) {
var elt = this.get_element();
Sys.UI.DomElement.setVisible(elt,
true);
Sys.UI.DomElement.addCssClass(this._tab,
"ajax__tab_active");
// added this line to make it visible
this._owner.get_element().style.visibility =
true;this.populate();
this._show();
}
},
_deactivate : function() {
if (this._enabled) {
// original lines below
var elt =
this.get_element();Sys.UI.DomElement.setVisible(elt,
false);
Alll the tabs dont show up? Anyone else having this happen?
-------------
Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
spafa9
Member
126 Points
112 Posts
Re: How to set a Tab in a Tabcontainer to disabled (but visible)
Jan 04, 2008 01:26 PM|LINK
I must be still doing something wrong. I tried adding the line to the activate like this....
_activate : function() { if (this._enabled) { var elt = this.get_element();Sys.UI.DomElement.setVisible(elt,
true); Sys.UI.DomElement.addCssClass(this._tab, "ajax__tab_active"); // added this line to make it visible this._owner.get_element().style.visibility = true;this.populate();
this._show();}
},
_deactivate : function() { if (this._enabled) { // original lines below var elt = this.get_element();Sys.UI.DomElement.setVisible(elt, false);}
Sys.UI.DomElement.removeCssClass(this._tab, "ajax__tab_active");},
Alll the tabs dont show up? Anyone else having this happen?
Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.