Hello I am hoping someone can help I am trying to use Syntax Highlighter on a web page of mine. I have followed the installation instructions by extracting the following files:
shCore.css
shThemeDefault.css
shCore.js
shBrushPowerShell.js
Basically all I can see is the code from the script file but it isn't highlighted. Here is my code on script.php
<html>
<head>
<link href="../stylesheets/shCore.css" rel="stylesheet" type="text/css" />
<link href="../stylesheets/shThemeDefault.css" rel="stylesheet" type="text/css" />
</head>
<body>
<script type="text/javascript" src="../js/shCore.js"></script>
<script type="text/javascript" src="../js/shBrushPowerShell.js"></script>
<script type="text/javascript">
SyntaxHighlighter.all()
</script>
<pre class="brush: ps">
<?php
$filename = $_GET['file'];
$filecontent = file_get_contents($filename);
echo $filecontent;
?>
</pre>
</body>
</html>
Can anyone see what the problem is here? I am a bit stuck, have I missed something fundamental? Any help would be greatly appreciated.
PS - all links to CSS and JS files are working as tested clicking them in "View Source" in chrome.