jandos Posted September 30, 2008 Share Posted September 30, 2008 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 Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 30, 2008 Share Posted September 30, 2008 (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 October 3, 2008 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 Link to comment Share on other sites More sharing options...
jandos Posted October 3, 2008 Author Share Posted October 3, 2008 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) 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 >_< Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 3, 2008 Share Posted October 3, 2008 -------------------------------------------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... 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 Link to comment Share on other sites More sharing options...
jandos Posted October 4, 2008 Author Share Posted October 4, 2008 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... ---------- Thank You! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now