Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Split current page into frames

Status
Not open for further replies.

Wes98765

Programmer
Jul 31, 2002
135
US
Hey guys I know I have done this before but I can't remember how. I need to be able to have a link on a page and when that link is clicked split the current page into frames with one child frame on the left in response to the link.

Thanks for any help

Wes
 
Hi Wes,

Don't know exactly what you mean. What I'm think of here, however, can be done w/o the use of JavaScript:

Place this link on your page:

[tt]<A HREF=&quot;split.html&quot; TARGET=&quot;_self&quot;>Split the screen in two...</A>[/tt]

The source code in &quot;split.htm&quot; should then be:

[tt]<FRAMESET COLS = &quot;50%,50%&quot;>
<FRAME SRC =&quot;left.html&quot;></FRAME>
<FRAME SRC =&quot;right.html&quot;></FRAME>
</FRAMESET>
[/tt]

Does this do the trick for you?

Regards


Jakob
 
Thats why I could not remember how to do it in JS hehe.

Thanks a lot

Wes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top