General discussion

Locked

Links on web pages

By jillianb ·
Situation: I have 2 web pages open.
Problem: I want a link on page 1 to bring up the 2nd page I already had open (sort of a forced toggle...)
Does anyone know how to do that?

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Do you know how to do html?

by gralfus In reply to Links on web pages

These kinds of questions really belong in the Technical Q&A section.

In HTML, it is just a matter of making a link on page 1 to page 2, and then make a link on page 2 to page 1.

Roughly, something like this:
<A HREF="page2.htm">Link to Page 2</A>

<A HREF="page1.htm">Link to Page 1</A>

Collapse -

RE: Links on web pages

by Zeshan In reply to Links on web pages

If all you want is the focus to change to the 2nd window then simply do this (make sure the 2nd window has a name):

<a href="javascript:window.2ndWin.focus()">2nd Window</a>

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums