orbit-basic/lib/fraisier/layout.html

51 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>RulingSite</title>
<r:stylesheets>
<!-- your stylesheets here -->
</r:stylesheets>
<r:javascripts>
<!-- your javascripts here -->
</r:javascripts>
</head>
<body>
<!-- example -->
<div id="header_top" class="header">
This is the first level of header
</div>
<div id="header_bottom" class="header">
This is the second level of header
</div>
<div id="main_content" class="content">
<r:content name='content_1'>
</r:content>
<div class="dymanic_load" path="/panel/blog/widget_latest_post"></div>
<div class="dymanic_load" path="/panel/blog/widget_index"></div>
</div>
<div id="footer" class="footer">
This is the footer
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script>
$.each($(".dymanic_load"),function(){
$(this).load($(this).attr("path"),
function(respText,textSta,XML){
if(textSta == 'error')
{$(this).html("Loading Failed");}
});
}
);
</script>
<!-- END example -->
</body>
</html>