Click to See Complete Forum and Search --> : iframes not coming out in ie6


arzoo
04-03-2007, 08:57 PM
i am using iframes for the first time, and am reall experiencing something weird.

i was forced to use iframes because we are building a site where i am fixing the design and someone else uses a cms. so in order for the formatting css, etc. not to conflict, i am trying to use iframes to control the content (so all content can be directed and places in different areas) without worrying with any architectural changes to a certain point.

is this the best way or is there another better way to 'separate' the formats of menus, ads, etc, with just the contents (text pictures, images,etc)

my problem with iframes is that i'm now testing its cross browser ability and came across a pc with win2000 and ie6. in the system's firefox, the iframes come out ok. in ie6. the iframes dont come out, after about 10 refreshes, maybe once its contents appear and then gone again in the next refresh.

i tried changing the setting in tools to load ie. the thing is i then tried the same program in the system's hard drive and just ran ie using the html in the drive and it is ok. but from the server the iframes dont appear. it works fine in ie7.

please help.

thanks.

Major Payne
04-05-2007, 04:01 PM
Do you have a online link to the site you're working on? Or zip a copy of the page you're using now with the iframe and attach it...complete from top to bottom. :)

Ron

WebJoel
04-05-2007, 04:14 PM
That you need to refresh several times to 'get it right' and then again refresh and it's wrong, suggests a missing !doctype for "frameset". Would require seeing the entire code posted, or a URL to inspect. :)
I'm not a fan of iFRAMEs but have used them. They have their place.

Major Payne
04-05-2007, 05:04 PM
I've never used a frameset doc type to use iFrames on my pages. Ones with actual frames...yes.

Ron

arzoo
04-05-2007, 08:17 PM
Hi guys,

hope you can help.. really weird... i thought all would work fine since i testing it on local machines with diff. browsers including ie6, then it runs ok on the web server with ie7 and firefox but not ie6.

by the way, the site is hosted in yahoo, the site is www.stealthatlook.com,

the problem ones are still in testing so i just placed them in:

www.stealthatlook.com/home_header.html

the only links that work have content to point to on the sample are Fashion on the main menu row and the Fashion main page. the top logo brings you back to the home header page.

here's the code with the iframe, the html page that the iframe looks into is the content portion. the person who runs the site told me to fix the site according to their new design specs. from what i know they dont code, so they are currently using yahoo sitebuilder which generates the 2nd code below this one.

what i'm trying to do is use an iframe so that there wont be a need for configuring whatever they do in the future using the sitebuilder cms with the top logo and menu template.

any solution is really ok with me, either if iframe is infused onto the logo and menu page or if kept separate as is. i'm open to suggestions as to which you guys would advise.

i attached the 2 html files instead of placing the code here because of the character limitations.

home_header.html is the page housing the iframe.

home_test.html is the page created by yahoo sitebuilder.

thanks again.

Major Payne
04-06-2007, 03:34 AM
These pages were built with Yahoo! SiteBuilder. May be a little harder to find answer as pages display badly in any browser right now. Trying.

Ron

Major Payne
04-06-2007, 04:14 AM
Seems I timed out on previous post while finishing up. Attaching the two files you had zipped as text files. Just change extensions to htm and see if they look ok in your browsers. Cleaned up some of the coding.

Ron

arzoo
04-07-2007, 06:50 PM
I tried them and a bit of improvement, the % of times the page shows up vs. the total times refresh is clicked imroves when htm is used compared with the orginal of .html ... which i dont understand why.

however, it still doesnt work 'normally'... meaning doesnt appear all the time as normal pages would when the address is typed or the link is clicked.

WebJoel
04-07-2007, 07:47 PM
I've never used a frameset doc type to use iFrames on my pages. Ones with actual frames...yes.

Ron I missed the "iframe", yes you're right. (too tired sometimes)

Major Payne
04-08-2007, 12:17 AM
I tried them and a bit of improvement, the % of times the page shows up vs. the total times refresh is clicked imroves when htm is used compared with the orginal of .html ... which i dont understand why.

however, it still doesnt work 'normally'... meaning doesnt appear all the time as normal pages would when the address is typed or the link is clicked.I put your pages up on my site and still can't reproduce the problem you are having:

arzoo's page (http://paynelessdesigns.com/Code_Help/arzoo/home_header.html) Your page and iframe page load less than a second for me. You also can try the .htm one too. Doesn't have the correct paths to all the graphics as the .html one does, but it loads fast without having to refresh. Wonder if you need to clear your browser's cache or change how it cache's web pages.

Ron

arzoo
04-08-2007, 03:26 AM
hi Ron,

yes you are correct on that, the page you put up is what it should be. that's the strange thing i havent been able to figure out.. why it works in all (so far) except the ie.6.

does it work ok when trying in ie6 for you?

thanks so much for taking the time out to help.

Major Payne
04-08-2007, 05:12 AM
I already have IE 7 installed and the installer will not allow me to install IE 6. Will DL Maxthon Tabbed Browser which has an IE engine. I did correct all the errors and put a doc type on the home_test.htm file. Would you check now and see what it looks like in IE 6? Link (http://paynelessdesigns.com/Code_Help/arzoo/home_header.htm).

Ron

arzoo
04-08-2007, 08:18 PM
Thanks, Ron.

Well, guess what... with the last link:

http://paynelessdesigns.com/Code_Help/arzoo/home_header.htm

the problem came out...

it doesnt appear on the first entry of the address on the browser. on refresh it then does.

is there something with the code?

or does there have to a setting/extra command for ie6 w/ regards to iframes?

is this problem still worth pursuing to solve? or would an alternative be better?

right now, i'd really like to seek your advice on whether it would be smart to just integrate the pages into one, meaning the top logo, menu into the page themselves... which will be a bit messy and quite a lot of work since it'll have to be done for every page.

would really appreciate your advice.

thanks again for all the help,

Jose

Major Payne
04-08-2007, 08:44 PM
Think you hit the nail on the head about the server being the problem. I remember my Geocities site and I always had trouble with pages after uploading. The server would replace the ad codes of course, but it would also write script code outside of the <body> tags. Never could get them to change the way the server added stuff to pages so closed site.

If you don't have too many pages right now to start with, I would integrate the pages. Since I cleaned up the code already, you can DL the two from my site to start. LOL I make a basic header/footer template to start my pages from. Saves some time.

Ron

arzoo
04-08-2007, 08:48 PM
Sorry Ron,

looks like you beat me to the reply. hehehe.

it worked fine just a few moments and i decided to try again, and suddenly it kept happening again, even with the new site... i tried changing the previous post but dont know if you read it.

Major Payne
04-08-2007, 09:29 PM
I DLed Maxthon browser which is very much like IE 6.0. On first load of page, it's good. Pressing only F5 it reloads ok. Pressing Ctrl+F5 shows the problem where it loads only the main page and not the iFrame. May be a quirk in the way IE 6 cache's pages on a totally new refresh and not one using just F5. If you press F5 continously the main page will load only sometimes witout iFrame page and sometimes normally. Best bet is to integrate both pages on just one page.

Firefox still loads pages correctly no matter how many times refreshed and whether I use F5 or Ctrl+F5. IE 7.0 does the same as Firefox.

Ron