noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 02/03: Task #1146 - Fiche détail décalé #114


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/03: Task #1146 - Fiche détail décalé #1146 : position détail fiche
Date: Thu, 09 Jul 2015 12:35:11 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 986fde114e9029ca109ca7e60f5a922b5b1afa09
Author: Dany De Bontridder <address@hidden>
Date:   Thu Jul 9 14:30:22 2015 +0200

    Task #1146 - Fiche détail décalé
    #1146 : position détail fiche
---
 html/js/card.js |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/html/js/card.js b/html/js/card.js
index 1b0d640..315f887 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -435,10 +435,13 @@ function fill_ipopcard(obj)
     card_layer++;
 
     var content='card_'+card_layer;
-    var nTop=posY-40;
+    var nTop=15+card_layer;
+    if ( nTop > 35 ) {
+        nTop=15;
+    }
     //var nLeft=posX-20;
-       var nLeft="20%";
-    var str_style="top:"+nTop+"px;left:"+nLeft+"px;width:45em;height:auto";
+       var nLeft="20em";
+    var str_style="top: 
"+nTop+"%"+";left:"+nLeft+";width:45em;height:auto;position:absolute";
 
     var popup={'id':  
content,'cssclass':'inner_box','style':str_style,'html':loading(),'drag':true};
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]