Click to See Complete Forum and Search --> : Problem with iframe + Explorer PC


julifos
01-30-2004, 11:30 AM
Hi all!

I'm working in a page with 1 embedded iframe.

http://www.pescadosweb.com/news/index.html

It works fine in all tested browsers, but seems that Internet Explorer for PC shows a horizontal scroll in the iframe, which is a bad-bad behaviour.

The included page is very simple: text. No tables, no layers, no stuff, except for text.

I added a scrolling="no" tag to the iframe but, obviouslly, it disabled the vertical scroll, which is needed...

Any hints?

96turnerri
01-30-2004, 12:25 PM
scrolling="yes"

julifos
01-30-2004, 01:54 PM
Cool thanks!

Now some browsers will show an "empty" horizontal scroll (eg, mac's iCab and IE), but I prefer this behaviour and (if I find some time), I'll fix it with some javascripting...

Tx again!

96turnerri
02-12-2004, 05:15 AM
np, i wouldnt even bother trying to fix the blank hori-scollbar with js either, doesnt really change the look of the site, and what if ive got js disabled?

fredmv
02-12-2004, 05:19 AM
Using iframes is not good if you care about accessibility.

96turnerri
02-12-2004, 05:26 AM
you could say the same about stylesheets, if i turn them off the site will still have same content but wont be structure organised, look nothing like what with them on, granted it still displays the content of the site and in someways thats the most important thing, but not allways, now im not saying use <font> im just saying, theres allways someway to mess up a site that some1 has made and if a user has that feature enabled/disabled it wont 'work'.

fredmv
02-12-2004, 05:27 AM
Originally posted by 96turnerri
you could say the same about stylesheets, if i turn them off the site will still have same content but wont be structure organisedNot true. If the markup makes sense semantically it, indeed, will still have perfect structure. The problem with using iframes is the fact that the content is completely inaccessible for browsers in which do not support them.

96turnerri
02-12-2004, 05:34 AM
im not the one on trial here, i didnt say i used frames :p

julifos
02-12-2004, 08:11 AM
Well, this is an old discussion...

I use in my website css, javascript, iframes and flash.

All of them are "standard" stuff (which means, more or less, "all modern browsers will display the same contents"). A browser which does not support frames is not really a "standard" (I think). Javascript disabled is a posibility, not a fact, and I can still workaround it.

Anyway, I don't expect audience from "lynx" users and, definitivelly, I think that my site is good enough for 95% of visitors... (it is not a weblog, but design, so I need "modern" features other than plain text) (also, I don't expect blind people visiting a visual design site ;) )

julifos
02-12-2004, 08:16 AM
NOTE:
The main propose of the iframe is controlling the contents of the displayed data. I can't use php/sql/etc (not enough knowledge), so I do it using javascript and static pages.
If I could load dinamically entries in this "news" page, I would drop out the iframe.
I also like the scroll available only for the text and not for the images around. I tried building it in Flash, but it's too complex to include some links and particular data...

96turnerri
02-12-2004, 11:26 AM
Originally posted by julifos
Well, this is an old discussion...

I use in my website css, javascript, iframes and flash.

All of them are "standard" stuff (which means, more or less, "all modern browsers will display the same contents"). A browser which does not support frames is not really a "standard" (I think). Javascript disabled is a posibility, not a fact, and I can still workaround it.

Anyway, I don't expect audience from "lynx" users and, definitivelly, I think that my site is good enough for 95% of visitors... (it is not a weblog, but design, so I need "modern" features other than plain text) (also, I don't expect blind people visiting a visual design site ;) )

thats all that matters as long as ur happy with what youve done and got, we all have our own opinions on webdev so you couldnt really satisfy every1 so jst do what you think is best 4 u and the audience you are expecting

rpassmore
04-21-2004, 11:30 AM
I know sometimes forum communities don't like people digging up old posts....but I have some questions I can't seem to get answered by reading up on them, and this thread kinda related to the general idea of my questions.

1-regarding frames/iframes, accessability, and browsers.

the W3C recomendations have frames and iframes, not deprecated, but as currently acceptable tags.

the accessability guidelines state that by using coding accepted and recomended by the W3C, your site will be accessible as long as you use the "built-in" accessibility features. (noframe, alt, noscript, etc.)

2-people say to use PHP or SSI instead of iframes/frames...is this accessible? maybe I'm too new to these technologies, but why would these be acceptable but jscript not? if I wanted dynamic page content, like a navigation bar and a targeted "frame" of some sort...would using scripting of any form be accessible?

3-and regarding jscript and the like....I understand users turning off jscript because of potential malicious coding...but why would a browser not have the technology built into it? wouldn't that browser be considered deprecated? Couldn't I just simply put a message using the "noscript" tag, asking users to turn jscript on and refresh?

96turnerri
04-21-2004, 11:57 AM
1-regarding frames/iframes, accessability, and browsers.

the W3C recomendations have frames and iframes, not deprecated, but as currently acceptable tags.

the accessability guidelines state that by using coding accepted and recomended by the W3C, your site will be accessible as long as you use the "built-in" accessibility features. (noframe, alt, noscript, etc.)

answers itself i think

2-people say to use PHP or SSI instead of iframes/frames...is this accessible? maybe I'm too new to these technologies, but why would these be acceptable but jscript not? if I wanted dynamic page content, like a navigation bar and a targeted "frame" of some sort...would using scripting of any form be accessible?

some people put menus in frames so the update one file and it is all done but this could be done with ssi or sssl, eg

php - include('menu.php');

this would have the same effect you edit menu.php and your entire site is updated

3-and regarding jscript and the like....I understand users turning off jscript because of potential malicious coding...but why would a browser not have the technology built into it? wouldn't that browser be considered deprecated? Couldn't I just simply put a message using the "noscript" tag, asking users to turn jscript on and refresh?

people used to turn off javascript because web designers used it to their advantage which sometimes annoys visitors, but most modern browsers have the ability to limit what javascript can do, eg blocking right click, opening popups, resizing refreshing windows etc,

Rich

PhillMc
04-21-2004, 12:53 PM
Originally posted by 96turnerri

2-people say to use PHP or SSI instead of iframes/frames...is this accessible? maybe I'm too new to these technologies, but why would these be acceptable but jscript not? if I wanted dynamic page content, like a navigation bar and a targeted "frame" of some sort...would using scripting of any form be accessible?

some people put menus in frames so the update one file and it is all done but this could be done with ssi or sssl, eg

php - include('menu.php');

this would have the same effect you edit menu.php and your entire site is updated


Why is this more accessible??! It's SERVERSIDE, meaning there is only one machine that has to support it: the server. Using CLIENTSIDE tech. puts you on a prayer that eveyone will support it, if they dont, oh well. SERVERSIDE is always accessible, no matter what. Any browser can view it; why; b/c all the processing is done on the server, hence SERVERSIDE :)

96turnerri
04-22-2004, 03:42 AM
Originally posted by PhillMc
Why is this more accessible??!

i didnt say this was more accessable, i was quoting his post

PhillMc
04-22-2004, 11:17 AM
:o missed that, lol. Sorry:(

96turnerri
04-22-2004, 03:23 PM
lol np probably bcos i didnt define his post from mine :)