2011-12-12 19:10:49 +00:00
|
|
|
var $j = jQuery.noConflict();
|
|
|
|
$j(document).ready(function() {
|
|
|
|
if (!$j('#watermark').val()) {
|
2011-12-12 21:09:18 +00:00
|
|
|
$j('#watermark').css({"background": "white url('/static/images/google_watermark.gif') no-repeat left center"});
|
2011-12-14 21:49:36 +00:00
|
|
|
$j('.inputalign > #watermark').css({"background": "white url('/static/images/google_watermark.gif') no-repeat 15px center"});
|
2011-12-12 19:10:49 +00:00
|
|
|
}
|
2011-12-13 18:32:29 +00:00
|
|
|
// special case for search box which is repeated on empty search results page
|
|
|
|
if (!$j('#watermarkempty').val()) {
|
2011-12-13 19:49:13 +00:00
|
|
|
$j('#watermarkempty').css({"background": "white url('/static/images/google_watermark.gif') no-repeat 15px center"});
|
2011-12-13 18:32:29 +00:00
|
|
|
}
|
2011-12-12 19:10:49 +00:00
|
|
|
});
|