Jump to content
Sign in to follow this  
E1M1

Where does IE udf commands come from? Any documentation?

Recommended Posts

E1M1

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

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites
E1M1

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.