Re: Document.Head.InnerHTML ??
From: McKirahan (News_at_McKirahan.com)
Date: 08/28/04
- Next message: McKirahan: "Re: User authentication using scripting?"
- Previous message: Luis Reyna: "User authentication using scripting?"
- In reply to: mayayana: "Re: Document.Head.InnerHTML ??"
- Next in thread: Christoph Basedau: "Re: Document.Head.InnerHTML ??"
- Reply: Christoph Basedau: "Re: Document.Head.InnerHTML ??"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 28 Aug 2004 01:46:24 GMT
"mayayana" <mayaXXyana1a@mindYYspring.com> wrote in message
news:mNPXc.729$JT3.332@newsread3.news.atl.earthlink.net...
> You mean that all the write calls work except with the variable?
> I don't know why that might be. If none of them worked it might
> be because it's still loading and needs a loop to wait for that.
>
> I don't know if I've ever tried to create an IE instance from
> within a webpage, so I'm not sure whether there are any issues
> with that. Is there any reason not to just use window.open?
>
> Dim Win1, s
> s = "hello world"
> Set Win1 = window.open("", null,
> "height=400,width=400,status=no,toolbar=yes, etc...")
> With Win1.document
> .Write "first line"
> .Write "second line"
> .Write s
> .close
> End With
>
> That does the same thing except that you have limited access
> to the actual IE object once the window is created. The 3rd
> parameter takes numerous IE properties when setting up the
> window, but what's returned in Win1 is a window object rather
> than an IE object.
[snip]
Thanks for the suggestion.
Though I couldn't get the example that I posted to work (perhaps it's a
timing issue as you suggested; I'll try again), I did get it (writing a
variable) to work in my production code.
- Next message: McKirahan: "Re: User authentication using scripting?"
- Previous message: Luis Reyna: "User authentication using scripting?"
- In reply to: mayayana: "Re: Document.Head.InnerHTML ??"
- Next in thread: Christoph Basedau: "Re: Document.Head.InnerHTML ??"
- Reply: Christoph Basedau: "Re: Document.Head.InnerHTML ??"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|