HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Frameset Problem in IE
Goto page 1, 2, 3  Next
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
sydcon



Joined: 07 Jan 2008
Posts: 7

PostPosted: Mon Jan 07, 2008 8:36 pm     Frameset Problem in IE Reply with quote

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

PostPosted: Tue Jan 08, 2008 6:48 am     Reply with quote

What doctype did you use?
sydcon



Joined: 07 Jan 2008
Posts: 7

PostPosted: Tue Jan 08, 2008 6:54 am     Reply with quote

<!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

PostPosted: Tue Jan 08, 2008 7:28 am     Reply with quote

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

PostPosted: Tue Jan 08, 2008 7:43 am     Reply with quote

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

PostPosted: Tue Jan 08, 2008 8:26 am     Reply with quote

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

PostPosted: Tue Jan 08, 2008 10:13 am     Reply with quote

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

PostPosted: Tue Jan 08, 2008 1:13 pm     Reply with quote

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 &ldquo;continue&rdquo;.</p></td>
             </tr>

             <tr>
               <td height="25">&nbsp;</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

PostPosted: Wed Jan 09, 2008 7:56 am     Reply with quote

Yes, the page is supposed to be set up to frame the site at http://www.thegreatproduct.com/prizer. Instead, it appears that on some browser sessions it will frame http://www.thegreatproduct.com/unknownUser.asp?nocookie instead.

I just have no idea why we cannot simply frame http://www.thegreatproduct.com/prizer as the code indicates.

Is it possible that thegreatproduct.com is somehow keeping other sites from framing? Why would framing work sometimes and not others?

I'm completely stumped. How about you? Confused
sticks464



Joined: 31 Dec 2006
Posts: 993

PostPosted: Wed Jan 09, 2008 8:57 am     Reply with quote

This ones got me. Are you allowed to design in any other way then frames?
sydcon



Joined: 07 Jan 2008
Posts: 7

PostPosted: Wed Jan 09, 2008 9:16 am     Reply with quote

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

PostPosted: Wed Jan 09, 2008 10:21 am     Reply with quote

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

PostPosted: Thu Jan 10, 2008 9:26 am     Reply with quote

OK. Thanks for all your help!
Samuel Jong



Joined: 06 Jan 2008
Posts: 86

PostPosted: Fri Jan 11, 2008 2:43 pm     Reply with quote

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

PostPosted: Fri Jan 11, 2008 3:20 pm     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial