loading frames (asp)

  • Thread starter Thread starter Jessica Weiner
  • Start date Start date
J

Jessica Weiner

I have a website with the company logo on top. Underneath the logo there is
a menu which has links. When the user clicks on a link, I want to be able to
take them to that page without having to reload the company logo on top.
Here is a good example of what I am trying to do.

http://www.jetsonj2ee.com/

This website does exactly what I want. The links only load the contents
below the company logo. How can this be accomplished?

Thanks.
Jess
 
Hi,


Frames will do just fine
You define a frame like :

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="radMain.aspx.vb"
Inherits="radIncident" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>SIMS</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</HEAD>
<frameset rows="*" cols="160,*" frameborder="0" border="0"
framespacing="0">
<frame src="radLeftMenu.aspx" name="leftFrame" scrolling="no" noresize>
<frameset rows="280,*" cols="*" framespacing="0" frameborder="no"
border="0">
<frame src="radIncident_List.aspx" name="mainFrame1" scrolling="no">
<frame src="radBottom.htm" name="mainFrame2" scrolling="auto" >
</frameset>
</frameset>
</HTML>


Then you can make reference to others frames doing:
window.parent.frameName.Location = thrURL;
 

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

Back
Top