View Full Version : Firefox and iframes
Ruben A
4th May 2005, 07:31
AHGHRRRGH!!
Ok someone please help me out. I try to make iframes with height="100%" so they always follow browser size.
In IE all works perfect - in firefox it doesnt (not surprised).
So I understand that firefox doesn´t know "100%" but has to be in "pixel". OR; it has to be written in CSS or something (how do you dedicate CSS for an iframe?).
Please, If anyone could help me out. Just what do I do to let Firefox understand that an Iframe must follow the browserwindow size? 100%!!!
Please don´t come up with a long messy code- then I´ll laugh. ;)
I have been googling.. noone can come up with a sure solution.
mal carne
4th May 2005, 07:36
Obituary Mat Consume
The artist, DJ and hell-raiser Mat Consume has died, aged 33.
It is our sad task to let you know of the untimely death of this much-loved notorious minstrel. It is understood that he finally succumbed to drink, drugs and the many other demons that he picked up on the way through his short life.
He was found by walkers early on Monday morning 200 metres from the edge of Beachy Head with a broken motor scooter and a bottle of his beloved Jack Daniels lying yards from his body. Like so many things in his life, the opportunity to complete the final act in his tragic and, on the whole, unwitnessed theatrical show was interrupted and incomplete.
The cause of death was declared by the county coroner to be unequivocally a massive cardiac arrest. I personally like to think that simply died of a broken heart, abandoned like the old TV’s he was so frequently arrested for casting merrily into the seas off Brighton.
Alone in the end (I saw him only because he owed me money), he spoke to me about the happiest time in his life conceiving no–future with Cristian and Emma and the good people he met there - Neil, Toby, Dave, Shandy, Ibi, Jamie, Jeff, the mentalist Justin Berkovi and many others he worked and played with, particularly LL Million with whom he started the ill-fated “TRASH” Label. In the end he was deeply saddened to see his memory all but erased from the collective; however ultimately this only serves to strengthen the enigma of the man.
When asked for a comment from his coconut shy stall in Bogota
LL Million said, “Get away, Go on. Can’t you people leave me along for one bleedin second. What? Mat Consume you say? Ah yes – put him on the ferry not an hour ago. Don’t worry, Charon will look after him; yes he’s in good hands now. I gather he has rented a rather small but bijou hole across the River Styx – it’s who you know you see. Lovely over there this time of year too. Hmm. Is that all? Go on, try your hand – 3 balls for a peso. A man’s got to earn a living somehow.”
Mat Consume (1972 – 2005)
Funeral detail to follow.
“Hubble bubble boil and trouble,
Something wicked this way comes.”
- Mal Carne
Ruben A
4th May 2005, 07:42
? .. you should have posted this in a new thread.
very sad.
Mirsha
4th May 2005, 12:59
I think you have to somewhere set the actual length of the frame, as the 100% marker is an inherited trait so if it's a single frame that can't inherit it's value from a parent it can't actully judge what the 100% is.
penciLneck
4th May 2005, 13:33
Yup best to make it a fixed size anyway, if that won't do - here's a way to make a fluid frame size.
http://www.dyn-web.com/dhtml/iframes/
Ruben A
4th May 2005, 13:55
ok i try it out.. if not i found a solution - its seems oldschool to me, but it works.
i find it distressing that they havn't addressed this issue in 1.2.5.003. Highly annoying when trying to tab through the Beavernet. There is a plugin i believe by Apple that allows you to store book marks in your recycle bin, taking away the morbin responsobility of performing neolithic eye warp.
Ruben A
4th May 2005, 16:18
@pencilneck - nope it doesnt work well. Still they decide the iframe to be 600px. It works somehow, but depending on the lenght of the document you load in the iframe, it won´t be the same as "100%" would have worked in IE,.
firefox irritates me too much...
schlongfingers
4th May 2005, 16:23
try this
height="100%" height="&{window.innerHeight};"
penciLneck
4th May 2005, 16:49
very sneaky.
schlongfingers
4th May 2005, 17:00
Aye I know :D think it works tho, and degrades nicely
Ruben A
4th May 2005, 17:07
nope, makes the iframe disapear in IE.. and doesn´t work in firefox ;)
schlongfingers
4th May 2005, 17:09
hmm, not here it doesn't - i'll pm you [if you empty you box]
penciLneck
4th May 2005, 17:10
doctype?
Ruben A
4th May 2005, 20:39
schlongfingers... try again.
Ruben A
5th May 2005, 11:05
HAHAHAHAHA... OK guys.. never mind.. the new firefox version is able to handle 100% in iframes. I checked the site on an older version i guess. Here at home it´s working. So no problems now..!!! schlongfingers, no help needed anyway - but thanks for your pm!
Ruben A
5th May 2005, 11:34
agahhrr no it didnt not.. well it DID.. but now the problem is back! this is silly! Schlongfingers - ok try work with the codes anyway! ehhrrr.. strange!!it really worked for 1 minute.. dont get it
Ruben A
5th May 2005, 11:42
ok!! got it!!!! if I work with two individuel iframes where the first one has a fixed height.. then the second can work with 100%!!!! isnt it just strange ??? But now it works! cooool
we speak firefox here..
having my own conversation here.. nice :)
vBulletin v3.6.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.