Results 1 to 3 of 3

Thread: Css and Dynamic Merged

  1. #1
    Join Date
    Mar 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Css and Dynamic Merged

    I asked something simular to this in anouther board and they told me it was more suited here.

    Is there a way to have a fixed - fluid - fixed css layout but instead of page changing and using iframes, this code could be implemented?

    http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    I like the idea of the pages expnading in the center when there is less or more content on then and really do not have the room or tollerence for a scroll bar in them...I also heard that this ajax coding is much cooler, smoother and clean...and that iframes are not so much....

    I am not that knowledgeable in any one area, some basic html, that is about how far my knowledge goes..I would really appreciate some help...thank you.

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

    Default

    The humble <iframe> is better-supported than any XHR coding. I suggest you use one instead. If you want it to expand nicely, use Javascript to accomplish that: look for the Iframe SSI script here on DD.

    I would advise, however, that you stay away from both concepts, and use a server-side language instead.
    Last edited by Twey; 03-04-2007 at 01:53 PM.
    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
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Yes. I also find server-side scripts much easier. It seems the way in most cases when trying things like this. For example, I could include a page with one line of script with PHP (a server-side language):
    Code:
    <?php include "mypage.php"; ?>
    and just insert it directly into a .php file. Very simple.
    - Mike

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
  •