3
<link rel="stylesheet" type="text/css" href="showcode.css">
4
<script language="javascript" " src="showcode.js"></script>
4
<link rel="stylesheet" type="text/css" href="codeviewer.css">
5
<script type="text/javascript" src="codeviewer.js"></script>
8
include("showcode.php");
10
menulayout("innan.php","efter.php","test.txt","Example 1: Execution of AJAX API","Ponyo.txt");
12
$interestingrows=array(array(16,21,"Ajax function"),array(23,37,"Ajax return function"));
13
$keywords=array("showCustomer","ResultCustomer");
14
$highlight=array(array("{","highlightnormal"),array("}","highlightnormal"),array("function","highlightspecial"));
16
showfile($interestingrows,$keywords,$highlight);
8
include("codeviewerfunctions.php");
10
menulayout("innan.php", "efter.php", "example_code.txt", "Example 1: Execution of AJAX API", "example_code.txt", "example_code_description.txt");
12
$interestingRows = array(array(6, 9, "Interesting row array"), array(11,14,"Keywords"));
14
$keywords = array("showCustomer", "ResultCustomer");
16
$highlight = array(array("array", "highlightnormal"), array("showfile", "highlightspecial"));
18
showfile($interestingRows, $keywords, $highlight, "example_code.txt");