frames firefox and IE

T

Tuckbros

Hi everybody,
I made a small site, with frames.
And it works with firefox and not with IE.
the address of the site for those want to have a better idea of the
problem : http://tuckbros9.free.fr/Avatar/
Can someone tell me where it comes from ? or how to solve it ?
Thanks in advance.
 
H

Hywel Jenkins

T

Tuckbros

Don't think I want to change the structure of the site.
The question is not to remove frames, but to make them work with IE.
I am looking for why it works with firefox and not with IE.
Unless someone tell me that IE no more supports frames, I would like to
understand what is happening with the written code.
 
T

Tuckbros

I can see many errors in the code, with the link you provided, but I
will paste here the main code, and I would like to know where are
mistakes. in the frame called titre there is also a change of the frame
main, but it is done with a javascript and it changes the 3 frames. this
works in IE. I will see if it changes something to use a similar script
to change the frame. I did and nothing changed. so here are the codes.
if someone can help.


index.php :

<?php
include "html/sess.inc";
session_start();
$_SESSION[marche]='ok';
session_write_close();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title> Avatar</title>
</head>
<frameset bordercolor="red" rows="15%,80%">
<frame src="html/titre.php?from=index" name="titre">
<frameset cols="20%,60%,20%">
<frame src="html/menu.php?from=index" name="menu">
<frame src="html/main.php?from=index" name="main">
<frame src="html/couleur.php?from=index" name="couleur">
</frameset>
</frameset>
</html>




here is the page generated with menu.php :

<html>
<head>
<title> Menu</title>
</head>
<body bgcolor="black" text="white" link="blue" vlink="green" alink="red">
<h1>visages</h1>
<a href="main.php?change=visage1.png&from=menu" target="main"><img
src="mini.php?ou=menu&quoi=visages/visage1.png">visage1.png</a><br>
<a href="main.php?change=visage2.png&from=menu" target="main"><img
src="mini.php?ou=menu&quoi=visages/visage2.png">visage2.png</a><br>
<a href="main.php?change=visage3.png&from=menu" target="main"><img
src="mini.php?ou=menu&quoi=visages/visage3.png">visage3.png</a><br>
<a href="main.php?change=defaut.PNG&from=menu" target="main"><img
src="mini.php?ou=menu&quoi=visages/defaut.PNG">defaut.PNG</a><br>
</body>

</html>



and now the code of the frame called "main" when it doesn't want to
change the display :

<html>
<head>
<title> Main</title>
</head>
<body bgcolor="black" text="white" link="blue" vlink="green" alink="red">
<h1>Avatar</h1><a href="save.php"><img src="image.php"></a></body>
</html>
 
R

rf

Tuckbros wrote.
Don't think I want to change the structure of the site.
The question is not to remove frames, but to make them work with IE.
I am looking for why it works with firefox and not with IE.

I am yet to be shown what exactly does not work with IE. As far as I can see
the page is identical in firefox and IE.

What versions of browsers and please post a screenshot of what you think is
wrong.

Please do not top post.
 
T

Tuckbros

Thanks to grogu
as the image is created in php and is updated with each clic, he
suggested to change the name of the image with a variable. So I call at
first image.php, then "image.php?1" "image.php?2"...
such names make sure that IE will reload it.

Who can tell me what header I must choose to prevent IE to cache this
picture, I tried META with PRAGMA, EXPIRES, and another, but none gave
the wanted result.
can someone give me some piece of explanation ?
 

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

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,169
Latest member
ArturoOlne
Top