newbieit Posted June 19, 2008 Share Posted June 19, 2008 Hi There I am working with the webpage that has got 6 frames in the main page. The main page doesnt have any HTML apart from the src of the frames. When i am trying to click on the button on the different frames i cant do as no HTML is detected. IS there any way i can use the location of the frame and use the html or text on that frame. If i try to open the frame separately using the link then i can click on the javascript button using the ID of that object. BUt i cant use it with the main page. Please help. Thanks <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <HTML> <HEAD> <TITLE>- Main</TITLE> <meta name="GENERATOR" Content="Microsoft Visual Studio 7.0"> <meta name="CODE_LANGUAGE" Content="C#"> <meta name="vs_defaultClientScript" content="Javascript"> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> </HEAD> <frameset rows="50,86%,23" frameBorder="no"> <frame name="header" src="header.aspx" scrolling="no" frameBorder="no"> <FRAMESET cols="16.5%,83.5%"> <frameset rows="50%,12%" frameborder="no"> <FRAME name="link" src="menu.aspx"> <frame name="notice" src="notice.aspx" scrolling="no" frameBorder="no"> </frameset> <frameset rows="20,100%" frameBorder="no"> <frame name="mainHeader" id="mainHeader" src="TitleHeader.aspx" noresize scrolling="no"> <frame name="main" id="main" src="home.aspx" noresize scrolling="auto"> </frameset> </FRAMESET> <frame name="footer" src="Refreshmsg.aspx" noresize> <noframes> <pre id="p2"> ================================================================ INSTRUCTIONS FOR COMPLETING THIS HEADER FRAMESET 1. Add the URL of your src="" page for the "header" frame. 2. Add the URL of your src="" page for the "main" frame. 3. Add a BASE target="main" element to the HEAD of your "header" page, to set "main" as the default frame where its links will display other pages. ================================================================ </pre> <p id="p1"> This HTML frameset displays multiple Web pages. To view this frameset, use a Web browser that supports HTML 4.0 and later. </p> </noframes> </frameset> </HTML> Link to comment Share on other sites More sharing options...
DaleHohm Posted June 19, 2008 Share Posted June 19, 2008 Please show some code you've tried, share your results and analysis. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted June 19, 2008 Moderators Share Posted June 19, 2008 Have you tried the _IEFrame* functions? 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