Update of /var/cvs/contributions/didactor2/src/core/metainf/tags/di/core
In directory james.mmbase.org:/tmp/cvs-serv1782

Modified Files:
        background.tagx 
Log Message:
made it work beter in IE, https (Internet Explorer sucks!)


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/core/metainf/tags/di/core


Index: background.tagx
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/metainf/tags/di/core/background.tagx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- background.tagx     17 Nov 2008 13:52:24 -0000      1.8
+++ background.tagx     5 Dec 2008 14:00:55 -0000       1.9
@@ -18,7 +18,7 @@
               <mm:relatednodes path="posrel,object">
                 <mm:hasrelationmanager sourcemanager="${_node}" 
destinationmanager="images" role="background">
                   <mm:relatednodes path="background,images">
-                    <mm:import id="background">url('<mm:image  
template="${di:setting('education', 'background_image_template')}" 
/>')</mm:import>
+                    <mm:import id="background">url('<mm:image  absolute="true" 
template="${di:setting('education', 'background_image_template')}" 
/>')</mm:import>
                   </mm:relatednodes>
                 </mm:hasrelationmanager>
               </mm:relatednodes>
@@ -27,7 +27,7 @@
           <c:otherwise>
             <mm:relatednodes>
               <!-- f(png)+s(500)+fill(rgba(255,255,255,80))+draw(rectangle 
0,0,1000,1000)+draw(rectangle 240,0,1000,1000) -->
-              <mm:import id="background">url('<mm:image  
template="${di:setting('education', 'background_image_template')}" 
/>')</mm:import>
+              <mm:import id="background">url('<mm:image  absolute="true" 
template="${di:setting('education', 'background_image_template')}" 
/>')</mm:import>
             </mm:relatednodes>
           </c:otherwise>
         </c:choose>
@@ -35,7 +35,7 @@
     </mm:relatednodescontainer>
   </mm:hasrelationmanager>
   <div
-      style="background-image: ${empty background ? '' : background}"
+      style="${empty background ? '' : 'background-image:'}${empty background 
? '' : background}"
       class="${empty styleClass ? 'learnenvironment' : styleClass}">
        <jsp:doBody />
   </div>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to