[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 03/03: Task #1146 - Fiche détail décalé #114
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 03/03: Task #1146 - Fiche détail décalé #1146 : position détail fiche |
Date: |
Thu, 09 Jul 2015 15:47:31 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit e00c3133c6afb6006140c2d7f6eaf5657b371936
Author: Dany De Bontridder <address@hidden>
Date: Thu Jul 9 17:42:58 2015 +0200
Task #1146 - Fiche détail décalé
#1146 : position détail fiche
---
html/js/card.js | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/html/js/card.js b/html/js/card.js
index 315f887..db483fe 100644
--- a/html/js/card.js
+++ b/html/js/card.js
@@ -435,13 +435,12 @@ function fill_ipopcard(obj)
card_layer++;
var content='card_'+card_layer;
- var nTop=15+card_layer;
- if ( nTop > 35 ) {
- nTop=15;
+ var nTop=170+card_layer;
+ if ( nTop > 300 ) {
+ nTop=170;
}
- //var nLeft=posX-20;
- var nLeft="20em";
- var str_style="top:
"+nTop+"%"+";left:"+nLeft+";width:45em;height:auto;position:absolute";
+ str_top=fixed_position(250,nTop)
+ var str_style=str_top+";width:45em;height:auto;position:absolute";
var popup={'id':
content,'cssclass':'inner_box','style':str_style,'html':loading(),'drag':true};