Forum Moderators: mack

Message Too Old, No Replies

Problem with iframe

         

sfast

3:49 pm on Nov 28, 2007 (gmt 0)

10+ Year Member



Among the intranet pages, I have iframe on a page which should open time clock on the same page.

It shows me this message-
You must configure your browser to accept cookies in order to access.

It works on Firefox but not on IE.

<iframe src="http://www.example.com" width="778" height="600" frameborder="0" scrolling="yes">
Company Time Clock</iframe>

Do I really have to use iframe? Is there anything else that I can use?

sfast

4:20 pm on Nov 28, 2007 (gmt 0)

10+ Year Member



Alright. I found somewhere to use <object> instead of <iframe>.

This opens up the html page inside the HTML page but I have drop down menus at the top of the main page which are hidden behind the new page.

<object classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13" type="text/html"
data="http://www.example.cfm" style="width:700px;height:600px;">

</object>
<!--[if IE]>
<style type="text/css">html, body {border:0;overflow:visible;}</style>
<![endif]-->

sfast

8:13 pm on Nov 28, 2007 (gmt 0)

10+ Year Member



Can anybody help me please.

Jon_King

8:21 pm on Nov 28, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use iframes that use cookies and do not have this problem. Is your copy of IE using the default security settings? If IE is blocking cookies you will receive that message.

sfast

9:32 pm on Nov 28, 2007 (gmt 0)

10+ Year Member



Yes and due to soem networking issues, the company is not going to change it and that is why I wanted to try using object.

But it has issue with drop down menu in the background.

Jon_King

10:31 pm on Nov 28, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I wouldn't think of it as an iframe problem. Proably something in the code in the iframe is competing with the code on the outside page. Maybe dupe classes or styles? See if the iframe works on a page all by itself.

sfast

4:34 pm on Dec 3, 2007 (gmt 0)

10+ Year Member



I was trying to access the page on a different domain in iframe. But when I try to open a pdf file in iframe which is on the same domain, I have the same problem. The drop down menus present on the main page are hidden behind the child window (iframe).