Cytat(Tubis @ 5.05.2007, 18:54:20 )

Ok zrozumiałem.
<script type="text/javascript" src="/highlighter.js"></script> - wstawiłem to w head
<body onload="highlighter.highlight()"> - to dałem zamiast <body>
I nicsię nie dzieje. Co jeszcze ma zrobić?
Jeszcze konfiguracja
Cytat
// ---------------------------------------------------------------------------
// Configuration Section:
// ---------------------------------------------------------------------------
// Uncomment the following line to hide the legend.
// highlighter.legend = false;
// List the URL parameters that contain search terms.
// Defaults: q, as_q, as_epq, as_oq, query, search
// Example:
// highlighter.parameters = 'q, as_q, as_epq, as_oq, query, search';
// Use addStyle(color, background, fontWeight) to change the highlighting style.
// This is optional. A set of 10 default styles will be used automatically.
// Example:
// highlighter.addStyle('#000', '#FF4', 'bold'); // bold, black text on yellow background.
(Zresztą wszystko jest na stronie, którą podałem.)
Oraz sprawdzenie, czy skrypt działa:
<input type="text" name="search" value="fraza" /> <input type="submit" value="szukaj" />
@DjKermit: ciekawe, co by się stało, gdy jako treść masz "<b>tresc</b>", a user będzie wyszukiwał frazy "b"...