Online Demo
Note: In Demo mode you cannot change contents.
The following content area was made editable with DynPage. Click here to see the editor in action.
You see also the right news box is editable with DynPage. Click here.
How the content is included?
DynPage stores the contents in simple files which have to be included in the
page.
There are two ways to include it: Ajax/Javascript and PHP. DynPage shows you
the code parts you can copy and paste into the HTML page.
The examples above use Ajax/Javascript to load <div> tags dynamically.
<head> section of this page:
<script
type="text/javascript"
src="dynpage/js/jquery.min.js"></script>
<script type="text/javascript" src="dynpage/js/dynpage_load.js"></script>
<script type="text/javascript" src="dynpage/js/dynpage_load.js"></script>
<body> section of this page:
<div
id="dynpage_news"></div>
<script type="text/javascript">
dynpageLoad ('dynpage_news', 'dynpage/content/dynpage_news.htm');
</script>
...
<div id="demo_1"></div>
<script type="text/javascript">
dynpageLoad ('demo_1', 'dynpage/content/demo_1.htm');
</script>
<script type="text/javascript">
dynpageLoad ('dynpage_news', 'dynpage/content/dynpage_news.htm');
</script>
...
<div id="demo_1"></div>
<script type="text/javascript">
dynpageLoad ('demo_1', 'dynpage/content/demo_1.htm');
</script>
