Jump to content

Recommended Posts

Posted (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 by E1M1

edited

  • Moderators
Posted

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.

Posted (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 by E1M1

edited

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
×
×
  • Create New...