A Crap shoot...Css and editable regions

liunx

Guest
Ok here is a major interesting question that has me baffled

is it possible to create a css site but specify an editable region - maybe even 2 ?

the reason im asking is because we've developed our CSS page after much toil and sweat and tears - and the occasional insult and threat of killing machinery we managed it...

but is it possible to apply the CSS page as a template???

need instant feeback here!!!By an editable region do you mean something like a psuedo-frame area or ???by editable regions i mean that you take the page youve created and place editable regions for the only items that would change on different places i.e text and pictures...

is it possible to add those regions to a css built site??

(btw - we used dreamweaver in code form to create the page)If I understand correctly something like this may work for you:

function getFile(fileName){
oxmlhttp = null;
try{
oxmlhttp = new XMLHttpRequest();
oxmlhttp.overrideMimeType("text/xml");
}
catch(e){
try{
oxmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e){
return null;
}
}
if(!oxmlhttp) return null;
try{
oxmlhttp.open("GET",fileName,false);
oxmlhttp.send(null);
}
catch(e){
return null;
}
return oxmlhttp.responseText;
}

function loadDoc(fileName){
document.getElementById("contentDiv").innerHTML=getFile(fileName);
}
....
<div id="contentDiv">
</div>
<button onclick="loadDoc('Content1.html');">Next Page</button>hmm that looks like it could help...will try it and see what happensThe manipulation of templates for pages designed using CSS is no different from those designed using tabls or none at all. For manually edited pages you indicate the editable areas with comments or ids. For server generated pages you use whatever inclusion mechanism is available to you on the server side, either server side includes or page parsing processes.Why's that say PHP when it's Javascript? Or is that the only kind of code tag we have here.There is also a [
Code:
] tag but it doesn't color code. (I have no idea how to quote a square bracket in this software.)
 
Back
Top