Added the Autocomplete plugin
20
plugins/Autocomplete/jquery-autocomplete/changelog.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
1.0.2
|
||||
-----
|
||||
* Fixed missing semicolon
|
||||
|
||||
1.0.1
|
||||
-----
|
||||
* Fixed element creation (<ul> to <ul/> and <li> to </li>)
|
||||
* Fixed ac_even class (was ac_event)
|
||||
* Fixed bgiframe usage: now its really optional
|
||||
* Removed the blur-on-return workaround, added a less obtrusive one only for Opera
|
||||
* Fixed hold cursor keys: Opera needs keypress, everyone else keydown to scroll through result list when holding cursor key
|
||||
* Updated package to jQuery 1.2.5, removing dimensions
|
||||
* Fixed multiple-mustMatch: Remove only the last term when no match is found
|
||||
* Fixed multiple without mustMatch: Don't select the last active when no match is found (on tab/return)
|
||||
* Fixed multiple cursor position: Put cursor at end of input after selecting a value
|
||||
|
||||
1.0
|
||||
---
|
||||
|
||||
* First release.
|
BIN
plugins/Autocomplete/jquery-autocomplete/demo/bg.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
23
plugins/Autocomplete/jquery-autocomplete/demo/emails.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
$q = strtolower($_GET["q"]);
|
||||
if (!$q) return;
|
||||
$items = array(
|
||||
"Peter Pan"=>"peter@pan.de",
|
||||
"Molly"=>"molly@yahoo.com",
|
||||
"Forneria Marconi"=>"live@japan.jp",
|
||||
"Master Sync"=>"205bw@samsung.com",
|
||||
"Dr. Tech de Log"=>"g15@logitech.com",
|
||||
"Don Corleone"=>"don@vegas.com",
|
||||
"Mc Chick"=>"info@donalds.org",
|
||||
"Donnie Darko"=>"dd@timeshift.info",
|
||||
"Quake The Net"=>"webmaster@quakenet.org",
|
||||
"Dr. Write"=>"write@writable.com"
|
||||
);
|
||||
|
||||
echo "[";
|
||||
foreach ($items as $key=>$value) {
|
||||
if (strpos(strtolower($key), $q) !== false) {
|
||||
echo "{ name: \"$key\", to: \"$value\" }, ";
|
||||
}
|
||||
}
|
||||
echo "]";
|
23
plugins/Autocomplete/jquery-autocomplete/demo/emails.phps
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
$q = strtolower($_GET["q"]);
|
||||
if (!$q) return;
|
||||
$items = array(
|
||||
"Peter Pan"=>"peter@pan.de",
|
||||
"Molly"=>"molly@yahoo.com",
|
||||
"Forneria Marconi"=>"live@japan.jp",
|
||||
"Master Sync"=>"205bw@samsung.com",
|
||||
"Dr. Tech de Log"=>"g15@logitech.com",
|
||||
"Don Corleone"=>"don@vegas.com",
|
||||
"Mc Chick"=>"info@donalds.org",
|
||||
"Donnie Darko"=>"dd@timeshift.info",
|
||||
"Quake The Net"=>"webmaster@quakenet.org",
|
||||
"Dr. Write"=>"write@writable.com"
|
||||
);
|
||||
|
||||
echo "[";
|
||||
foreach ($items as $key=>$value) {
|
||||
if (strpos(strtolower($key), $q) !== false) {
|
||||
echo "{ name: \"$key\", to: \"$value\" }, ";
|
||||
}
|
||||
}
|
||||
echo "]";
|
9
plugins/Autocomplete/jquery-autocomplete/demo/images.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$term = $_REQUEST['q'];
|
||||
$images = array_slice(scandir("images"), 2);
|
||||
foreach($images as $value) {
|
||||
if( strpos(strtolower($value), $term) === 0 ) {
|
||||
echo $value . "\n";
|
||||
}
|
||||
}
|
||||
?>
|
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 4.1 KiB |
BIN
plugins/Autocomplete/jquery-autocomplete/demo/images/Bled.jpg
Normal file
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 5.4 KiB |
After Width: | Height: | Size: 5.1 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 6.3 KiB |
BIN
plugins/Autocomplete/jquery-autocomplete/demo/images/Gent.jpg
Normal file
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 3.7 KiB |
BIN
plugins/Autocomplete/jquery-autocomplete/demo/images/Gnesen.jpg
Normal file
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 5.7 KiB |
BIN
plugins/Autocomplete/jquery-autocomplete/demo/images/LeMans.jpg
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
plugins/Autocomplete/jquery-autocomplete/demo/images/Lednice.jpg
Normal file
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 2.3 KiB |
BIN
plugins/Autocomplete/jquery-autocomplete/demo/images/Lemmer.jpg
Normal file
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 6.3 KiB |
BIN
plugins/Autocomplete/jquery-autocomplete/demo/images/Leuven.jpg
Normal file
After Width: | Height: | Size: 6.7 KiB |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 4.4 KiB |
BIN
plugins/Autocomplete/jquery-autocomplete/demo/images/Lyon.jpg
Normal file
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 5.4 KiB |
After Width: | Height: | Size: 6.2 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 5.4 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 7.6 KiB |
BIN
plugins/Autocomplete/jquery-autocomplete/demo/images/Olomouc.jpg
Normal file
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 7.0 KiB |
After Width: | Height: | Size: 5.4 KiB |
BIN
plugins/Autocomplete/jquery-autocomplete/demo/images/Posen.jpg
Normal file
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 5.1 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 5.4 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 7.0 KiB |
After Width: | Height: | Size: 8.6 KiB |
After Width: | Height: | Size: 6.5 KiB |
272
plugins/Autocomplete/jquery-autocomplete/demo/index.html
Normal file
@@ -0,0 +1,272 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<title>jQuery Autocomplete Plugin</title>
|
||||
<script type="text/javascript" src="../lib/jquery.js"></script>
|
||||
<script type='text/javascript' src='../lib/jquery.bgiframe.min.js'></script>
|
||||
<script type='text/javascript' src='../lib/jquery.ajaxQueue.js'></script>
|
||||
<script type='text/javascript' src='../lib/thickbox-compressed.js'></script>
|
||||
<script type='text/javascript' src='../jquery.autocomplete.js'></script>
|
||||
<script type='text/javascript' src='localdata.js'></script>
|
||||
<link rel="stylesheet" type="text/css" href="main.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../jquery.autocomplete.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../lib/thickbox.css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
$().ready(function() {
|
||||
|
||||
function findValueCallback(event, data, formatted) {
|
||||
$("<li>").html( !data ? "No match!" : "Selected: " + formatted).appendTo("#result");
|
||||
}
|
||||
|
||||
function formatItem(row) {
|
||||
return row[0] + " (<strong>id: " + row[1] + "</strong>)";
|
||||
}
|
||||
function formatResult(row) {
|
||||
return row[0].replace(/(<.+?>)/gi, '');
|
||||
}
|
||||
|
||||
$("#suggest1").autocomplete(cities);
|
||||
$("#month").autocomplete(months, {
|
||||
minChars: 0,
|
||||
max: 12,
|
||||
autoFill: true,
|
||||
mustMatch: true,
|
||||
matchContains: false,
|
||||
scrollHeight: 220,
|
||||
formatItem: function(data, i, total) {
|
||||
// don't show the current month in the list of values (for whatever reason)
|
||||
if ( data[0] == months[new Date().getMonth()] )
|
||||
return false;
|
||||
return data[0];
|
||||
}
|
||||
});
|
||||
$("#suggest13").autocomplete(emails, {
|
||||
minChars: 0,
|
||||
width: 310,
|
||||
matchContains: true,
|
||||
autoFill: false,
|
||||
formatItem: function(row, i, max) {
|
||||
return i + "/" + max + ": \"" + row.name + "\" [" + row.to + "]";
|
||||
},
|
||||
formatMatch: function(row, i, max) {
|
||||
return row.name + " " + row.to;
|
||||
},
|
||||
formatResult: function(row) {
|
||||
return row.to;
|
||||
}
|
||||
});
|
||||
$("#singleBirdRemote").autocomplete("search.php", {
|
||||
width: 260,
|
||||
selectFirst: false
|
||||
});
|
||||
$("#suggest14").autocomplete(cities, {
|
||||
matchContains: true,
|
||||
minChars: 0
|
||||
});
|
||||
$("#suggest3").autocomplete(cities, {
|
||||
multiple: true,
|
||||
mustMatch: true,
|
||||
autoFill: true
|
||||
});
|
||||
$("#suggest4").autocomplete('search.php', {
|
||||
width: 300,
|
||||
multiple: true,
|
||||
matchContains: true,
|
||||
formatItem: formatItem,
|
||||
formatResult: formatResult
|
||||
});
|
||||
$("#imageSearch").autocomplete("images.php", {
|
||||
width: 320,
|
||||
max: 4,
|
||||
highlight: false,
|
||||
scroll: true,
|
||||
scrollHeight: 300,
|
||||
formatItem: function(data, i, n, value) {
|
||||
return "<img src='images/" + value + "'/> " + value.split(".")[0];
|
||||
},
|
||||
formatResult: function(data, value) {
|
||||
return value.split(".")[0];
|
||||
}
|
||||
});
|
||||
$("#tags").autocomplete(["c++", "java", "php", "coldfusion", "javascript", "asp"], {
|
||||
width: 320,
|
||||
max: 4,
|
||||
highlight: false,
|
||||
multiple: true,
|
||||
multipleSeparator: " ",
|
||||
scroll: true,
|
||||
scrollHeight: 300
|
||||
});
|
||||
|
||||
|
||||
$(":text, textarea").result(findValueCallback).next().click(function() {
|
||||
$(this).prev().search();
|
||||
});
|
||||
$("#singleBirdRemote").result(function(event, data, formatted) {
|
||||
if (data)
|
||||
$(this).parent().next().find("input").val(data[1]);
|
||||
});
|
||||
$("#suggest4").result(function(event, data, formatted) {
|
||||
var hidden = $(this).parent().next().find(">:input");
|
||||
hidden.val( (hidden.val() ? hidden.val() + ";" : hidden.val()) + data[1]);
|
||||
});
|
||||
$("#suggest15").autocomplete(cities, { scroll: true } );
|
||||
$("#scrollChange").click(changeScrollHeight);
|
||||
|
||||
$("#thickboxEmail").autocomplete(emails, {
|
||||
minChars: 0,
|
||||
width: 310,
|
||||
matchContains: true,
|
||||
highlightItem: false,
|
||||
formatItem: function(row, i, max, term) {
|
||||
return row.name.replace(new RegExp("(" + term + ")", "gi"), "<strong>$1</strong>") + "<br><span style='font-size: 80%;'>Email: <" + row.to + "></span>";
|
||||
},
|
||||
formatResult: function(row) {
|
||||
return row.to;
|
||||
}
|
||||
});
|
||||
|
||||
$("#clear").click(function() {
|
||||
$(":input").unautocomplete();
|
||||
});
|
||||
});
|
||||
|
||||
function changeOptions(){
|
||||
var max = parseInt(window.prompt('Please type number of items to display:', jQuery.Autocompleter.defaults.max));
|
||||
if (max > 0) {
|
||||
$("#suggest1").setOptions({
|
||||
max: max
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function changeScrollHeight() {
|
||||
var h = parseInt(window.prompt('Please type new scroll height (number in pixels):', jQuery.Autocompleter.defaults.scrollHeight));
|
||||
if(h > 0) {
|
||||
$("#suggest1").setOptions({
|
||||
scrollHeight: h
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function changeToMonths(){
|
||||
$("#suggest1")
|
||||
// clear existing data
|
||||
.val("")
|
||||
// change the local data to months
|
||||
.setOptions({data: months})
|
||||
// get the label tag
|
||||
.prev()
|
||||
// update the label tag
|
||||
.text("Month (local):");
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/">jQuery Autocomplete Plugin</a> Demo</h1>
|
||||
|
||||
<div id="content">
|
||||
|
||||
<form autocomplete="off">
|
||||
<p>
|
||||
<label>Single City (local):</label>
|
||||
<input type="text" id="suggest1" />
|
||||
<input type="button" value="Get Value" />
|
||||
<input type="button" value="Change Max Items" onclick="changeOptions();" />
|
||||
<input type="button" value="Change to Month Data" onclick="changeToMonths();" />
|
||||
<input type="button" value="Change scroll height" id="scrollChange" />
|
||||
</p>
|
||||
<p>
|
||||
<label>Month (local):</label>
|
||||
<input type="text" id="month" />
|
||||
<input type="button" value="Get Value" />
|
||||
(Current month is excluded from list)
|
||||
</p>
|
||||
<p>
|
||||
<label>E-Mail (local):</label>
|
||||
<input type="text" id="suggest13" />
|
||||
<input type="button" value="Get Value" />
|
||||
</p>
|
||||
<p>
|
||||
<label>Single Bird (remote):</label>
|
||||
<input type="text" id="singleBirdRemote" />
|
||||
<input type="button" value="Get Value" />
|
||||
</p>
|
||||
<p>
|
||||
<label>Hidden input</label>
|
||||
<input />
|
||||
</p>
|
||||
<p>
|
||||
<label>Single City (contains):</label>
|
||||
<input type="text" id="suggest14" />
|
||||
<input type="button" value="Get Value" />
|
||||
</p>
|
||||
<p>
|
||||
<label>Multiple Cities (local):</label>
|
||||
<textarea id='suggest3' cols='40' rows='3'></textarea>
|
||||
<input type="button" value="Get Value" />
|
||||
</p>
|
||||
<p>
|
||||
<label>Multiple Birds (remote):</label>
|
||||
<textarea id='suggest4'></textarea>
|
||||
<input type="button" value="Get Value" />
|
||||
</p>
|
||||
<p>
|
||||
<label>Hidden input</label>
|
||||
<textarea></textarea>
|
||||
</p>
|
||||
<p>
|
||||
<label>Image search (remote):</label>
|
||||
<input type="text" id='imageSearch' />
|
||||
<input type="button" value="Get Value" />
|
||||
</p>
|
||||
<p>
|
||||
<label>Tags (local):</label>
|
||||
<input type="text" id='tags' />
|
||||
<input type="button" value="Get Value" />
|
||||
</p>
|
||||
<p>
|
||||
<label>Some dropdown (<3 IE):</label>
|
||||
<select>
|
||||
<option value="">Item 12334455</option>
|
||||
<option value="2">Item 2</option>
|
||||
<option value="3">Item 3</option>
|
||||
<option value="4">Item 4</option>
|
||||
</select>
|
||||
</p>
|
||||
|
||||
<input type="submit" value="Submit" />
|
||||
</form>
|
||||
|
||||
<p>
|
||||
<a href="#TB_inline?height=155&width=400&inlineId=modalWindow" class="thickbox">Click here for an autocomplete inside a thickbox window.</a> (this should work even if it is beyond the fold)
|
||||
</p>
|
||||
|
||||
<div id="modalWindow" style="display: none;">
|
||||
<p>
|
||||
<label>E-Mail (local):</label>
|
||||
<input type="text" id="thickboxEmail" />
|
||||
<input type="button" value="Get Value" />
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<button id="clear">Remove all autocompletes</button>
|
||||
|
||||
<a href="search.phps">PHP script used to for remote autocomplete</a>
|
||||
|
||||
<h3>Result:</h3> <ol id="result"></ol>
|
||||
|
||||
</div>
|
||||
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
_uacct = "UA-2623402-1";
|
||||
urchinTracker();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
BIN
plugins/Autocomplete/jquery-autocomplete/demo/indicator.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
68
plugins/Autocomplete/jquery-autocomplete/demo/json.html
Normal file
@@ -0,0 +1,68 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<title>jQuery Autocomplete Plugin</title>
|
||||
<script type="text/javascript" src="../lib/jquery.js"></script>
|
||||
<script type='text/javascript' src='../lib/jquery.bgiframe.min.js'></script>
|
||||
<script type='text/javascript' src='../lib/jquery.ajaxQueue.js'></script>
|
||||
<script type='text/javascript' src='../lib/thickbox-compressed.js'></script>
|
||||
<script type='text/javascript' src='../jquery.autocomplete.js'></script>
|
||||
<script type='text/javascript' src='localdata.js'></script>
|
||||
<link rel="stylesheet" type="text/css" href="main.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../jquery.autocomplete.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../lib/thickbox.css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
function format(mail) {
|
||||
return mail.name + " <" + mail.to + ">";
|
||||
}
|
||||
$("#email").autocomplete('emails.php', {
|
||||
multiple: true,
|
||||
parse: function(data) {
|
||||
return $.map(eval(data), function(row) {
|
||||
return {
|
||||
data: row,
|
||||
value: row.name,
|
||||
result: row.name + " <" + row.to + ">"
|
||||
}
|
||||
});
|
||||
},
|
||||
formatItem: function(item) {
|
||||
return format(item);
|
||||
}
|
||||
}).result(function(e, item) {
|
||||
$("#content").append("<p>selected " + format(item) + "</p>");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1 id="banner"><a href="http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/">jQuery Autocomplete Plugin</a> Demo</h1>
|
||||
|
||||
<div id="content">
|
||||
|
||||
<form autocomplete="off">
|
||||
<p>
|
||||
<label>E-Mail (remote json):</label>
|
||||
<textarea cols="120" id="email"></textarea>
|
||||
</p>
|
||||
|
||||
<input type="submit" value="Submit" />
|
||||
</form>
|
||||
|
||||
<a href="emails.phps">Server-side script creating the JSON data</a>
|
||||
|
||||
</div>
|
||||
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
_uacct = "UA-2623402-1";
|
||||
urchinTracker();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
216
plugins/Autocomplete/jquery-autocomplete/demo/localdata.js
vendored
Normal file
@@ -0,0 +1,216 @@
|
||||
var months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
|
||||
var emails = [
|
||||
{ name: "Peter Pan", to: "peter@pan.de" },
|
||||
{ name: "Molly", to: "molly@yahoo.com" },
|
||||
{ name: "Forneria Marconi", to: "live@japan.jp" },
|
||||
{ name: "Master <em>Sync</em>", to: "205bw@samsung.com" },
|
||||
{ name: "Dr. <strong>Tech</strong> de Log", to: "g15@logitech.com" },
|
||||
{ name: "Don Corleone", to: "don@vegas.com" },
|
||||
{ name: "Mc Chick", to: "info@donalds.org" },
|
||||
{ name: "Donnie Darko", to: "dd@timeshift.info" },
|
||||
{ name: "Quake The Net", to: "webmaster@quakenet.org" },
|
||||
{ name: "Dr. Write", to: "write@writable.com" }
|
||||
];
|
||||
var cities = [
|
||||
"Aberdeen", "Ada", "Adamsville", "Addyston", "Adelphi", "Adena", "Adrian", "Akron",
|
||||
"Albany", "Alexandria", "Alger", "Alledonia", "Alliance", "Alpha", "Alvada",
|
||||
"Alvordton", "Amanda", "Amelia", "Amesville", "Amherst", "Amlin", "Amsden",
|
||||
"Amsterdam", "Andover", "Anna", "Ansonia", "Antwerp", "Apple Creek", "Arcadia",
|
||||
"Arcanum", "Archbold", "Arlington", "Ashland", "Ashley", "Ashtabula", "Ashville",
|
||||
"Athens", "Attica", "Atwater", "Augusta", "Aurora", "Austinburg", "Ava", "Avon",
|
||||
"Avon Lake", "Bainbridge", "Bakersville", "Baltic", "Baltimore", "Bannock",
|
||||
"Barberton", "Barlow", "Barnesville", "Bartlett", "Barton", "Bascom", "Batavia",
|
||||
"Bath", "Bay Village", "Beach City", "Beachwood", "Beallsville", "Beaver",
|
||||
"Beaverdam", "Bedford", "Bellaire", "Bellbrook", "Belle Center", "Belle Valley",
|
||||
"Bellefontaine", "Bellevue", "Bellville", "Belmont", "Belmore", "Beloit", "Belpre",
|
||||
"Benton Ridge", "Bentonville", "Berea", "Bergholz", "Berkey", "Berlin",
|
||||
"Berlin Center", "Berlin Heights", "Bethel", "Bethesda", "Bettsville", "Beverly",
|
||||
"Bidwell", "Big Prairie", "Birmingham", "Blacklick", "Bladensburg", "Blaine",
|
||||
"Blakeslee", "Blanchester", "Blissfield", "Bloomdale", "Bloomingburg",
|
||||
"Bloomingdale", "Bloomville", "Blue Creek", "Blue Rock", "Bluffton",
|
||||
"Bolivar", "Botkins", "Bourneville", "Bowerston", "Bowersville",
|
||||
"Bowling Green", "Bradford", "Bradner", "Brady Lake", "Brecksville",
|
||||
"Bremen", "Brewster", "Brice", "Bridgeport", "Brilliant", "Brinkhaven",
|
||||
"Bristolville", "Broadview Heights", "Broadway", "Brookfield", "Brookpark",
|
||||
"Brookville", "Brownsville", "Brunswick", "Bryan", "Buchtel", "Buckeye Lake",
|
||||
"Buckland", "Bucyrus", "Buffalo", "Buford", "Burbank", "Burghill", "Burgoon",
|
||||
"Burkettsville", "Burton", "Butler", "Byesville", "Cable", "Cadiz", "Cairo",
|
||||
"Caldwell", "Caledonia", "Cambridge", "Camden", "Cameron", "Camp Dennison",
|
||||
"Campbell", "Canal Fulton", "Canal Winchester", "Canfield", "Canton", "Carbon Hill",
|
||||
"Carbondale", "Cardington", "Carey", "Carroll", "Carrollton", "Casstown",
|
||||
"Castalia", "Catawba", "Cecil", "Cedarville", "Celina", "Centerburg",
|
||||
"Chagrin Falls", "Chandlersville", "Chardon", "Charm", "Chatfield", "Chauncey",
|
||||
"Cherry Fork", "Chesapeake", "Cheshire", "Chester", "Chesterhill", "Chesterland",
|
||||
"Chesterville", "Chickasaw", "Chillicothe", "Chilo", "Chippewa Lake",
|
||||
"Christiansburg", "Cincinnati", "Circleville", "Clarington", "Clarksburg",
|
||||
"Clarksville", "Clay Center", "Clayton", "Cleveland", "Cleves", "Clifton",
|
||||
"Clinton", "Cloverdale", "Clyde", "Coal Run", "Coalton", "Coldwater", "Colerain",
|
||||
"College Corner", "Collins", "Collinsville", "Colton", "Columbia Station",
|
||||
"Columbiana", "Columbus", "Columbus Grove", "Commercial Point", "Conesville",
|
||||
"Conneaut", "Conover", "Continental", "Convoy", "Coolville", "Corning", "Cortland",
|
||||
"Coshocton", "Covington", "Creola", "Crestline", "Creston", "Crooksville",
|
||||
"Croton", "Crown City", "Cuba", "Cumberland", "Curtice", "Custar", "Cutler",
|
||||
"Cuyahoga Falls", "Cygnet", "Cynthiana", "Dalton", "Damascus", "Danville",
|
||||
"Dayton", "De Graff", "Decatur", "Deerfield", "Deersville", "Defiance",
|
||||
"Delaware", "Dellroy", "Delphos", "Delta", "Dennison", "Derby", "Derwent",
|
||||
"Deshler", "Dexter City", "Diamond", "Dillonvale", "Dola", "Donnelsville",
|
||||
"Dorset", "Dover", "Doylestown", "Dresden", "Dublin", "Dunbridge", "Duncan Falls",
|
||||
"Dundee", "Dunkirk", "Dupont", "East Claridon", "East Fultonham",
|
||||
"East Liberty", "East Liverpool", "East Palestine", "East Rochester",
|
||||
"East Sparta", "East Springfield", "Eastlake", "Eaton", "Edgerton", "Edison",
|
||||
"Edon", "Eldorado", "Elgin", "Elkton", "Ellsworth", "Elmore", "Elyria",
|
||||
"Empire", "Englewood", "Enon", "Etna", "Euclid", "Evansport", "Fairborn",
|
||||
"Fairfield", "Fairpoint", "Fairview", "Farmdale", "Farmer", "Farmersville",
|
||||
"Fayette", "Fayetteville", "Feesburg", "Felicity", "Findlay", "Flat Rock",
|
||||
"Fleming", "Fletcher", "Flushing", "Forest", "Fort Jennings", "Fort Loramie",
|
||||
"Fort Recovery", "Fostoria", "Fowler", "Frankfort", "Franklin",
|
||||
"Franklin Furnace", "Frazeysburg", "Fredericksburg", "Fredericktown",
|
||||
"Freeport", "Fremont", "Fresno", "Friendship", "Fulton", "Fultonham",
|
||||
"Galena", "Galion", "Gallipolis", "Galloway", "Gambier", "Garrettsville",
|
||||
"Gates Mills", "Geneva", "Genoa", "Georgetown", "Germantown", "Gettysburg",
|
||||
"Gibsonburg", "Girard", "Glandorf", "Glencoe", "Glenford", "Glenmont",
|
||||
"Glouster", "Gnadenhutten", "Gomer", "Goshen", "Grafton", "Grand Rapids",
|
||||
"Grand River", "Granville", "Gratiot", "Gratis", "Graysville", "Graytown",
|
||||
"Green", "Green Camp", "Green Springs", "Greenfield", "Greenford",
|
||||
"Greentown", "Greenville", "Greenwich", "Grelton", "Grove City",
|
||||
"Groveport", "Grover Hill", "Guysville", "Gypsum", "Hallsville",
|
||||
"Hamden", "Hamersville", "Hamilton", "Hamler", "Hammondsville",
|
||||
"Hannibal", "Hanoverton", "Harbor View", "Harlem Springs", "Harpster",
|
||||
"Harrisburg", "Harrison", "Harrisville", "Harrod", "Hartford", "Hartville",
|
||||
"Harveysburg", "Haskins", "Haverhill", "Haviland", "Haydenville", "Hayesville",
|
||||
"Heath", "Hebron", "Helena", "Hicksville", "Higginsport", "Highland", "Hilliard",
|
||||
"Hillsboro", "Hinckley", "Hiram", "Hockingport", "Holgate", "Holland",
|
||||
"Hollansburg", "Holloway", "Holmesville", "Homer", "Homerville", "Homeworth",
|
||||
"Hooven", "Hopedale", "Hopewell", "Houston", "Howard", "Hoytville", "Hubbard",
|
||||
"Hudson", "Huntsburg", "Huntsville", "Huron", "Iberia", "Independence",
|
||||
"Irondale", "Ironton", "Irwin", "Isle Saint George", "Jackson", "Jackson Center",
|
||||
"Jacksontown", "Jacksonville", "Jacobsburg", "Jamestown", "Jasper",
|
||||
"Jefferson", "Jeffersonville", "Jenera", "Jeromesville", "Jerry City",
|
||||
"Jerusalem", "Jewell", "Jewett", "Johnstown", "Junction City", "Kalida",
|
||||
"Kansas", "Keene", "Kelleys Island", "Kensington", "Kent", "Kenton",
|
||||
"Kerr", "Kettlersville", "Kidron", "Kilbourne", "Killbuck", "Kimbolton",
|
||||
"Kings Mills", "Kingston", "Kingsville", "Kinsman", "Kipling", "Kipton",
|
||||
"Kirby", "Kirkersville", "Kitts Hill", "Kunkle", "La Rue", "Lacarne",
|
||||
"Lafayette", "Lafferty", "Lagrange", "Laings", "Lake Milton", "Lakemore",
|
||||
"Lakeside Marblehead", "Lakeview", "Lakeville", "Lakewood", "Lancaster",
|
||||
"Langsville", "Lansing", "Latham", "Latty", "Laura", "Laurelville",
|
||||
"Leavittsburg", "Lebanon", "Lees Creek", "Leesburg", "Leesville",
|
||||
"Leetonia", "Leipsic", "Lemoyne", "Lewis Center", "Lewisburg",
|
||||
"Lewistown", "Lewisville", "Liberty Center", "Lima", "Limaville",
|
||||
"Lindsey", "Lisbon", "Litchfield", "Lithopolis", "Little Hocking",
|
||||
"Lockbourne", "Lodi", "Logan", "London", "Londonderry",
|
||||
"Long Bottom", "Lorain", "Lore City", "Loudonville", "Louisville",
|
||||
"Loveland", "Lowell", "Lowellville", "Lower Salem", "Lucas",
|
||||
"Lucasville", "Luckey", "Ludlow Falls", "Lynchburg", "Lynx",
|
||||
"Lyons", "Macedonia", "Macksburg", "Madison", "Magnetic Springs",
|
||||
"Magnolia", "Maineville", "Malaga", "Malinta", "Malta", "Malvern",
|
||||
"Manchester", "Mansfield", "Mantua", "Maple Heights", "Maplewood",
|
||||
"Marathon", "Marengo", "Maria Stein", "Marietta", "Marion",
|
||||
"Mark Center", "Marshallville", "Martel", "Martin", "Martins Ferry",
|
||||
"Martinsburg", "Martinsville", "Marysville", "Mason", "Massillon",
|
||||
"Masury", "Maumee", "Maximo", "Maynard", "Mc Arthur", "Mc Clure",
|
||||
"Mc Comb", "Mc Connelsville", "Mc Cutchenville", "Mc Dermott",
|
||||
"Mc Donald", "Mc Guffey", "Mechanicsburg", "Mechanicstown",
|
||||
"Medina", "Medway", "Melmore", "Melrose", "Mendon", "Mentor",
|
||||
"Mesopotamia", "Metamora", "Miamisburg", "Miamitown", "Miamiville",
|
||||
"Middle Bass", "Middle Point", "Middlebranch", "Middleburg",
|
||||
"Middlefield", "Middleport", "Middletown", "Midland", "Midvale",
|
||||
"Milan", "Milford", "Milford Center", "Millbury", "Milledgeville",
|
||||
"Miller City", "Millersburg", "Millersport", "Millfield",
|
||||
"Milton Center", "Mineral City", "Mineral Ridge", "Minerva",
|
||||
"Minford", "Mingo", "Mingo Junction", "Minster", "Mogadore",
|
||||
"Monclova", "Monroe", "Monroeville", "Montezuma", "Montpelier",
|
||||
"Montville", "Morral", "Morristown", "Morrow", "Moscow",
|
||||
"Mount Blanchard", "Mount Cory", "Mount Eaton", "Mount Gilead",
|
||||
"Mount Hope", "Mount Liberty", "Mount Orab", "Mount Perry",
|
||||
"Mount Pleasant", "Mount Saint Joseph", "Mount Sterling",
|
||||
"Mount Vernon", "Mount Victory", "Mowrystown", "Moxahala",
|
||||
"Munroe Falls", "Murray City", "Nankin", "Napoleon", "Nashport",
|
||||
"Nashville", "Navarre", "Neapolis", "Neffs", "Negley",
|
||||
"Nelsonville", "Nevada", "Neville", "New Albany", "New Athens",
|
||||
"New Bavaria", "New Bloomington", "New Bremen", "New Carlisle",
|
||||
"New Concord", "New Hampshire", "New Haven", "New Holland",
|
||||
"New Knoxville", "New Lebanon", "New Lexington", "New London",
|
||||
"New Madison", "New Marshfield", "New Matamoras", "New Middletown",
|
||||
"New Paris", "New Philadelphia", "New Plymouth", "New Richmond",
|
||||
"New Riegel", "New Rumley", "New Springfield", "New Straitsville",
|
||||
"New Vienna", "New Washington", "New Waterford", "New Weston",
|
||||
"Newark", "Newbury", "Newcomerstown", "Newport", "Newton Falls",
|
||||
"Newtonsville", "Ney", "Niles", "North Baltimore", "North Bend",
|
||||
"North Benton", "North Bloomfield", "North Fairfield",
|
||||
"North Georgetown", "North Hampton", "North Jackson",
|
||||
"North Kingsville", "North Lawrence", "North Lewisburg",
|
||||
"North Lima", "North Olmsted", "North Ridgeville", "North Robinson",
|
||||
"North Royalton", "North Star", "Northfield", "Northwood", "Norwalk",
|
||||
"Norwich", "Nova", "Novelty", "Oak Harbor", "Oak Hill", "Oakwood",
|
||||
"Oberlin", "Oceola", "Ohio City", "Okeana", "Okolona", "Old Fort",
|
||||
"Old Washington", "Olmsted Falls", "Ontario", "Orangeville",
|
||||
"Oregon", "Oregonia", "Orient", "Orrville", "Orwell", "Osgood",
|
||||
"Ostrander", "Ottawa", "Ottoville", "Otway", "Overpeck",
|
||||
"Owensville", "Oxford", "Painesville", "Palestine", "Pandora",
|
||||
"Paris", "Parkman", "Pataskala", "Patriot", "Paulding", "Payne",
|
||||
"Pedro", "Peebles", "Pemberton", "Pemberville", "Peninsula",
|
||||
"Perry", "Perrysburg", "Perrysville", "Petersburg", "Pettisville",
|
||||
"Phillipsburg", "Philo", "Pickerington", "Piedmont", "Pierpont",
|
||||
"Piketon", "Piney Fork", "Pioneer", "Piqua", "Pitsburg",
|
||||
"Plain City", "Plainfield", "Pleasant City", "Pleasant Hill",
|
||||
"Pleasant Plain", "Pleasantville", "Plymouth", "Polk",
|
||||
"Pomeroy", "Port Clinton", "Port Jefferson", "Port Washington",
|
||||
"Port William", "Portage", "Portland", "Portsmouth", "Potsdam",
|
||||
"Powell", "Powhatan Point", "Proctorville", "Prospect", "Put in Bay",
|
||||
"Quaker City", "Quincy", "Racine", "Radnor", "Randolph", "Rarden",
|
||||
"Ravenna", "Rawson", "Ray", "Rayland", "Raymond", "Reedsville",
|
||||
"Reesville", "Reno", "Republic", "Reynoldsburg", "Richfield",
|
||||
"Richmond", "Richmond Dale", "Richwood", "Ridgeville Corners",
|
||||
"Ridgeway", "Rio Grande", "Ripley", "Risingsun", "Rittman",
|
||||
"Robertsville", "Rock Camp", "Rock Creek", "Rockbridge", "Rockford",
|
||||
"Rocky Ridge", "Rocky River", "Rogers", "Rome", "Rootstown", "Roseville",
|
||||
"Rosewood", "Ross", "Rossburg", "Rossford", "Roundhead", "Rudolph",
|
||||
"Rushsylvania", "Rushville", "Russells Point", "Russellville", "Russia",
|
||||
"Rutland", "Sabina", "Saint Clairsville", "Saint Henry", "Saint Johns",
|
||||
"Saint Louisville", "Saint Marys", "Saint Paris", "Salem", "Salesville",
|
||||
"Salineville", "Sandusky", "Sandyville", "Sarahsville", "Sardinia",
|
||||
"Sardis", "Savannah", "Scio", "Scioto Furnace", "Scott", "Scottown",
|
||||
"Seaman", "Sebring", "Sedalia", "Senecaville", "Seven Mile", "Seville",
|
||||
"Shade", "Shadyside", "Shandon", "Sharon Center", "Sharpsburg",
|
||||
"Shauck", "Shawnee", "Sheffield Lake", "Shelby", "Sherrodsville",
|
||||
"Sherwood", "Shiloh", "Short Creek", "Shreve", "Sidney", "Sinking Spring",
|
||||
"Smithfield", "Smithville", "Solon", "Somerdale", "Somerset",
|
||||
"Somerville", "South Bloomingville", "South Charleston", "South Lebanon",
|
||||
"South Point", "South Salem", "South Solon", "South Vienna",
|
||||
"South Webster", "Southington", "Sparta", "Spencer", "Spencerville",
|
||||
"Spring Valley", "Springboro", "Springfield", "Stafford", "Sterling",
|
||||
"Steubenville", "Stewart", "Stillwater", "Stockdale", "Stockport",
|
||||
"Stone Creek", "Stony Ridge", "Stout", "Stoutsville", "Stow", "Strasburg",
|
||||
"Stratton", "Streetsboro", "Strongsville", "Struthers", "Stryker",
|
||||
"Sugar Grove", "Sugarcreek", "Sullivan", "Sulphur Springs", "Summerfield",
|
||||
"Summit Station", "Summitville", "Sunbury", "Swanton", "Sycamore",
|
||||
"Sycamore Valley", "Sylvania", "Syracuse", "Tallmadge", "Tarlton",
|
||||
"Terrace Park", "The Plains", "Thompson", "Thornville", "Thurman",
|
||||
"Thurston", "Tiffin", "Tiltonsville", "Tipp City", "Tippecanoe", "Tiro",
|
||||
"Toledo", "Tontogany", "Torch", "Toronto", "Tremont City", "Trenton",
|
||||
"Trimble", "Trinway", "Troy", "Tuppers Plains", "Tuscarawas", "Twinsburg",
|
||||
"Uhrichsville", "Union City", "Union Furnace", "Unionport", "Uniontown",
|
||||
"Unionville", "Unionville Center", "Uniopolis", "Upper Sandusky", "Urbana",
|
||||
"Utica", "Valley City", "Van Buren", "Van Wert", "Vandalia", "Vanlue",
|
||||
"Vaughnsville", "Venedocia", "Vermilion", "Verona", "Versailles",
|
||||
"Vickery", "Vienna", "Vincent", "Vinton", "Wadsworth", "Wakefield",
|
||||
"Wakeman", "Walbridge", "Waldo", "Walhonding", "Walnut Creek", "Wapakoneta",
|
||||
"Warnock", "Warren", "Warsaw", "Washington Court House",
|
||||
"Washingtonville", "Waterford", "Waterloo", "Watertown", "Waterville",
|
||||
"Wauseon", "Waverly", "Wayland", "Wayne", "Waynesburg", "Waynesfield",
|
||||
"Waynesville", "Wellington", "Wellston", "Wellsville", "West Alexandria",
|
||||
"West Chester", "West Elkton", "West Farmington", "West Jefferson",
|
||||
"West Lafayette", "West Liberty", "West Manchester", "West Mansfield",
|
||||
"West Millgrove", "West Milton", "West Point", "West Portsmouth",
|
||||
"West Rushville", "West Salem", "West Union", "West Unity", "Westerville",
|
||||
"Westfield Center", "Westlake", "Weston", "Westville", "Wharton",
|
||||
"Wheelersburg", "Whipple", "White Cottage", "Whitehouse", "Wickliffe",
|
||||
"Wilberforce", "Wilkesville", "Willard", "Williamsburg", "Williamsfield",
|
||||
"Williamsport", "Williamstown", "Williston", "Willoughby", "Willow Wood",
|
||||
"Willshire", "Wilmington", "Wilmot", "Winchester", "Windham", "Windsor",
|
||||
"Winesburg", "Wingett Run", "Winona", "Wolf Run", "Woodsfield",
|
||||
"Woodstock", "Woodville", "Wooster", "Wren", "Xenia", "Yellow Springs",
|
||||
"Yorkshire", "Yorkville", "Youngstown", "Zaleski", "Zanesfield", "Zanesville",
|
||||
"Zoar"
|
||||
];
|
53
plugins/Autocomplete/jquery-autocomplete/demo/main.css
Normal file
@@ -0,0 +1,53 @@
|
||||
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0}
|
||||
table{border-collapse:collapse;border-spacing:0}
|
||||
fieldset,img{border:0}
|
||||
address,caption,cite,code,dfn,th,var{font-style:normal;font-weight:normal}
|
||||
ol,ul{list-style:none}
|
||||
caption,th{text-align:left}
|
||||
h1,h2,h3,h4,h5,h6{font-size:100%;font-style:normal;font-weight:normal}
|
||||
q:before,q:after{content:''}
|
||||
body{font:13px arial,helvetica,clean,sans-serif;font-size:small;}
|
||||
select,input,textarea{font:99% arial,helvetica,clean,sans-serif}
|
||||
pre,code{font:115% monospace;font-size:100%}
|
||||
body * {line-height:1.22em}
|
||||
body {
|
||||
color: #202020;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #fff;
|
||||
background: #06b;
|
||||
padding: 10px;
|
||||
font-size: 200%;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #000;
|
||||
font-size: 150%;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: #000;
|
||||
font-size: 120%;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc inside;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
label {
|
||||
float: left;
|
||||
width: 12em;
|
||||
}
|
||||
input[type=text] { width: 15em; }
|
||||
|
||||
#banner { padding: 15px; background-color: #06b; color: white; font-size: large; border-bottom: 1px solid #ccc;
|
||||
background: url(bg.gif) repeat-x; text-align: center }
|
||||
#banner a { color: white; }
|