I'm a beginner in VBscript.
I'm trying find out how to update 2 frames at the same time with 1 link.
for example:
I have an ASP page that contains 2 frames. There's a toolbar frame and a content frame. I want to click on a link in the toolbar to update the content frame and the toolbar frame itself.
In Javascript, it can be done by the following function:
<script LANGUAGE=JavaScript>
function change2pages()
{
parent.newstoolbar.location.href = "newstoolbar2.htm";
parent.newscontent.location.href = "newscontent2.htm";
}
</script>
Can it be done in a similar approach in VBscript?
Any suggestions would be appreciated.
Ched
I'm trying find out how to update 2 frames at the same time with 1 link.
for example:
I have an ASP page that contains 2 frames. There's a toolbar frame and a content frame. I want to click on a link in the toolbar to update the content frame and the toolbar frame itself.
In Javascript, it can be done by the following function:
<script LANGUAGE=JavaScript>
function change2pages()
{
parent.newstoolbar.location.href = "newstoolbar2.htm";
parent.newscontent.location.href = "newscontent2.htm";
}
</script>
Can it be done in a similar approach in VBscript?
Any suggestions would be appreciated.
Ched