Basicly what the topic says;
marks words correctly but scrolls all the way down
I have downloaded and using the latest version.
Then I put in the <script type="text/javascript" src="highlight.js"></script> inside the </head>
I use the <body onLoad="highlight();"> code.
The only alteration I did was to put the .CSS but inside my own .CSS file.
I do a search and it marks the words all well and nice with the yellow and it takes more than one if I search for a word that is writtin more than once at the same page, BUT ...
As soon as I click on the searchresult link I am taken to the correct page, but it scrolls by the word/s and straight to the bottom of the page.
Ideas and theories?
I use the enterprise version if that makes any difference?
[EDIT]
Just tried the <script type="text/javascript">highlight();</script> after the </body> , but no change, still same issue.
[EDIT2]
Sorry ...
Might add that I do not have any other scripts or body function and pages are written in basic html aka .html files
marks words correctly but scrolls all the way down
I have downloaded and using the latest version.
Then I put in the <script type="text/javascript" src="highlight.js"></script> inside the </head>
I use the <body onLoad="highlight();"> code.
The only alteration I did was to put the .CSS but inside my own .CSS file.
I do a search and it marks the words all well and nice with the yellow and it takes more than one if I search for a word that is writtin more than once at the same page, BUT ...
As soon as I click on the searchresult link I am taken to the correct page, but it scrolls by the word/s and straight to the bottom of the page.
Ideas and theories?
I use the enterprise version if that makes any difference?
[EDIT]
Just tried the <script type="text/javascript">highlight();</script> after the </body> , but no change, still same issue.
[EDIT2]
Sorry ...
Might add that I do not have any other scripts or body function and pages are written in basic html aka .html files
Comment