|
-
Apr 13th, 2001, 02:38 PM
#1
how can I in vbscript Wait till site loads, then doevents ?
Thanks in advance!
-
Apr 13th, 2001, 06:20 PM
#2
PowerPoster
I may be able to help, but i am not quite sure what you want. Are you saying that you want a function to wait until the page is loaded ant then start doing things? Because i think that this is the default way things are.
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Apr 14th, 2001, 02:36 AM
#3
What I mean is I've got a series of commands BUT one of them is to change document.location (i.e. URL) and I want it to wait till the page loads and only then continue.
One more question:
I have a frameset, topframe is name topFrame and bottem one is named bottemFrame, how can I from the top change the bottem one's location using vbs?
Thank you very much.
-
Apr 14th, 2001, 04:18 PM
#4
PowerPoster
hmmm....does all this have to be done in VBScript? Because what you want could be very easily done in JavaScript.
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Apr 14th, 2001, 05:24 PM
#5
Addicted Member
Here you go:
Code:
Sub Window_OnLoad()
Window.Navigate "http://www.vb-world.com"
End Sub
For your second question:
Code:
Window.Parent.Frames("topFrame").Document.Location = "http://www.vb-world.com"
Last edited by Shafee; Apr 14th, 2001 at 05:31 PM.
-
Apr 16th, 2001, 07:10 AM
#6
Addicted Member
Give a name for your form by including
name="Test"
(in my case i have used test)
and the code below will work.
Code:
window.parent.frames("top").document.forms("test").t1.value = "Test"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|