HighDots Forums  

FireFox and iframes

alt.html alt.html


Discuss FireFox and iframes in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ian Rutgers
 
Posts: n/a

Default FireFox and iframes - 07-10-2006 , 03:03 PM






Hi everyone,

I have FireFox 1.0.5.4 and am coding this page
http://www.taoofpeace.com/test/stude...testSheets.php In IE &
Opera the iframe loads correctly (no scrollbars and sized correctly with
Javascript). In FireFox the scrollbar appears even though I have explicity
stated scrolling="no". My css sets the width of the iframe and indicates
that the overflow is visible.

Is this a known issue with FireFox or am I missing something (html/css
wise)?

Thanks,

Ian



Reply With Quote
  #2  
Old   
Nikita the Spider
 
Posts: n/a

Default Re: FireFox and iframes - 07-10-2006 , 09:45 PM






In article <jwxsg.151606$IK3.119014@pd7tw1no>,
"Ian Rutgers" <irutgers (AT) otima (DOT) ca> wrote:

Quote:
Hi everyone,

I have FireFox 1.0.5.4 and am coding this page
http://www.taoofpeace.com/test/stude...testSheets.php In IE &
Opera the iframe loads correctly (no scrollbars and sized correctly with
Javascript). In FireFox the scrollbar appears even though I have explicity
stated scrolling="no". My css sets the width of the iframe and indicates
that the overflow is visible.

Is this a known issue with FireFox or am I missing something (html/css
wise)?
Hi Ian,
I've never used iframes or messed much with overflow:, but since no one
else has answered I thought I'd toss out my uninformed reply.

On my Firefox (1.5.4, OS X) the content of the iframe isn't entirely
visible without a vertical scrollbar. Suppose you delete everything
below "STRIKING / PRESSURE POINTS:" -- do you still get a scrollbar? If
so, I don't know what to suggest. But if the scrollbar goes away then, I
think Firefox is just trying to ensure that users can get to your
content.

--
Philip
http://NikitaTheSpider.com/
Bulk HTML validation, link checking and more


Reply With Quote
  #3  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: FireFox and iframes - 07-10-2006 , 11:30 PM



Ian Rutgers wrote:
Quote:
Hi everyone,

I have FireFox 1.0.5.4 and am coding this page
http://www.taoofpeace.com/test/stude...testSheets.php In IE &
Opera the iframe loads correctly (no scrollbars and sized correctly with
Javascript). In FireFox the scrollbar appears even though I have explicity
stated scrolling="no". My css sets the width of the iframe and indicates
that the overflow is visible.

Is this a known issue with FireFox or am I missing something (html/css
wise)?
If you are using PHP why are you bothering with an IFRAME?

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
  #4  
Old   
Ian Rutgers
 
Posts: n/a

Default Re: FireFox and iframes - 07-11-2006 , 05:18 PM



"Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote

Quote:
Ian Rut gers wrote:
Hi everyone,

I have FireFox 1.0.5.4 and am coding this page
http://www.taoofpeace.com/test/stude...testSheets.php In IE &
Opera the iframe loads correctly (no scrollbars and sized correctly with
Javascript). In FireFox the scrollbar appears even though I have
explicity stated scrolling="no". My css sets the width of the iframe and
indicates that the overflow is visible.

Is this a known issue with FireFox or am I missing something (html/css
wise)?

If you are using PHP why are you bothering with an IFRAME?


I could write dynamic code in PHP but am operating under the constraint that
the client has to be able to edit the pages in Macromedia Contribute so by
putting the test sheets in individual files, it makes it easier for editing.
If you have another PHP solution ... I am all ears! '-)




Reply With Quote
  #5  
Old   
Ian Rutgers
 
Posts: n/a

Default Re: FireFox and iframes - 07-11-2006 , 05:20 PM




"Nikita the Spider" <NikitaTheSpider (AT) gmail (DOT) com> wrote

Quote:
In article <jwxsg.151606$IK3.119014@pd7tw1no>,
"Ian Rutgers" <irutgers (AT) otima (DOT) ca> wrote:

Hi everyone,

I have FireFox 1.0.5.4 and am coding this page
http://www.taoofpeace.com/test/stude...testSheets.php In IE &
Opera the iframe loads correctly (no scrollbars and sized correctly with
Javascript). In FireFox the scrollbar appears even though I have
explicity
stated scrolling="no". My css sets the width of the iframe and indicates
that the overflow is visible.

Is this a known issue with FireFox or am I missing something (html/css
wise)?

Hi Ian,
I've never used iframes or messed much with overflow:, but since no one
else has answered I thought I'd toss out my uninformed reply.

On my Firefox (1.5.4, OS X) the content of the iframe isn't entirely
visible without a vertical scrollbar. Suppose you delete everything
below "STRIKING / PRESSURE POINTS:" -- do you still get a scrollbar? If
so, I don't know what to suggest. But if the scrollbar goes away then, I
think Firefox is just trying to ensure that users can get to your
content.

Thanks for the reply! In doing a little experimenting I found that FireFox
didn't accurately read the length of the content whereas IE and Opera do. I
have used illegal xhtml transitional coding (as well as some javascript
thrown in for good measure) to have it do what I want, but if there is a
better way to serve up the content (see my comments to Jonathan Little) I
will switch.




Reply With Quote
  #6  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: FireFox and iframes - 07-11-2006 , 06:06 PM



Ian Rutgers wrote:
Quote:
"Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote in message
news:39c89$44b31aa7$40cba7c1$13563 (AT) NAXS (DOT) COM...
Ian Rut gers wrote:
Hi everyone,

I have FireFox 1.0.5.4 and am coding this page
http://www.taoofpeace.com/test/stude...testSheets.php In IE &
Opera the iframe loads correctly (no scrollbars and sized correctly with
Javascript). In FireFox the scrollbar appears even though I have
explicity stated scrolling="no". My css sets the width of the iframe and
indicates that the overflow is visible.

Is this a known issue with FireFox or am I missing something (html/css
wise)?
If you are using PHP why are you bothering with an IFRAME?



I could write dynamic code in PHP but am operating under the constraint that
the client has to be able to edit the pages in Macromedia Contribute so by
putting the test sheets in individual files, it makes it easier for editing.
If you have another PHP solution ... I am all ears! '-)


Sure very simple,

the insert file "junior_yellow.php" is done with a
<div id="theInsertFrameStyleAsYouLike">
<?php
include_once(junior_yellow.php);
?>
</div> <!-- End of client's file -->


so your client can do that same as they where before and your main page

http://www.taoofpeace.com/test/stude...testSheets.php

can process a query string to load whatever your client's pages are
instead of the src for an iframe, so above example a link URL would be
something like this:

http://www.taoofpeace.com/test/stude...=junior_yellow

Then with proper checking of course process the query string 'p'
parameter and


<div id="theInsertFrameStyleAsYouLike">
<?php
$fileToInclude=$_GET['p'] . 'php';
// of course I show not checking here and you will want a
// 'default' page for no query parameter on invalid ones

include_once($fileToInclude);
?>
</div> <!-- End of client's file -->

Real simple and NO IFRAME, links to the different belts would be:


testSheets.php?p=junior_yellow
testSheets.php?p=junior_green
....
testSheets.php?p=adult_black







--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
  #7  
Old   
Ian Rutgers
 
Posts: n/a

Default Re: FireFox and iframes - 07-11-2006 , 06:24 PM




"Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote

Quote:
Ian Rutgers wrote:
"Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote in message
news:39c89$44b31aa7$40cba7c1$13563 (AT) NAXS (DOT) COM...
Ian Rut gers wrote:
Hi everyone,

I have FireFox 1.0.5.4 and am coding this page
http://www.taoofpeace.com/test/stude...testSheets.php In IE &
Opera the iframe loads correctly (no scrollbars and sized correctly
with Javascript). In FireFox the scrollbar appears even though I have
explicity stated scrolling="no". My css sets the width of the iframe
and indicates that the overflow is visible.

Is this a known issue with FireFox or am I missing something (html/css
wise)?
If you are using PHP why are you bothering with an IFRAME?



I could write dynamic code in PHP but am operating under the constraint
that the client has to be able to edit the pages in Macromedia Contribute
so by putting the test sheets in individual files, it makes it easier for
editing. If you have another PHP solution ... I am all ears! '-)

Sure very simple,

the insert file "junior_yellow.php" is done with a
div id="theInsertFrameStyleAsYouLike"
?php
include_once(junior_yellow.php);
?
/div> <!-- End of client's file --


so your client can do that same as they where before and your main page

http://www.taoofpeace.com/test/stude...testSheets.php

can process a query string to load whatever your client's pages are
instead of the src for an iframe, so above example a link URL would be
something like this:

http://www.taoofpeace.com/test/stude...=junior_yellow

Then with proper checking of course process the query string 'p' parameter
and


div id="theInsertFrameStyleAsYouLike"
?php
$fileToInclude=$_GET['p'] . 'php';
// of course I show not checking here and you will want a
// 'default' page for no query parameter on invalid ones

include_once($fileToInclude);
?
/div> <!-- End of client's file --

Real simple and NO IFRAME, links to the different belts would be:


testSheets.php?p=junior_yellow
testSheets.php?p=junior_green
...
testSheets.php?p=adult_black


Perfect! thx!




Reply With Quote
  #8  
Old   
Ian Rutgers
 
Posts: n/a

Default Re: FireFox and iframes - 07-11-2006 , 07:11 PM




"Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote

Quote:
Ian Rutgers wrote:
"Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote in message
news:39c89$44b31aa7$40cba7c1$13563 (AT) NAXS (DOT) COM...
Ian Rut gers wrote:
Hi everyone,

I have FireFox 1.0.5.4 and am coding this page
http://www.taoofpeace.com/test/stude...testSheets.php In IE &
Opera the iframe loads correctly (no scrollbars and sized correctly
with Javascript). In FireFox the scrollbar appears even though I have
explicity stated scrolling="no". My css sets the width of the iframe
and indicates that the overflow is visible.

Is this a known issue with FireFox or am I missing something (html/css
wise)?
If you are using PHP why are you bothering with an IFRAME?



I could write dynamic code in PHP but am operating under the constraint
that the client has to be able to edit the pages in Macromedia Contribute
so by putting the test sheets in individual files, it makes it easier for
editing. If you have another PHP solution ... I am all ears! '-)

Sure very simple,

the insert file "junior_yellow.php" is done with a
div id="theInsertFrameStyleAsYouLike"
?php
include_once(junior_yellow.php);
?
/div> <!-- End of client's file --


so your client can do that same as they where before and your main page

http://www.taoofpeace.com/test/stude...testSheets.php

can process a query string to load whatever your client's pages are
instead of the src for an iframe, so above example a link URL would be
something like this:

http://www.taoofpeace.com/test/stude...=junior_yellow

Then with proper checking of course process the query string 'p' parameter
and


div id="theInsertFrameStyleAsYouLike"
?php
$fileToInclude=$_GET['p'] . 'php';
// of course I show not checking here and you will want a
// 'default' page for no query parameter on invalid ones

include_once($fileToInclude);
?
/div> <!-- End of client's file --

Real simple and NO IFRAME, links to the different belts would be:


testSheets.php?p=junior_yellow
testSheets.php?p=junior_green
...
testSheets.php?p=adult_black

?php
$fileToInclude=$_GET['p'] . '.php';
if(!@file_exists($fileToInclude) ) {
include_once('patterns/pattern1.php');
} else {
include($fileToInclude);
}
?>
perfecto! gratias!




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.