Permalink
Browse files

various fix

  • Loading branch information...
1 parent 520d879 commit bcef4a6e84afd2e5457446f7383b01db14dc2b1d @pupunzi committed Jun 24, 2011
Showing with 12 additions and 7 deletions.
  1. +7 −2 demo.html
  2. +3 −3 inc/mbImgNav.js
  3. +1 −1 licenses/GPL-LICENSE.txt
  4. +1 −1 licenses/MIT-LICENSE.txt
View
@@ -127,6 +127,9 @@
:focus {
outline: 0;
}
+
+
+
</style>
</head>
<body >
@@ -139,8 +142,10 @@
<div style="display:none;" class="imagesContainer {imageUrl:'DSC00844.JPG', navPosition:'BR', navWidth: 100}">
<span class="title">zuccheriera</span>
<div class="description">description1</div>
- <div class="additionalContent" style='color:white; font:100px/100px Arial, sans-serif; top:0; width:1000px; height:1000px; text-align:left;'>
- this is an additional content div that is over the image and it moves with it!
+ <div class="additionalContent" style='color:white; font:100px/100px Arial, sans-serif; top:0; width:100%; height:100%; text-align:left;' >
+ <div id="ac_1" style="position:absolute;top:30px;left:50px;width:100px;height:100px;background:#99ff66"></div>
+ <div id="ac_2" style="position:absolute;top:130px;left:250px;width:100px;height:100px;background:#6495ed"></div>
+ <div id="ac_3" style="position:absolute;top:430px;left:650px;width:300px;height:400px;background:#cc00cc"></div>
</div>
</div>
View
@@ -173,9 +173,9 @@
image= $(draggableElement).find(".navImage");
//additionalContent
- $(draggableElement).append("<div class='additionalContent'></div>");
- additionalContent=$(draggableElement).find(".additionalContent");
- $(additionalContent).css({position:"absolute", top:"0"});
+ $(draggableElement).append("<div id='additionalContent'></div>");
+ additionalContent=$(draggableElement).find("#additionalContent");
+ $(additionalContent).css({position:"absolute", top:"0",width:"100%",height:"100%"});
$(draggableElement).css({
position:"absolute"
});
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
- Copyright (C) 1989, 1991 Open Lab srl.
+ Copyright (C) 2001, 2011 Open Lab srl.
via Venezia 18b - 50121 Firenze, Italia
Everyone is permitted to copy and distribute verbatim copies
@@ -1,4 +1,4 @@
-Copyright (c) 2009 Matteo Bicocchi, Open Lab srl
+Copyright (C) 2001, 2011 Matteo Bicocchi, Open Lab srl
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation

0 comments on commit bcef4a6

Please sign in to comment.