|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello
I have a little problem. It's only with frame and Netscape>4.5 and 4.6 I have a main page like: <base target="detail"> ...... <frameset rows="*,100%" border="0" framespacing="0" frameborder="NO"> <frame name="entete" border="0" frameborder="NO" scrolling="no"> <frame name="detail" src="page1.htm" border="0" frameborder="NO"> </frameset> ..... Then I have 4 pages. from the page1.htm I call the page2.htm from the page2.htm I call page3.htm.... When I am on the page4.htm I use the button "back" from Netscape menu, and I go to page2.htm. If I resize window I still stay on page2.htm. But I have defined on page4.htm this tag: <a href='javascript:history.go(-2)'>. When I click on I go to page2.htm, BUT if I RESIZE the window I go to the page4.htm. Could you help me to resolve that problem????? sources of file. Index.htm <html> <head> <title>Index</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <BASE TARGET="detail"> </head> <frameset rows="*,100%" border="0" framespacing="0" frameborder="NO"> <frame name="entete" border="0" frameborder="NO" scrolling="no"> <frame name="detail" src="page1.htm" border="0" frameborder="NO"> </frameset> <noframes> <body bgcolor="#FFFFFF"> </body> </noframes> </html> page1.htm <html> <head> <title>Page 1</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF"> <a href="page2.htm">page 1</a> </body> </html> page2.htm <html> <head> <title>Page 2</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" > <form> <a href="page3.htm">page 2</a> </form> </body> </html> page3.htm <html> <head> <title>Page 3</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF"> <a href="page4.htm">page 3</a> </body> </html> <html> <head> <title>Page 4</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> page4.htm <body bgcolor="#FFFFFF"> <a href="javascript:history.go(-2)">page 4</a> </body> </html> Thank you |
|
#2
|
|||
|
|||
|
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Borgeat:
Hello I have a little problem. It's only with frame and Netscape>4.5 and 4.6 I have a main page like: <base target="detail"> ...... <frameset rows="*,100%" border="0" framespacing="0" frameborder="NO"> <frame name="entete" border="0" frameborder="NO" scrolling="no"> <frame name="detail" src="page1.htm" border="0" frameborder="NO"> </frameset> ..... Then I have 4 pages. from the page1.htm I call the page2.htm from the page2.htm I call page3.htm.... When I am on the page4.htm I use the button "back" from Netscape menu, and I go to page2.htm. If I resize window I still stay on page2.htm. But I have defined on page4.htm this tag: <a href='javascript:history.go(-2)'>. When I click on I go to page2.htm, BUT if I RESIZE the window I go to the page4.htm. Could you help me to resolve that problem????? sources of file. Index.htm <html> <head> <title>Index</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <BASE TARGET="detail"> </head> <frameset rows="*,100%" border="0" framespacing="0" frameborder="NO"> <frame name="entete" border="0" frameborder="NO" scrolling="no"> <frame name="detail" src="page1.htm" border="0" frameborder="NO"> </frameset> <noframes> <body bgcolor="#FFFFFF"> </body> </noframes> </html> page1.htm <html> <head> <title>Page 1</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF"> <a href="page2.htm">page 1</a> </body> </html> page2.htm <html> <head> <title>Page 2</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" > <form> <a href="page3.htm">page 2</a> </form> </body> </html> page3.htm <html> <head> <title>Page 3</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF"> <a href="page4.htm">page 3</a> </body> </html> <html> <head> <title>Page 4</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> page4.htm <body bgcolor="#FFFFFF"> <a href="javascript:history.go(-2)">page 4</a> </body> </html> Thank you[/quote] My suggestion is to get rid of the frames completely. go to any search engine and type I hate frames and you will find many friends. |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > resize a window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|