|
-
Feb 1st, 2001, 11:13 AM
#1
Thread Starter
Lively Member
Does anyone know the equivalent of this javascript
statement:
parent.right.location.href=(URL);
in vbscript?
Background:
I am using frames (frameMain, frameLeft, frameRight)
Using the values in 2 scroll down boxes (frameLeft)
I figure out the html page the user wants to see and
then show this page in frameRight.
Also, on loading of frameLeft I determine the day and
time and show the html page for that date/time in
frameRight.
I wrote the "find html page" code in VBscript and then
called a function ShowPage(URL), written in Javascript.
ShowPage(URL){
parent.right.location.href=(URL);
}
This worked fine for the first 5 days of testing and then
mysteriously stopped working and now produces an
error page. I'm stumped. The only thing I can think of
is to change the function to VBscript.
Thanks in advance,
rlb_wpg
-
Feb 1st, 2001, 11:52 AM
#2
Thread Starter
Lively Member
Figures ...
After staring at it for ages (and I do mean ages), the problem ended up being a spelling error -- one single letter!
Nonetheless, if anyone knows the vbscript equivalent of that javascript code, I still appreciate it.
Thanks
-
Feb 2nd, 2001, 08:27 AM
#3
Conquistador
through vbscript u can normally declare that u r using javascript and then you can use the javascript function...
i.e.
onload="<%<script language="javascript">"
or something like that
i have used javascript mplementation in vbscript, so i hope this helps.. :|
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
|