floating and header margins

This commit is contained in:
Karen 2011-08-31 19:47:14 +05:30
commit d60559309d

View File

@ -14,9 +14,6 @@ $(function() {
$('#searchForm').submit(function(e) { $('#searchForm').submit(function(e) {
if ($('.mapListSection').css("opacity") == '0') {
$('.mapListSection').animate({'opacity': '1'}, 500);
}
e.preventDefault(); e.preventDefault();
var bbox = map.getExtent().toBBOX(); var bbox = map.getExtent().toBBOX();
var search_term = $('#searchField').val(); var search_term = $('#searchField').val();
@ -31,7 +28,9 @@ $(function() {
'threshold': 0.5, 'threshold': 0.5,
'count': 20 'count': 20
}, function(features) { }, function(features) {
if ($('.mapListSection').css("opacity") == '0') {
$('.mapListSection').animate({'opacity': '1'}, 1000);
}
if (features.hasOwnProperty("error") && features.error != '') { if (features.hasOwnProperty("error") && features.error != '') {
alert(features.error); alert(features.error);
return; return;