Hi,
I have been playing with the highlighting for a while and it just doesn't seem to work. I created a blank page as below. Inserted the code as I believe I am too. But it doesn't work. I put the highlight.js file in every possible folder and if I go to the same directory that the document is in or the index is in I can download that file so I do have access to it. Any hints as what to do? I have indexed with that check box to check search words and am just searching the word test. Which somes up in the hits just when you click on the link it doesn't highlight the words.
I am running this on a win2k3 server with cgi if that makes and difference.
Thank you
<html>
<head>
<style>.highlight { background: #FFFF40; }</style>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<script type="text/javascript" src="highlight.js"></script>
</head>
<body>
This is a test. Test test test
</body>
<script type="text/javascript">highlight();</script>
</html>
I have been playing with the highlighting for a while and it just doesn't seem to work. I created a blank page as below. Inserted the code as I believe I am too. But it doesn't work. I put the highlight.js file in every possible folder and if I go to the same directory that the document is in or the index is in I can download that file so I do have access to it. Any hints as what to do? I have indexed with that check box to check search words and am just searching the word test. Which somes up in the hits just when you click on the link it doesn't highlight the words.
I am running this on a win2k3 server with cgi if that makes and difference.
Thank you
<html>
<head>
<style>.highlight { background: #FFFF40; }</style>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<script type="text/javascript" src="highlight.js"></script>
</head>
<body>
This is a test. Test test test
</body>
<script type="text/javascript">highlight();</script>
</html>
Comment