1.Changed the style for when content for a parameter's comparison is loading.

This commit is contained in:
cdtank 2011-01-25 20:08:54 +00:00
parent 08ff4fa013
commit 6faa26a872
2 changed files with 11 additions and 2 deletions

View file

@ -40,6 +40,15 @@ a.clear-selected-entities {
height: 25px; height: 25px;
} }
#loading-comparisons {
font-size: 1.2em;
font-weight: bold;
}
#loading-comparisons img {
vertical-align: sub;
}
#legend-row-header a { #legend-row-header a {
background-color: #878787; background-color: #878787;
} }

View file

@ -46,12 +46,12 @@ $(document).ready(function() {
if (parameter.value === selectedValue) { if (parameter.value === selectedValue) {
selectedParameter = parameter; selectedParameter = parameter;
window.location = parameter.viewLink; //window.location = parameter.viewLink;
} }
}); });
$("#body").empty().html("Loading " + selectedValue + " ..."); $("#body").empty().html("<div id='loading-comparisons'>Loading " + selectedValue + "&nbsp;&nbsp;<img src='" + loadingImageLink + "' /></div>");
/* /*
* This piece of code is not executed at all because the redirect happens before there is a chance * This piece of code is not executed at all because the redirect happens before there is a chance