Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

IFRAME can generate problems?

Hello,
this is my first time in this forum.
We are redesigning our company's enterprise site and since we need to add some content from an external application to the homepage, we are considering the use of an IFRAME box. What problems should we expect to encounter? And what about cross-browser portability?
Do you know any usability problem (for instance font resizing and box appearance)?
Any suggestion would be greatly appreciated.

Thanks a lot,

Marco
[496 byte] By [mdini] at [2007-11-11 11:50:03]
# 1 Re: IFRAME can generate problems?
Welcome to dev-archive :WAVE:

What kind of site do you have?

How much traffic would you consider to be normal?

Is this a browse only site or does it provide some kind of service?
Hack at 2007-11-11 23:34:02 >
# 2 Re: IFRAME can generate problems?
I'm not aware of any real problems
JPnyc at 2007-11-11 23:35:09 >
# 3 Re: IFRAME can generate problems?
You should adjust the frame size to not take more or less size, less size will scroll or if there isn't scroll bars it won't make everthing appear, more size will make a useless spaces ... so use it only if you are sure about some fixed size, and text browsers won't be able to consider what's inside the IFRAME .
Amahdy at 2007-11-11 23:36:08 >
# 4 Re: IFRAME can generate problems?
Welcome to dev-archive :WAVE:

What kind of site do you have?

How much traffic would you consider to be normal?

Is this a browse only site or does it provide some kind of service?

Our company is a concessionaire for toll motorway construction and management, and for related transport services in Italy. Our motorways have an electronic toll collection system based on an on-board device called Telepass. Our Telepass users get in the site to manage their information. We consider normal traffic 600.000 visits per month. In the rush hours our servers attain 600 contemporary sessions and sometime even more.
mdini at 2007-11-11 23:37:08 >
# 5 Re: IFRAME can generate problems?
Websites of all sizes and levels of traffic use I-frames with no difficulty, including the site you're on now. There are no inherent problems in using them, and most every browser nowadays supports them. The only issue I find with them is that they cannot be dynamically sized without scripting, which I consider something of an annoyance.
JPnyc at 2007-11-11 23:38:12 >
# 6 Re: IFRAME can generate problems?
yes scripting may solve size problem, but for the other side I'm just considering a desktop application that wants to read your website for example, it won't be able to see what the frame contains unless it parses the html and open it in a new instance... anyway I know it's maybe not very important for you but just telling what users may have as problems.
Amahdy at 2007-11-11 23:39:16 >