LovingTech For Sale: Contact Ryan for more information. (August, 2010)
|
css / iframe help
|
|
Jan-27-2010, 03:11 PM
(This post was last modified: Jan-27-2010 03:18 PM by tgallagher26.)
Post: #1
|
|||
|
|||
|
css / iframe help
Ok so here is the story.
I am playing around with a proxy. I want to add a panic mode to provide a quick coverup of the actual site you are viewing. Now what I have come up with is using an IFRAME. It works on most sites but on some like facebook not everything gets covered. Here is a link to facebook through my proxy. Click Panic Mode on to see. If any one can help I would appreciate it. Tim... Five Star Projects.com - A collection Free Web Tools, Resources and Online Business Reviews. |
|||
|
Jan-27-2010, 07:50 PM
Post: #2
|
|||
|
|||
|
RE: css / iframe help
Try setting a z-index for the iframe. The problem you are getting from Facebook is because of
#menubar_container{display:block;padding:0;margin:0;background-color:#3b5998;position:relative;z-index:100} C a r b o n i z e Free ebook links (fiction) |
|||
|
Jan-27-2010, 09:36 PM
Post: #3
|
|||
|
|||
|
RE: css / iframe help
Thanks for the tip Carbonize.
+rep for the help. Tim... Five Star Projects.com - A collection Free Web Tools, Resources and Online Business Reviews. |
|||
|
Jan-27-2010, 11:53 PM
Post: #4
|
|||
|
|||
|
RE: css / iframe help
Carbonize do you happen to know the IE fix for Z-Index?
Here is the code I am using. Style: Code: #hideshow {Code: Code: <div id="hideshow" style="visibility:hidden;">Tim... Five Star Projects.com - A collection Free Web Tools, Resources and Online Business Reviews. |
|||
|
Jan-28-2010, 09:04 AM
Post: #5
|
|||
|
|||
|
RE: css / iframe help
The IE issue might be because of the size of the z-index you have set. Try something like 30000 instead of 300000.
C a r b o n i z e Free ebook links (fiction) |
|||
|
Jan-28-2010, 12:30 PM
(This post was last modified: Jan-28-2010 12:30 PM by deathshadow.)
Post: #6
|
|||
|
|||
|
RE: css / iframe help
The elements most likely failing to be hidden in your iFrame would be object embeds - specifically flash content. This is a well known problem and just another of the reasons the use of framesets is generally frowned upon in the first place. Depth sorting stuff from the host page over an iframe is more myth than fact - sorry to say it, but get used to it.
There are tricks (all of which are invalid markup) involving tricking things with unclosed form elements or table elements outside of tables - but it's been six or seven years since I last saw anyone actually try any of that. It is said that the future is always born in pain. The history of war is the history of pain. If we are wise what is born of that pain matures into the promise of a better world - because we learn that we can no longer afford the mistakes of the past. - Citizen G'Kar |
|||
|
Jan-28-2010, 12:32 PM
Post: #7
|
|||
|
|||
|
RE: css / iframe help
Maybe I'm missing out on something but what does sticking an iframe over another frame have to do with a "panic mode"? What's that supposed to acheive?
|
|||
|
Jan-28-2010, 01:08 PM
(This post was last modified: Jan-28-2010 01:09 PM by deathshadow.)
Post: #8
|
|||
|
|||
RE: css / iframe help
(Jan-28-2010 12:32 PM)adam Wrote: Maybe I'm missing out on something but what does sticking an iframe over another frame have to do with a "panic mode"? What's that supposed to acheive? Good question as well... Notice though he said a 'proxy' - he's probably displaying another page in an IFRAME, then trying to hide that child IFRAME for the 'boss mode' by moving another element over it - which in my mind is approaching the problem BACKWARDS. Which is why if I were to implement such a thing, I'd set the offending elements you want to 'hide' to 'display:none' leaving the element you want displayed instead BEHIND the iframe instead of trying to move it atop it. Yeah, that would work... position the 'panic/boss' mode page BEHIND the iFrame, then to show it instead of the frame content just set the iframe to display:none; End of problem. Something doesn't work one way, reverse the logic. It is said that the future is always born in pain. The history of war is the history of pain. If we are wise what is born of that pain matures into the promise of a better world - because we learn that we can no longer afford the mistakes of the past. - Citizen G'Kar |
|||
|
Jan-28-2010, 01:10 PM
(This post was last modified: Jan-28-2010 01:12 PM by adam.)
Post: #9
|
|||
|
|||
|
RE: css / iframe help
Ahh I see, cover up job! I was thinking more along the lines of security..I guess job security could count? lol
|
|||
|
Jan-28-2010, 01:13 PM
Post: #10
|
|||
|
|||
RE: css / iframe help
(Jan-28-2010 01:10 PM)adam Wrote: Ahh I see, cover up job! I was thinking more along the lines of security..I guess job security could count? lolOnly reason I knew what he was aiming for was all the old DOS Sierra games had a 'boss key' built in that displayed a screencap from a generic 'spreadsheet type' application. (though it was not very convincing at 320x200) It is said that the future is always born in pain. The history of war is the history of pain. If we are wise what is born of that pain matures into the promise of a better world - because we learn that we can no longer afford the mistakes of the past. - Citizen G'Kar |
|||
|
« Next Oldest | Next Newest »
|





