View Full Version : Another tabelement question
jprugh
04-09-2004, 08:56 AM
Is there a way to have a tabelement default to the open position? I don't see an open/closed attribute.
Thanks,
JP
antun
04-09-2004, 09:02 AM
There might be another way, but tabslider inherits the openTab() method from basetabslider (it's done at the tabslider level, not at the tabelement level):
<canvas width="200" height="250" >
<tabslider width="150" x="10" y="10"
height="200" mintabheight="40"
spacing="2" slideduration="300"
oninit="this.openTab( this.foo )">
<tabelement text="Tabelement One" minheight="20"/>
<tabelement name="foo" text="Tabelement Two" />
<tabelement text="Tabelement Three" />
</tabslider>
</canvas>
-Antun
jprugh
04-09-2004, 09:15 AM
Just what I needed. Thanks!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.