[Mapbender-commits] r3967 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri May 29 04:24:03 EDT 2009


Author: verenadiewald
Date: 2009-05-29 04:24:03 -0400 (Fri, 29 May 2009)
New Revision: 3967

Modified:
   trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php
Log:
some smaller changes for better possibility of styling the gazetteer frame

Modified: trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php	2009-05-29 08:22:42 UTC (rev 3966)
+++ trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php	2009-05-29 08:24:03 UTC (rev 3967)
@@ -175,9 +175,8 @@
 			currentImg.name = buttonWfs_id[i];
 			currentImg.title = buttonWfs_title_off[i];
 			currentImg.src = buttonWfs_imgdir+buttonWfs_src[i];
-			currentImg.style.marginRight = "5px";
+			currentImg.style.margin = "5px";
 			currentImg.onmouseover = new Function("wfsInitFunction("+i+")");
-			
 			document.getElementById("displaySpatialButtons").appendChild(currentImg);
 		}
 	}
@@ -234,7 +233,7 @@
 				spatialRes.id = "spatialResHint";
 				spatialRes.name = "spatialResHint";
 				document.getElementById("displaySpatialButtons").appendChild(spatialRes);
-				document.getElementById("spatialResHint").innerHTML = spatialRequestIsSetMessage;
+				document.getElementById("spatialResHint").innerHTML = "<br>"+spatialRequestIsSetMessage;
 				spatialRequestGeom = queryGeom;
 			}
 			parent.mb_disableThisButton(selectedType);
@@ -587,7 +586,7 @@
 	var delFilterButton = document.createElement("input");
 	delFilterButton.type = "button";
 	delFilterButton.style.marginLeft = "5px";
-	delFilterButton.className = global_wfsConfObj[global_selectedWfsConfId].g_button_id;
+	delFilterButton.className = "buttonDelFilter";
 	delFilterButton.value = clearFilterButtonLabel;
 	// Internet explorer
 	if (parent.ie) {
@@ -1066,7 +1065,8 @@
 		}
 		resultGeometryPopup.show();
 		parent.$("#resultTable").tablesorter({
-     		sortList: [[0,0]]
+     		sortList: [[0,0]],
+     		widgets: ['zebra'] 
         });
 	}
 	else{
@@ -1106,10 +1106,10 @@
 						listOfGeom += "<td style='cursor:pointer;\n";
 						if(showResultInPopup==1){
 							if ((i % 2) === 0) {
-								listOfGeom += "color:blue'";
+								listOfGeom += "' class='even'";
 							}
 							else {
-								listOfGeom += "color:red'";
+								listOfGeom += "' class='odd'";
 							}
 						}
 						else{
@@ -1281,11 +1281,12 @@
 
 </script>
 </head>
-<body leftmargin='0' topmargin='10'  bgcolor='#ffffff'>
+<body>
 <form name='selectWfsConfForm' id='selectWfsConfForm'></form>
 <div name='wfsIcons' id='wfsIcons'></div>
-<div name='displaySpatialButtons' id='displaySpatialButtons' style='width:180px;margin-top:5px;'></div>
-<form name='wfsForm' id='wfsForm' onsubmit='return validate()'></form>
+<div name='displaySpatialButtons' id='displaySpatialButtons' style='width:180px;margin-top:5px;background-color:#FFFFFF;'></div>
+<form name='wfsForm' id='wfsForm' onsubmit='return validate()'>
+</form>
 <div name='res' id='res' style='width:180px'></div>
 </body>
 </html>



More information about the Mapbender_commits mailing list