MediaWiki

Vani suggest.js: Difference between revisions

(New page: document.write('<script type="text/javascript" src="' + '/jquery/jquery-autocomplete/lib/jquery.bgiframe.min.js"></' + 'script>'); document.write('<script type="text/javascript" src="' +...)
 
(No difference)

Revision as of 12:32, 8 April 2008

document.write('<script type="text/javascript" src="'
  + '/jquery/jquery-autocomplete/lib/jquery.bgiframe.min.js"></' + 'script>');
document.write('<script type="text/javascript" src="'
+ '/jquery/jquery-autocomplete/lib/jquery.dimensions.js"></' + 'script>');
document.write('<script type="text/javascript" src="'
  + '/jquery/jquery-autocomplete/jquery.autocomplete2.js"></' + 'script>');


document.write('<script type="text/javascript" src="'
+ '/jquery/jquery-autocomplete/lib/jquery.ajaxQueue.js"></' + 'script>');
document.write('<script type="text/javascript" src="'
+ '/jquery/jquery-autocomplete/lib/thickbox-compressed.js"></' + 'script>');

document.write('<link rel="stylesheet" type="text/css" href="/jquery/jquery-autocomplete/jquery.autocomplete.css" />');
document.write('<link rel="stylesheet" type="text/css" href="/jquery/jquery-autocomplete/lib/thickbox.css" />');

$('document').ready(function () {
	$("input#q").autocomplete("/dictionary.php", {
      scroll: true,
      autofill: false,
      selectFirst: false,
      chacheLength: 45,
      maxItemsToShow: 10,
      max: 20,
      minChars: 2,
    });
});