|
-
Mar 2nd, 2001, 04:52 AM
#1
Thread Starter
Hyperactive Member
I'm using the following to change the location of my frame, but it only works if I put an alert box in afterwards.
Works
--------
parent.mainFrame.document.location="http://www.teamtalk.com";
alert("hello");
Doesn't Work
-----------------
parent.mainFrame.document.location="http://www.teamtalk.com";
I assume it's because it needs a doevents of some kind. I've put in a parent.mainFrame.Refresh, which doesn't work without the alert box either.
-
Mar 2nd, 2001, 05:46 AM
#2
Frenzied Member
you don't need "Document" in there:
parent.mainFrame.location="http://www.teamtalk.com"
-
Mar 2nd, 2001, 07:32 AM
#3
Thread Starter
Hyperactive Member
i've just taken the document out, and it still doesn't work. any more ideas?
-
Mar 2nd, 2001, 07:40 AM
#4
Frenzied Member
well that's really wierd!
because that works fine for me in IE and NS
-
Mar 2nd, 2001, 07:44 AM
#5
Thread Starter
Hyperactive Member
can i send my file to your email address, and see if it works?
-
Mar 2nd, 2001, 07:51 AM
#6
Frenzied Member
OK but i'm off home in 5 minutes!
-
Mar 2nd, 2001, 07:53 AM
#7
Thread Starter
Hyperactive Member
what's your email address, because the email option on the profile isn't allowed.
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
|