[Isis-users] Highlighting search terms in ABCD
Guilda Ascencio
gascencio at msinfo.info
Mon Apr 11 17:15:06 CEST 2016
For highlighting term in an ABCD search:
- place the script hightlight.js in central/dataentry/js
- modify [*database_folder*]/www/prologoact.pft and add the sentence
'<script language=javascript src=../dataentry/js/highlight.js></script>'/
at the beginning (all the sentence in a single line)
- modify [database_folder]/www/epilogoact.pft and add at the end, after
the sentence </html>' the following lines:
s5:=(v3000+| |),
s5:=(replace(s5,'"','')),
'<SCRIPT LANGUAGE="JavaScript">highlightSearchTerms("',s(s5),'");</SCRIPT>'/
- modify the pfts where you want to highlight the terms, adding
'<div id=results>'/
at the beginning of the format and
'</div>'
at the end of the format. This will ensure that only the
contents of the format will be highlighted
On Fri, Apr 1, 2016 at 2:30 AM, Renate Morgenstern <rmorgenstern at iway.na>
wrote:
> Good day,
>
> in Winisis search terms were highlighted. Is this possible in ABCD? Users
> were asking for this.
> I configured it in IAH, but they want it in ABCD.
>
> Regards and thanks
> Renate
>
> _______________________________________________
> isis-users mailing list
> isis-users at iccisis.org
> To manage your own subscription options go to:
> http://lists.iccisis.org/listinfo/isis-users
> Or contact Henk Rutten: hlrutten at xs4all.nl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20160411/b3ffde45/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: highlight.js
Type: application/x-javascript
Size: 3895 bytes
Desc: not available
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20160411/b3ffde45/attachment.bin>
More information about the isis-users
mailing list