Results 1 to 4 of 4

Thread: alternative to frames

  1. #1
    Join Date
    Sep 2004
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default alternative to frames

    I'm redesigning my website and looking for an alternative to frames. I have a more advanced version of the three page website and would like to have different pages embedded within the page you are viewing, but would like the text to wrap around it as well as interact with each other. For instance, I'd have a nav bar on the left, header on top, and misc. content on the right, then have a main frame/page in the center, but I'd have a different page for all of them. I know this can be done in CSS, but if there are any other alternatives I haven't come across them yet. Any suggestion?

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    You can't, really. Server-side includes are your best option here. The only other way is to use
    HTML Code:
    <object name="embed1" type="text/html" height="450" width="450" border="0" data="http://www.google.com/"></object>
    ... for IE4+, and
    HTML Code:
    <layer id="embed1" src="http://www.google.com/" bgcolor="#00ff00"  width="500" height="450" top="10" left="270" visibility="show"></layer>
    ... for NS4.
    However, using browser-specific techniques is never a good idea.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Sep 2004
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    do you know if there is a way to do it in css? i saw one method using squares, i guess i could work on that, but i was hoping for maybe a way to do it in flash or with a page design program and edit the rest in code. see i could do it using the squares with css but i dont think i could align them from the top without using tables. any suggestions?

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    You can't, as far as I know, include a page with CSS.
    I may be wrong, if you insist that this is possible, but I would think it contrary to the idea of CSS, which was to seperate the content from the appearance.
    I don't know anything about Flash; there may be a way to read and render a page, there may not.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •