Web Hosting Talk







View Full Version : iFrame Alternative


anjam
07-28-2004, 06:45 AM
Im designing a site and its being coded in html not php. I have a news box at the moment which is an iframe. I need it ideally to have a scroll bar hence opting for the iframe. How does the iframe stand in terms of cross browser compatability and meeting wc3 standards etc.

Any other alternatives?

Thanks

Anjam :pimp:

websterworld
07-28-2004, 11:28 AM
an include, SSI or PHP. 'etc.
IFrames were not part of HTML until recently.



Eugene

blackdog
07-28-2004, 12:44 PM
iframes are horrible for search engines and usability. there really is no alternative... either make your news box long enough to fit all the news, or just have it fit the very latest news, and then at the bottom have a link that says "view archives" or something like that

Christina
07-28-2004, 01:26 PM
You can try using this: http://www.domedia.org/oveklykken/css-div-scroll.php

pacres
07-28-2004, 01:36 PM
great resource.

Thanks for the link Azn_Chic

Christina
07-28-2004, 01:45 PM
No problem! :)

sbdquinten
07-29-2004, 10:10 AM
nice resource! using Style Master, this was eay to implement...

Thanks!

dd2k
07-30-2004, 11:20 AM
i always find <?php include('pagename.htm'); ?> the best replacemnet for iframes,
u need to rename the page using it to page.php rather than page1.htm

stripeyteapot
07-30-2004, 12:24 PM
u need to rename the page using it to page.php rather than page1.htm

That's incorrect. You can always add a mime-type to allow .html or .htm pages to run PHP (If you insist on that extension).

dd2k
07-30-2004, 12:32 PM
just reasier to renname to .php:)

KyleN
07-30-2004, 01:56 PM
I would just make it one large table, that expands down as more content is added. If you need a scrollbar use the link Azn_Chic gave, since iFrames do limit your sites search results.