Sign in to follow this  
Followers 0
jandos

how to select a tab element from in a Tabbed Panel

5 posts in this topic

Hello Everyone.

Please help to select a tab element on a Web Tabbed Pannel (eg. Tab2 from the code below), is there a way to do this??

have the following code:

(not included in a form)

---------------------------------------------------------

<div id="TabbedPanels1" class="TabbedPanels">

<ul class="TabbedPanelsTabGroup">

<li class="TabbedPanelsTab" tabindex="0">

<strong>Tab1</strong>

</li>

<li class="TabbedPanelsTab" tabindex="1">

<strong>Tab2</strong>

</li>

</ul>

----------------------------------------------------------

Thanks to any 1 who helps :)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hello Everyone.

Please help to select a tab element on a Web Tabbed Pannel (eg. Tab2 from the code below), is there a way to do this??

have the following code:

(not included in a form)

---------------------------------------------------------

<div id="TabbedPanels1" class="TabbedPanels">

<ul class="TabbedPanelsTabGroup">

<li class="TabbedPanelsTab" tabindex="0">

<strong>Tab1</strong>

</li>

<li class="TabbedPanelsTab" tabindex="1">

<strong>Tab2</strong>

</li>

</ul>

----------------------------------------------------------

Thanks to any 1 who helps >_<

These are Javascript objects. You might be able to drill down to an object reference to the tab (i.e. <li class="TabbedPanelsTab" tabindex="1">) and use _IEAction() to fire any onclick events associated with it.

:)

Edit: Fixed link URL.

Edit2: ...or not. Something strange causing the link not to work. The link looks correct in the edit window, but is screwed up in the post.

It should be: http://blog.paranoidferret.com/index.php/2...-tabbed-panels/

Edited by PsaltyDS

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

These are Javascript objects. You might be able to drill down to an object reference to the tab (i.e. <li class="TabbedPanelsTab" tabindex="1">) and use _IEAction() to fire any onclick events associated with it.

:)

-------------------------------------------

ok,

that link is not working (Javascript) :idiot:

good answer, but i'll have to study a little this JScript objects...... still don't know how to "drill down to an object reference to the tab".

If You have time, please write some code.

THANK YOU >_<

Share this post


Link to post
Share on other sites

-------------------------------------------

ok,

that link is not working (Javascript) >_<

Link tweaked.

good answer, but i'll have to study a little this JScript objects...... still don't know how to "drill down to an object reference to the tab".

Start with the help file entries and examples for the various _IE* functions of the IE.au3 UDF. Google up a DOM inspector, like DebugBar, to show you the actual path to the objects you are working with.

If You have time, please write some code.

THANK YOU :)

That's your job...

:idiot:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Link tweaked.

Start with the help file entries and examples for the various _IE* functions of the IE.au3 UDF. Google up a DOM inspector, like DebugBar, to show you the actual path to the objects you are working with.

That's your job...

:P

----------

:( Thank You!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0