Author: michiel
Date: 2009-12-10 11:21:16 +0100 (Thu, 10 Dec 2009)
New Revision: 40191

Modified:
   speeltuin/mihxil/portal/src/main/webapp/mmbase/portal/portal.css.jsp
   speeltuin/mihxil/portal/src/main/webapp/mmbase/portal/portal.js.jsp
Log:


Modified: speeltuin/mihxil/portal/src/main/webapp/mmbase/portal/portal.css.jsp
===================================================================
--- speeltuin/mihxil/portal/src/main/webapp/mmbase/portal/portal.css.jsp        
2009-12-10 10:13:03 UTC (rev 40190)
+++ speeltuin/mihxil/portal/src/main/webapp/mmbase/portal/portal.css.jsp        
2009-12-10 10:21:16 UTC (rev 40191)
@@ -10,7 +10,7 @@
 <mm:import externid="cols" vartype="integer">4</mm:import>
 <mm:import externid="rows" vartype="integer">3</mm:import>
 
-.content {
+.mm_portal_content {
   position: relative;
   width: ${width * cols}px;
   height: ${height * rows}px;
@@ -18,6 +18,7 @@
   margin-right: auto;
 }
 
+.mm_portal_content
 .block {
   position: absolute;
   border: none;
@@ -26,30 +27,34 @@
 }
 
 <c:forEach begin="1" end="${cols}" var="i">
+.mm_portal_content
 .block.width${i} {
   width: ${width * i}px;
 }
 </c:forEach>
 
 <c:forEach begin="1" end="${rows}" var="i">
+.mm_portal_content
 .block.height${i} {
   height: ${height * i}px;
 }
 </c:forEach>
 
 <c:forEach begin="0" end="${cols - 1}" var="i">
+.mm_portal_content
 .block.x${i} {
   left: ${offsetx + width * i}px;
 }
 </c:forEach>
 
 <c:forEach begin="0" end="${rows - 1}" var="i">
+.mm_portal_content
 .block.y${i} {
   top: ${offsety + height * i}px;
 }
 </c:forEach>
 
-a.edit {
+a.mm_portal_edit {
   position: absolute;
   background: yellow;
   right: 0px;
@@ -58,7 +63,8 @@
   z-index: 1000;
 }
 
-iframe  {
+
+iframe.mm_portal_iframe {
   width: 95%;
   height: 90%;
   border: none;

Modified: speeltuin/mihxil/portal/src/main/webapp/mmbase/portal/portal.js.jsp
===================================================================
--- speeltuin/mihxil/portal/src/main/webapp/mmbase/portal/portal.js.jsp 
2009-12-10 10:13:03 UTC (rev 40190)
+++ speeltuin/mihxil/portal/src/main/webapp/mmbase/portal/portal.js.jsp 
2009-12-10 10:21:16 UTC (rev 40191)
@@ -61,13 +61,13 @@
         }
         args += a + "=" + params[a];
     }
-    var a = $("<a class='edit'><fmt:message key="edit" /></a>");
+    var a = $("<a class='mm_portal_edit'><fmt:message key="edit" /></a>");
     $(a).attr("href", self.editordir + editor + "/" + args);
 
     $(div).append(a);
     $(a).click(function() {
             try {
-                var iframe = $("<iframe src='" + this.href + "'> 
</iframe></div>");
+                var iframe = $("<iframe class='mm_portal_iframe' src='" + 
this.href + "'> </iframe></div>");
                 $("#edit").append(iframe);
                 $("#edit").dialog("open");
                 self.edits++;

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to