Forum Moderators: open

Message Too Old, No Replies

netscape and frames

weird characters get displayed in one of the frames

         

sk9999

9:15 pm on Mar 28, 2002 (gmt 0)



I have 2 frames on a page that comes up when i click on a button.
It loads up fine in MSIE bowser but having some problems while loading
it up in Netscape(4.77).

The lower frame doesn't have any problem while loading but the upper
frame shows some wierd characters when it loads up.

I am controlling these two frames like this:

<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="Adobe PageMill 3.0 Win">
<TITLE>Executive Summary</TITLE>
</HEAD>
<FRAMESET FRAMEBORDER=1 ROWS="175,*">
<FRAME MARGINHEIGHT="0" MARGINWIDTH="0" SCROLLING="NO" SRC="/cgi-bin/testing/test?page_name=menu_page>
<FRAME MARGINHEIGHT="0" MARGINWIDTH="0" SRC="/cgi-bin/testing/test?page_name=target_page>
<!--End_Links-->
<NOFRAMES>
Viewing this page requires a browser capable of displaying frames.
</NOFRAMES>
</FRAMESET>
</HTML>

Any clues??????

tedster

9:19 pm on Mar 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the forum, sk9999

Are you running any scripts in the top frame? Or is it straight HTML?

pcguru333

9:19 pm on Mar 28, 2002 (gmt 0)

10+ Year Member



I don't know how much of a difference it will make but the </frameset> tag comes before your <noframes> tags.

...Nevermind I am just a rambling fool.

Note to self: SHUT UP

tedster

9:29 pm on Mar 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sorry pcguru, but you got that one wrong. <noscript> tags come after the </script> but the <noframes> section should be inside the <frameset>.

It's one of the most commonly miswritten tags on the web.

pcguru333

9:39 pm on Mar 28, 2002 (gmt 0)

10+ Year Member



I knew it didn't sound right after I posted it so I went to w3c.org and confirmed my foolishness.

Sorry I am out of ideas.

pcguru333

9:41 pm on Mar 28, 2002 (gmt 0)

10+ Year Member



I doesn't look like the frameset is the problem, should look at the code for the top frame...

sk9999

10:02 pm on Mar 28, 2002 (gmt 0)



thanks guys fo answering...

this is the page which is having problem while loading up...
At the top it has a form and when that loads up it messes all the character below that.

<HTML>
<HEAD>
<TITLE>Menu</TITLE>
</HEAD>
<BODY TOPMARGIN=0 BACKGROUND="/Test/bg.JPG" TEXT="#ffffff">

<FORM METHOD="POST" ACTION="/cgi-bin/pension/execsumm/execsumm" TARGET="_top">
<TABLE BORDER="1" CELLSPACING="0" CELLPADDING="0" BGCOLOR="#000080">
<TR VALIGN="CENTER">
<TD WIDTH="60" ALIGN="CENTER">
<IMG SRC="/Test/Banner.JPG" WIDTH="49" HEIGHT="13" BORDER="0">
</TD>
<!--Start_Options-->
<!--Start_Cover_Banner-->
<TD WIDTH="60" ALIGN="CENTER">
<IMG SRC="/Test/coverBanner.JPG" WIDTH="38" HEIGHT="13" BORDER="0"></TD>
<!--End_Cover_Banner-->
<!--Start_Letter_Banner-->
<TD WIDTH="60" ALIGN="CENTER">
<IMG SRC="/Test/letterBanner.JPG" WIDTH="42" HEIGHT="13" BORDER="0"></TD>
<!--End_Letter_Banner-->
</TR>
<TR>
<TD WIDTH="60" ALIGN="CENTER" VALIGN="TOP">
<INPUT TYPE="radio" VALUE="options" NAME="page_selected" CHECKED="1">
</TD>
<!--Start_Cover_Option-->
<TD WIDTH="60" ALIGN="CENTER" VALIGN="TOP">
<INPUT TYPE="radio" VALUE="cover" NAME="page_selected">
</TD>
<!--End_Cover_Option-->
<!--Start_Letter_Option-->
<TD WIDTH="60" ALIGN="CENTER" VALIGN="TOP">
<INPUT TYPE="radio" VALUE="letter" NAME="page_selected"></TD>
<!--End_Letter_Option-->
<!--End_Options-->
<TD WIDTH="67" ALIGN="CENTER" VALIGN="TOP">
<INPUT TYPE="hidden" NAME="page_name" VALUE="menu_frame">
<!--Hidden_Fields-->
<!--End_Fields-->
<INPUT NAME="submit" TYPE="submit" VALUE="Go"></TD>
</TR>
</TABLE></FORM>
</BODY>
</HTML>

tedster

10:13 pm on Mar 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can't immediately see a problem.

One little quibble: valign takes the value "middle", not "center". But that's not what's making your weird characters.

sk9999

10:50 pm on Mar 28, 2002 (gmt 0)



It loads up fine initially, but when the forms loads up it messes up all the characters.

tedster

11:32 pm on Mar 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here's the debug approach I would take. Start experimenting with wher you place the <form> amd </form> tags. Find a valid placement that includes a minimum of other elements (and preferably NO other elements).

You might consider a nested table for the FORM itself, inside one of the TD tags:

<td>
<form>
<table>form code</table>
</form>
</td>

Even better would be a totally separate Form table, with any other page elements in their own dedicated table.

Forms aren't new technology - I know you can get this to work.