PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Happy user

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Happy user

    I am using your "javascript" platform for the help-pages of my own product, where the html pages are displayed inside an "embedded" ms web-browser control. I did have some trouble with the "highlight.js" file, because my product hides the browser's own scroll-bars, but I was able to get round this by getting the script to execute:

    window.external.zoomhipos = y ;

    Of course, I had to add an IDispatch interface, to implement the "external" property "zoomhipos" which was more a question of research than effort. If anyone is interested in this solution, just email me for examples.

    Thanks for a great product!

  • #2
    Hi Dave, glad to hear you're happy with the product.

    I'm not too sure how hiding the browser's scrollbar would affect the highlight script. But if it has anything to do with the scrolling operation (that is, the highlight script attempts to scroll to the first occurance of the matched word), you can disable this operation (and only highlight) by changing this property near the top of the script:

    // If you wish to disable the jump functionality which scrolls the browser
    // to the first occurance of the matched word, change this setting to false
    var JumpToFirstOccurance = true;
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...
    X