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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frame Problems

Status
Not open for further replies.

tlhawkins

Programmer
Dec 28, 2000
797
US

I hate frames. This is the first time that I have been unable to talk people out of using frames. So I am stuck with them.

Someone else wrote the pages with frames and I am supposed to add the forms and ASP.

Here is the Frameset:
Code:
<frameset border=&quot;0&quot; frameborder=&quot;no&quot; framespacing=&quot;0&quot; rows=&quot;101,*&quot;>
  <frame name=&quot;top&quot; noresize scrolling=&quot;no&quot; src=&quot;top.html&quot;>
  <frameset border=&quot;0&quot; cols=&quot;123,*&quot; frameborder=&quot;no&quot; framespacing=&quot;0&quot;>
    <frame name=&quot;left&quot; noresize scrolling=&quot;no&quot; src=&quot;left.html&quot;>
    <frame name=&quot;main&quot; noresize src=&quot;main.htm&quot;>
  </frameset>
</frameset>

So the problem is:
left.html loads pages into frame &quot;main&quot; from frame &quot;left&quot; it works fine until it loads on of my forms which calls the database and whatnot, then when my form is copletely done I reload main.htm into fram &quot;main&quot;.  Once that is done left.html will no longer load pages into fram &quot;main&quot; they all load into a new browser.

Any ideas what could be causing this, or a way to fix it?

Thank you for your time.
 
This line of code:

<frame name=&quot;left&quot; noresize scrolling=&quot;no&quot; src=&quot;left.html&quot;>

is missing the TARGET attribute. It needs to read like:

<frame name=&quot;left&quot; noresize scrolling=&quot;no&quot; target=&quot;main&quot; src=&quot;left.html&quot;>

HTH,
jp
 

I hoped and I hoped, but it didn't fix it. It still opens pages in a new window once the form has been submited. Do I need to tell the form to submit to target=&quot;main&quot; or is that allowed? The frameset works fine until a form is submited and then it all falls apart.

it fixes it of course to refresh the entire page, but I was hoping to avoid that.

Thanks for helping...
Any other possibilities?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top