How to leave a frameset for opening a new frameset with a JavaScript

S

Stefan Mueller

I open my frameset (file 'index.html') with
<frameset frameborder = "0" framespacing = "0">
<frame src="page1.html" name="frame_1>
<frame src="page2.html" name="frame_2>
</frameset>

With
document.location.href = "page1-new.html";
I can open a new page within the first frame.

But how can I reload 'index.html'?

With
document.location.href = "index.html";
the new frameset gets created within the first frame.

Stefan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,829
Latest member
PIXThurman

Latest Threads

Top