473,408 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Need replacement for IFRAMEs


One of the messages I read here indicated that IFRAMEs are deprecated,
but did not mention an appropriate html replacement. Can someone
explain what has replaced it? Thanks.
Jul 24 '05 #1
5 19218
Once upon a time *M.L.* wrote:
One of the messages I read here indicated that IFRAMEs are deprecated,
but did not mention an appropriate html replacement. Can someone
explain what has replaced it? Thanks.


No HTML, but CSS

http://www.w3.org/TR/REC-CSS2/visufx...opdef-overflow

--
/Arne

Top posters will be ignored. Quote the part you
are replying to, no more and no less! And don't
quote signatures, thank you.
Jul 24 '05 #2
M.L. <me@privacy.net> wrote:
One of the messages I read here indicated that IFRAMEs are deprecated,
Incorrect, just not allowed under strict doctypes.
but did not mention an appropriate html replacement. Can someone
explain what has replaced it?


It hasn't been deprecated, however if you want to know if there is an
alternative that is allowed under strict then object is the answer.

Note that including html via object is just as problematic as iframes,
in fact anything that creates a scrollbar inside the viewport causes
issues.

The real solution is to link to another document if you don't want to
display the full content of another html document in another. Or stop it
if you think that in-document scrollbars are funky.

--
Spartanicus
Jul 24 '05 #3
If you are trying to load other pages into your current page then
Iframe is the only way to do that. If you simply want to section off a
portion of your page so it will scroll then you can use style sheets
like below.

<div style="width:500px; height:200px; overflow:auto;">
Your content goes here.
</div>

I have seen some articles that say you can use the <object> tag. This
only works if you ONLY want to load one page into your current page. I
haven't found any way to use Javascript to load more pages into it.

For a single page do this.

<object data="yourpage.html" width="500" height="200"></object>

Jul 24 '05 #4


On Mon, 4 Jul 2005, M.L. wrote:
One of the messages I read here indicated that IFRAMEs are deprecated,
So check the applicable specification. "deprecated" is a technical term
with a specific meaning. It's not a matter of some usenaut's opinion.
but did not mention an appropriate html replacement.


Why should there be one? Frames are an attempt by authors to reduce the
options that are available to the user. The web is an attempt in maximise
the options that are available to the user. The two are mutually
exclusive.

Jul 24 '05 #5
If you are trying to load other pages into your current page then
Iframe is the only way to do that. If you simply want to section off a
portion of your page so it will scroll then you can use style sheets
like below.

<div style="width:500px; height:200px; overflow:auto;">
Your content goes here.
</div>

I have seen some articles that say you can use the <object> tag. This
only works if you ONLY want to load one page into your current page. I
haven't found any way to use Javascript to load more pages into it.

For a single page do this.

<object data="yourpage.html" width="500" height="200"></object>


I'd like to thank you, Spartanicus, and Arne for your prompt replies.
I'll probably stick with the IFRAME solution, but will definitely try
the OBJECT and DIV methods as an experiment. Thanks everyone.
Jul 24 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dan Popa | last post by:
Check out the following 2 links: http://www.batisdev.com/admin/test_1images.asp http://www.batisdev.com/admin/test_2images.asp First page contain 4 IFRAMES and 1 IMG tags. Second page contain 4...
7
by: Scott | last post by:
Hello All, I've been reading all of the various issues with Iframes in netscape. I have tried all of the various fixes posted, and have even implemented both an iframe and ilayer. My problem is...
3
by: Nick Tew | last post by:
Hi, Firstly, any help would be gratefully received. Im using several iframes on a single page and would like individual 'back' and 'forward' buttons located in each of the iframes which only...
1
by: Nick Tew | last post by:
Hello, This relates to the previous post i've left. This problem is do with the browser's back and forward buttons. When clicked, can it be made to affect any history NOT in the iframes....
4
by: Arne Hendrickson | last post by:
Can anyone tell me how to edit this script for "traditional frames" to work with iframes? SCRIPT language="JavaScript"> <!----hide function change2() { parent.left_frame.location="page3.htm";...
1
by: Mel | last post by:
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA A, B, C, D, E are all <iframes> A's are : width:100% height:60px B's : width:80px height:100% (or adjustable) C's : width:100% height:100% (or...
2
by: Guadala Harry | last post by:
1. Are IFrames supported only in uplevel versions of IE? If not IE exclusively, what browsers support IFrames? 2. Are IFrames going to be supported in the future - as far as anyone knows - or...
3
by: Giggle Girl | last post by:
Is there a way to use Javascript to detect if a browser supports IFrames, or (if it DOES support them) that IFrame use is enabled? Thanks, Ann
9
by: CGW | last post by:
We're migrating to a new server (I hate lease expirations!), and our Net Admin set up the new one before leaving for Colorado on Spring Break. My assignment was to bring the website over. On our...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.