|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
TabStrip change by javascriptI am working with ie webcontrols
I need to change the selected Tap by clientside code. Is it possible? regards Mathias it's absolutely possible... Change the css class of your TabStrip and you're
done... I don't know how your tabstrip is done, but in javascript you should use (google it if you don't know what those methods are) : var actualTabId = <the default class id>; function ChangeTab(newTabId) { var oldTab = document.getElementById(actualTabId); if (oldTab) oldTab.className = 'Tab'; var newTab = document.getElementById('<the element id>'); if (newTab) newTab.className = 'ActiveTab'; actualTabId = newTabId; } it should work like this... I didn't test it, but it should... ;) I hope it helps ThunderMusic <mathiasfrit***@gmx.de> wrote in message Show quoteHide quote news:1160561807.665576.86750@b28g2000cwb.googlegroups.com... >I am working with ie webcontrols > I need to change the selected Tap by clientside code. Is it possible? > regards > Mathias >
Detecting the browser once IE7 comes out
Preset fields in detailsview. Wizard - setting the size DropDownList question Javascript changes not saved Are there any updates released for IE7? Formview dropdownlist won't populate in insert mode, but does in edit mode ??? Edit Command Gridview GridView Hyperlink Field Append URL? datagrid ignoring my columnspans |
|||||||||||||||||||||||