Could any tell me how to create main(master) template by using the following source & stylesheet and also pls tell me creation document types(sample),macros,xslt file(for creation of sample site from scratch).
source:
---------
<script type="text/JavaScript"><br />
<!--<br />
function MM_swapImgRestore() { //v3.0<br />
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;<br />
}<br />
<br />
function MM_preloadImages() { //v3.0<br />
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();<br />
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)<br />
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}<br />
}<br />
<br />
<br />
function MM_swapImage() { //v3.0<br />
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)<br />
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}<br />
}<br />
//--><br />
</script>
I'd recommend starting off by installing runway or cws2 and deconstructing them to see how they're put together. The books section is also worth a read -> http://umbraco.org/documentation/books/
creation of new site from scratch in umbraco
Hi all,
Could any tell me how to create main(master) template by using the following source & stylesheet and also pls tell me creation document types(sample),macros,xslt file(for creation of sample site from scratch).
source:
---------
Style sheet:
--------------
/* CSS Document */
body{
background-repeat:repeat-X;
margin-top:0px;
margin-left:0px;
margin-bottom:0px;
margin-right:0px;
font-family:Tahoma;
font-size:11px;
line-height:16px;
}
A:link{
COLOR: #1a3f85; TEXT-DECORATION: none;
font-size:12px;
}
A:hover {
COLOR:#000066; TEXT-DECORATION: underline;
font-size:12px;
}
A:visited {
COLOR:#1a3f85; TEXT-DECORATION: none;
font-size:12px;
}
.newstext {
FONT-SIZE: 12px;COLOR:#FFFFFF;
font-family:Arial, Helvetica, sans-serif;
}
.newstexthdr {
PADDING-RIGHT: 5px; PADDING-LEFT: 0px; FONT-SIZE: 16px; font-weight:bold; PADDING-BOTTOM: 0px; COLOR: #333; PADDING-TOP: 0px;
TEXT-ALIGN: justify; text-decoration:underline;
}
.footertext {
FONT-SIZE: 10px; COLOR:#000000; TEXT-ALIGN: center;
}
.footer_text2 {
FONT-SIZE: 10px; COLOR:#003366; TEXT-ALIGN: center;
}
A.footerlinks:link {
font:Arial, Helvetica, sans-serif;
COLOR:#FFFFFF; TEXT-DECORATION: none;
font-size:11px;
}
A.footerlinks:hover {
font:Arial, Helvetica, sans-serif;
COLOR:#FFFFFF; TEXT-DECORATION:underline;
font-size:11px;
}
A.footerlinks:visited {
font:Arial, Helvetica, sans-serif;
COLOR:#FFFFFF; TEXT-DECORATION: none;
font-size:11px;
}
.mainhdrs {
FONT-SIZE: 14px; COLOR: #333333; TEXT-ALIGN: left; font-weight:bold;
}
.heading {
font-family:Arial, Helvetica, sans-serif;
font-size:16px;
font-weight:bold;
color:#0099CC;
}
.whitehead {
font-family:Arial, Helvetica, sans-serif;
font-size:18px;
color:#FFFFFF;
font-weight:bold;
}
A.Sublinks:link {
font:Arial, Helvetica, sans-serif;COLOR: #007095;text-decoration:underline;font-size:13px;
}
A.Sublinks:hover {
font:Arial, Helvetica, sans-serif;COLOR: #CC3300;text-decoration:underline;
font-weight:bold;font-size:13px;
}
A.Sublinks:visited {
font:Arial, Helvetica, sans-serif;COLOR: #007095;text-decoration:underline;font-size:13px;
}
.boxheader {
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
color:#FFFFFF;
}
A.HeadText:link {
font:Arial, Helvetica, sans-serif;COLOR:#FFFFFF;font-size:12px;font-weight:bold;
}
A.HeadText:hover {
font:Arial, Helvetica, sans-serif;COLOR:#FFFFFF;font-weight:bold;font-size:12px;
}
A.HeadText:visited {
font:Arial, Helvetica, sans-serif;COLOR:#FFFFFF;font-size:12px;font-weight:bold;
}
Wow!
I'd recommend starting off by installing runway or cws2 and deconstructing them to see how they're put together. The books section is also worth a read -> http://umbraco.org/documentation/books/
is working on a reply...