| View previous topic :: View next topic |
| Author |
Message |
sydcon
Joined: 07 Jan 2008 Posts: 7
|
Posted: Mon Jan 07, 2008 8:36 pm Frameset Problem in IE |
|
|
|
I have a problem with a frameset not showing properly in IE. Here's the scenario: My stepmother has a distributor website at www.thegreatproduct.com/prizer. She does not have access to change anything on that site.
She instead wants to use the url www.monaviepremiumacai.com.
I set up a simple index.html file at www.monaviepremiumacai.com that basically just says:
<frameset>
<frame src="http://www.thegreatproduct.com/prizer">
</frameset>
She is happy with that. However... we noticed the site displays properly in Opera, Firefox and some versions of IE6, but it does not display properly in other versions of IE6 and never in IE7.
Any suggestions?? Thank you for any help! |
|
sticks464
Joined: 31 Dec 2006 Posts: 993
|
Posted: Tue Jan 08, 2008 6:48 am |
|
|
|
| What doctype did you use? |
|
sydcon
Joined: 07 Jan 2008 Posts: 7
|
Posted: Tue Jan 08, 2008 6:54 am |
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Let me know if that helps or if there is any other info you need. Thanks! |
|
sticks464
Joined: 31 Dec 2006 Posts: 993
|
Posted: Tue Jan 08, 2008 7:28 am |
|
|
|
Try this
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Home</title>
</head>
<frameset>
<frame src="http://www.thegreatproduct.com/prizer">
</frameset> |
|
|
sydcon
Joined: 07 Jan 2008 Posts: 7
|
Posted: Tue Jan 08, 2008 7:43 am |
|
|
|
Bummer. I tried that, but it still didn't work in IE7. Works in Firefox and Opera.
Any other ideas? Thanks! |
|
sticks464
Joined: 31 Dec 2006 Posts: 993
|
Posted: Tue Jan 08, 2008 8:26 am |
|
|
|
| It works fine for me in IE7 but I get a screen in FF that says I must have typed in a wrong uri. This screen has the Mona Vie bottle logo and colors on it with a input form for the site name |
|
sydcon
Joined: 07 Jan 2008 Posts: 7
|
Posted: Tue Jan 08, 2008 10:13 am |
|
|
|
Aargh! This is so frustrating! Maybe it's not a browser-specific problem. Here's what I've documented in the last 24 hours:
IE6
my wife's computer: does not work
IE7
my work computer: does not work
my home computer: does not work
workmate's computer 1: works
workmate's computer 2: works
sticks464: works
my brother's computer: works
my stepmom's computer: does not work most of the time, worked once late last night
FF
my home computer: works
my work computer: works
sticks464: does not work
Opera
my home computer: works
my work computer: works
workmate's computer 1: works
I've never seen anything quite like this. Any ideas? |
|
sticks464
Joined: 31 Dec 2006 Posts: 993
|
Posted: Tue Jan 08, 2008 1:13 pm |
|
|
|
These are the pages I get when I use your links
Home page
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Home</title>
</head>
<frameset>
<frame src="http://www.thegreatproduct.com/prizer">
</frameset>
</HTML> |
http://www.thegreatproduct.com/unknownUser.asp?nocookie
| Code: |
<html>
<head>
<title>The Great Product - MonaVie, Featuring the Acai Berry</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {
font-size: 24px;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
}
body {
background-color: #2f0839;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFFFFF;
}
-->
</style>
<script language="javascript">
<!--
function focusBox() {
document.getElementById('siteName').focus();
}
function submitForm() {
document.form1.submit();
}
-->
</script>
</head>
<body onLoad="focusBox()">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle"><div align="center">
<table id="Table_01" width="650" height="500" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="167" colspan="5"><img src="images/monavieSite/Monavie-Great-Product_01.jpg" width="650" height="167" alt=""></td>
</tr>
<tr>
<td width="51" rowspan="2"><img src="images/monavieSite/Monavie-Great-Product_02.gif" width="51" height="255" alt=""></td>
<td width="234" rowspan="2" valign="middle" background="images/monavieSite/Monavie-Great-Product_03.gif">
<form name="form1" method="post">
<table width="234" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="234"><p>It appears you did not type in the complete website address of the MonaVie site you are attempting to view.</p>
<p>Please enter the site name of the person sending you here and click “continue”.</p></td>
</tr>
<tr>
<td height="25"> </td>
</tr>
<tr>
<td height="50"><div align="center">
<strong>Site Name</strong>
<input name="siteName" type="text" id="siteName" size="20">
</div></td>
</tr>
<tr>
<td><div align="center"><a href="#" onClick="submitForm()"><img src="images/monavieSite/button-continue.jpg" alt="Continue" width="125" height="42" border="0"></a></div></td>
</tr>
</table>
<input type="hidden" name="posting" value="yes">
</form>
</td>
<td width="148" rowspan="2"><img src="images/monavieSite/Monavie-Great-Product_04.jpg" width="148" height="255" alt="MonaVie Bottle"></td>
<td width="180" height="127"><img src="images/monavieSite/Monavie-Great-Product_05.jpg" width="180" height="127" alt=""></td>
<td width="37" rowspan="2"><img src="images/monavieSite/Monavie-Great-Product_06.jpg" width="37" height="255" alt=""></td>
</tr>
<tr>
<td height="128" background="images/monavieSite/Monavie-Great-Product_07.gif"><table width="180" height="124" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="180" height="30"><div align="center"><img src="images/monavieSite/The-Great-Product.gif" alt="TheGreatProduct.com" width="177" height="22"></div></td>
</tr>
<tr>
<td>Interested in getting your own personalized MonaVie website?</td>
</tr>
<tr>
<td height="40"><div align="center"><a href="http://www.blackdiamonduniversity.com" target="_blank"><img src="images/monavieSite/button-learn-more.jpg" alt="Learn More About The Great Product Website" width="117" height="27" border="0"></a></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="78" colspan="5"><img src="images/monavieSite/Monavie-Great-Product_08.jpg" width="650" height="78" alt=""></td>
</tr>
</table>
</div></td>
</tr>
</table>
</body>
</html>
|
|
|
sydcon
Joined: 07 Jan 2008 Posts: 7
|
|
sticks464
Joined: 31 Dec 2006 Posts: 993
|
Posted: Wed Jan 09, 2008 8:57 am |
|
|
|
| This ones got me. Are you allowed to design in any other way then frames? |
|
sydcon
Joined: 07 Jan 2008 Posts: 7
|
Posted: Wed Jan 09, 2008 9:16 am |
|
|
|
Well, here's the scenario: My stepmother purchased a pre-built web site through www.thegreatproduct.com to sell MonaVie juice. They assigned her an url of www.thegreatproduct.com/prizer (her last name).
However, she doesn't really like that url, so she purchased her own: www.monaviepremiumacai.com. When doing advertising on Google, she wants to use her new url but have visitors see her site at www.thegreatproduct.com/prizer.
If there is some other technology/coding that would meet her objective, that would be fine. I just thought framing the site would be the easiest. (Guess I was wrong!) |
|
sticks464
Joined: 31 Dec 2006 Posts: 993
|
Posted: Wed Jan 09, 2008 10:21 am |
|
|
|
Here's one way to do it.
| Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Home of Mona Vie</title>
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=http://www.thegreatproduct.com/prizer">
</head>
<body>
This page is redirecting your browser to Mona Vie<br>
Please, click <a href="http://www.thegreatproduct.com/prizer">here</a> if you not automatically forwarded to my site.</body>
</html>
|
Save this as index.html and upload it to the new site.
It will redirect a user to the actual site. I checked it in FF and IE7. This may not be what she wants but I don't have any other ideas. |
|
sydcon
Joined: 07 Jan 2008 Posts: 7
|
Posted: Thu Jan 10, 2008 9:26 am |
|
|
|
| OK. Thanks for all your help! |
|
Samuel Jong
Joined: 06 Jan 2008 Posts: 86
|
Posted: Fri Jan 11, 2008 2:43 pm |
|
|
|
| sticks464 wrote: |
| What doctype did you use? |
I also got the probem with Frameset, it couldn't display the page at all.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<head>
<title>Sin Hoa</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="mm_health_nutr.css" type="text/css" />
<script language="JavaScript" type="text/javascript">
</script>
<style type="text/css">
</style>
</head>
<frameset rows="35%,*" framespacing="3" border="3">
<frame src="title.htm" scrolling="no">
<frameset cols="16%,*">
<frame src="sidebar.htm">
<frame src="main.htm">
</frameset>
<noframes>noframe stuff
</noframes>
</frameset>
</html>
Please advise and thanks. |
|
sticks464
Joined: 31 Dec 2006 Posts: 993
|
Posted: Fri Jan 11, 2008 3:20 pm |
|
|
|
This should be saved as index.htm and will be the home page. All other pages should be saved in the same folder as the index page.
| Code: |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>Sin Hoa</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="mm_health_nutr.css" type="text/css" />
<script language="JavaScript" type="text/javascript">
</script>
<style type="text/css">
</style>
</head>
<frameset rows="35%,*" framespacing="3" border="3">
<frame src="title.htm" scrolling="no" marginheight="0" noresize="noresize" name="title">
<frameset cols="16%,*">
<frame src="sidebar.htm" scrolling="no" marginheight="0" noresize="noresize" name="menu">
<frame src="main.htm" scrolling="no" marginheight="0" noresize="noresize" name="main">
</frameset>
</frameset>
<noframes>noframe stuff</noframes>
</html> |
You should have started a new post so more people could see it. |
|
|