/lenasys/0.1

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/0.1

« back to all changes in this revision

Viewing changes to trunk/CodeViewer/DomExample1/DomExample1.php

  • Committer: Henrik G.
  • Date: 2013-03-26 23:22:55 UTC
  • Revision ID: henrik.gustavsson@his.se-20130326232255-ik6snyatlbkf3zs1
First seed of Lenasys ... Needs to be Organized Further

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
        <head>
 
3
                <link rel="stylesheet" type="text/css" href="../CodeViewer/showcode.css">
 
4
                <script language="javascript" " src="../CodeViewer/showcode.js"></script>
 
5
        </head>
 
6
 
 
7
<?php
 
8
 
 
9
        include("../Codeviewer/showcode.php");
 
10
 
 
11
        
 
12
        menulayout("../DomExample1b/DomExample1b.php","","DomExample1.txt","DOM Example 1: Initiation and simple navigation (click this heading to run code)","DomExample1code.php","DomExample1.htm");
 
13
        
 
14
        $interestingrows=array(array(8,10,"PHP Code"),array(12,17,"PHP Code"));
 
15
        $keywords=array('getElementsByTagName','tagName','childNodes','nodeValue','documentElement');
 
16
        $highlight=array(array("{","highlightnormal"),array("}","highlightnormal"),array("function","highlightspecial"),array("&lt;?php","highlightspecial"),array("?&gt;","highlightspecial"),array("echo","highlightspecial"),array("if","highlightspecial"),array("else","highlightspecial"),array("foreach","highlightspecial"));
 
17
 
 
18
        showfile($interestingrows,$keywords,$highlight,"DomExample1code.php");
 
19
 
 
20
        menulayoutend();
 
21
 
 
22
?>
 
23
 
 
24
</html>