Skip to content

Add search/highlight feature to your Sciter HTML

Notifications You must be signed in to change notification settings

MustafaHi/lib_search.tis

 
 

Repository files navigation

lib_search.tis v1.2

Sciter component for adding search/highlight feature to your HTML page.

See the blog post for more information

Usage

Include 'lib_search.tis' in script and 'lib_search.css' in CSS:

<script type="text/tiscript">
	include "lib_search/lib_search.tis";
</script>

<style>
	@import url(lib_search/lib_search.css);
</style>

In your HTML, add the '.search_target' class to the element where the search will occur:

<div .search_target>
	...
</div>

Keyboard shortcuts supported:

Ctrl + F: opens the #search-box and selects the input text
Ctrl + G: search next
F3: search next
Shift + F3: search previous
ESC: closes the #search-box

About

Add search/highlight feature to your Sciter HTML

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 64.3%
  • CSS 35.7%