HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 6th, 2000, 10:51 AM
Borgeat Borgeat is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 14 Borgeat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old November 6th, 2000, 11:13 AM
iseverythingman1 iseverythingman1 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 3 iseverythingman1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > resize a window


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway