HTML Frame Alternative

Posted on 2007-10-11
Last Modified: 2008-01-09

Anyone who knows an alternative to HTML frames? We want something that is search engine compatible. Because Using frames are bad for websites specially if you want PR ratings on each pages. Anyone?

Question by:openaccount
    LVL 23

    Expert Comment

    well for page layout you can use divs along with css or tables...
    LVL 48

    Accepted Solution

    instead of iframes you can use divs with overflow which look like an iframe. but the content is in a div in the same page like:
    <div style="width: 10px; height: 20px; overflow:auto; border:2px inset; padding: 2px;>text for "iframe"</div>

    Author Comment

    We have this one page which is linked to many pages with different menus. we want that page to follow the menu of the previous page where the page was loaded from.

    for the menus we are using this code to insert them.

    <!--#INCLUDE virtual="target-page.html" -->

    Author Comment

    First we though of frames or iframes because we can load all pages from the frames but we though of the search engline problem.
    LVL 16

    Assisted Solution

    The search engine problem is only if you don't have a <NOFRAMES> with links to the pages in the <FRAMESET>.  However, the search results would link into the page fragments, you would write some javascript to reinstate the frameset, like the MSDN Library does.

    The visual alternative to a frameset has been covered by hernst42.  The server-side alternative, is to use server-side includes like you suggested, but it would be nice to parameterise your includes if you can (using global variables or information out of the request if your scripting language doesn't support parameterised includes).


    An alternative to HTML fame would be HTML notoriety, but that avenue is paved with peril.
    LVL 16

    Expert Comment

    LOL, never mind!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: HTML5 Specialist

    HTML5 development skills are critical to all developers. HTML5 is the foundation to almost any development process. That's why business, design studios, development shops and other organizations need HTML5 developers. Get your foot in the door as a HTML5 specialist.

    Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
    Read about why website design really matters in today's demanding market.
    This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
    The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now