Log in

View Full Version : Css and Dynamic Merged



Enchant
03-04-2007, 01:15 PM
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/dynamicindex17/ajaxcontent.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.

Twey
03-04-2007, 01:39 PM
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.

mburt
03-04-2007, 01:43 PM
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):

<?php include "mypage.php"; ?>
and just insert it directly into a .php file. Very simple.