1 |
458
|
doc
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2 |
|
|
<html>
|
3 |
|
|
<head>
|
4 |
|
|
<title>CodePress - Real Time Syntax Highlighting Editor written in JavaScript</title>
|
5 |
|
|
<meta name="description" content="CodePress - source code editor window" />
|
6 |
|
|
|
7 |
|
|
<script type="text/javascript">
|
8 |
|
|
var L=location.href;
|
9 |
|
|
var d=L.substring(L.indexOf("?")+1);
|
10 |
|
|
var c=v=new Array(); c=d.split("&");
|
11 |
|
|
for(i=0;i<c.length&&c.length>0;i++) {
|
12 |
|
|
v=c[i].split("="); if(v.length>1)
|
13 |
|
|
eval(v[0]+"=unescape('"+v[1].replace(/\+/g," ")+"')");}
|
14 |
|
|
|
15 |
|
|
if(language==null||language=='') language = 'generic';
|
16 |
|
|
|
17 |
|
|
ts = (new Date).getTime(); // timestamp to avoid cache
|
18 |
|
|
document.write('<link type="text/css" href="codepress.css?ts='+ts+'" rel="stylesheet" />');
|
19 |
|
|
document.write('<link type="text/css" href="languages/'+language+'.css?ts='+ts+'" rel="stylesheet" id="cp-lang-style" />');
|
20 |
|
|
document.write('<scr'+'ipt type="text/javascript" src="engines/'+engine+'.js?ts='+ts+'"></scr'+'ipt>');
|
21 |
|
|
document.write('<scr'+'ipt type="text/javascript" src="languages/'+language+'.js?ts='+ts+'"></scr'+'ipt>');
|
22 |
|
|
</script>
|
23 |
|
|
|
24 |
|
|
</head>
|
25 |
|
|
|
26 |
|
|
<script type="text/javascript">
|
27 |
|
|
if (engine == "gecko") document.write('<body> </body>');
|
28 |
|
|
else if(engine == "msie") document.write('<body><pre></pre></body>');
|
29 |
|
|
</script>
|
30 |
|
|
|
31 |
|
|
</html>
|