[Mapbender-commits] r8239 - trunk/mapbender/http/html
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Feb 9 02:01:31 EST 2012
Author: armin11
Date: 2012-02-08 23:01:31 -0800 (Wed, 08 Feb 2012)
New Revision: 8239
Modified:
trunk/mapbender/http/html/mod_treefolderPlain.php
Log:
Bugfix for treeGDE, reactivate enlargetreewidth element - s.o. has comment it out?
Modified: trunk/mapbender/http/html/mod_treefolderPlain.php
===================================================================
--- trunk/mapbender/http/html/mod_treefolderPlain.php 2012-01-30 09:27:02 UTC (rev 8238)
+++ trunk/mapbender/http/html/mod_treefolderPlain.php 2012-02-09 07:01:31 UTC (rev 8239)
@@ -187,6 +187,7 @@
if (typeof(openfolder) === 'undefined')openfolder = 'false';
if (typeof(handlesublayer) === 'undefined')handlesublayer = 'false';
if (typeof(enlargetreewidth) === 'undefined') enlargetreewidth = 'false';
+if (typeof(enlargetreewidthopacity) === 'undefined') enlargetreewidthopacity = 'false';
if (typeof(menu) === 'undefined')menu = '';
if (typeof(redirectToMetadataUrl) !== 'undefined' && redirectToMetadataUrl == "false") {
redirectToMetadataUrl = false;
@@ -232,7 +233,7 @@
eventAfterMapRequest.register(updateScale);
eventAfterMapRequest.register(updateCheckState);
-/*
+
if (enlargetreewidth) {
eventAfterInit.register(function(){
@@ -242,6 +243,13 @@
'width': initialWidth + enlargetreewidth,
'zIndex': '300'
});
+ if (enlargetreewidthopacity) {
+ $(this).css({
+ '-moz-opacity': '0.8',
+ 'opacity': '0.8',
+ 'filter': 'alpha(opacity=80)'
+ });
+ }
$(this).mousewheel();
});
$('#treeGDE').bind("mouseleave", function(){
@@ -249,10 +257,17 @@
'width': initialWidth,
'zIndex': '3'
});
+ if (enlargetreewidthopacity) {
+ $(this).css({
+ '-moz-opacity': '1',
+ 'opacity': '1',
+ 'filter': 'alpha(opacity=100)'
+ });
+ }
});
});
}
-*/
+
if(wmsbuttons != "true")
jst_highlight = false;
More information about the Mapbender_commits
mailing list