Hi:
I am trying to use the Jump to match and highlight within document functionality. It was working fine when I experimented with it, but now it's no longer working after I re-indexed.
I tried adding the highlight() function in the <body> tag as well as right after the </body> tag in all my HTML pages. Basically followed all the instructions as well as looked at the troubleshooting section, but it has stopped working.
I do know that the highlight() function is getting called correctly because (just for testing) I added an Alert Box in the highlight() function in highlight.js, and when I click on any HTML page, the Alert Box pops up correctly due to the onload event.
Any ideas on what I am missing? Ideally, I would prefer to have the highlight() function right after the </body> tag rather than in the <body> tag.
Things to note:
1. I am using IE.
2. I have renamed highlight.js to my naming convention, but as I mentioned earlier, the highlight() function within this renamed file is correctly getting called.
3. I have appended two new custom JS functions towards the end of the file. Note that I have not touched Wrenexisting code in highligh.js.
Thanks,
K
I am trying to use the Jump to match and highlight within document functionality. It was working fine when I experimented with it, but now it's no longer working after I re-indexed.
I tried adding the highlight() function in the <body> tag as well as right after the </body> tag in all my HTML pages. Basically followed all the instructions as well as looked at the troubleshooting section, but it has stopped working.
I do know that the highlight() function is getting called correctly because (just for testing) I added an Alert Box in the highlight() function in highlight.js, and when I click on any HTML page, the Alert Box pops up correctly due to the onload event.
Any ideas on what I am missing? Ideally, I would prefer to have the highlight() function right after the </body> tag rather than in the <body> tag.
Things to note:
1. I am using IE.
2. I have renamed highlight.js to my naming convention, but as I mentioned earlier, the highlight() function within this renamed file is correctly getting called.
3. I have appended two new custom JS functions towards the end of the file. Note that I have not touched Wrenexisting code in highligh.js.
Thanks,
K
Comment