E1M1 Posted May 29, 2011 Posted May 29, 2011 (edited) I tried to understand that udf, but I met objects that I couldn't understand. ocument.parentwindow.frames.length document.images forms.length document.forms.item() document.GetElementsByTagName Where does such objects come from? Are they part of javascript or are they IE specific? Edited May 29, 2011 by E1M1 edited
Moderators SmOke_N Posted May 29, 2011 Moderators Posted May 29, 2011 There are msdn links often provided in the headers, eg... http://msdn.microsoft.com/en-us/library/aa752084%28v=VS.85%29.aspx Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
E1M1 Posted May 29, 2011 Author Posted May 29, 2011 (edited) I just found out that this doesnt work. $oIE.document.getElementById("watch-player").style.position = "absolute"; $oIE.document.getElementById("watch-player").style.top = "0" $oIE.document.getElementById("watch-player").style.left = "0" Is there any methods to run javascript inside IE? Like pass it as string into IE and then exec? edit: $oIE.document.getElementById("watch-player" ).style.Width = "420" $oIE.document.getElementById("watch-player" ).style.Height = "40" does the job Edited May 29, 2011 by E1M1 edited
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