Forum Moderators: open

Message Too Old, No Replies

refresh shows iframe in hidden wrapper

         

carsten888

1:01 pm on Jan 11, 2008 (gmt 0)

10+ Year Member



I got a page with an iframe. Initially its hidden with a div around it with display: none;
With javascript the wrapper is set to display: block. so far so good. but when refreshed (F5, but also ctrl+F5) the frame still shows (like it is in a cache).

I can't use display: none; on the iframe because script has to see the frame (which stupid IE thows errors for). so therefor the wrapper.

anyone knows a solution?

penders

1:37 pm on Jan 11, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



visibility:hidden;
?

Trace

2:40 pm on Jan 11, 2008 (gmt 0)

10+ Year Member



What browser are you using to test this? I've just tried the same scenario with IE7 and it doesn't behave like you described.

carsten888

11:07 am on Jan 15, 2008 (gmt 0)

10+ Year Member



IE7 FF OP and Safari.

a lot of the stuf on the page is javascripted, so maybe this somehow gets stuck in a cache or so.

anyway, solved it in init() onload.

thanks all.