diff options
author | luxagraf <sng@luxagraf.net> | 2011-04-05 10:38:52 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2011-04-05 10:38:52 -0400 |
commit | 8e2e31965126bee7992d26428d42c1631d29786f (patch) | |
tree | 2ed3fc9b9898e9c381fe5c03cd04996b62d06c11 /media/js/slideshow.js | |
parent | 79101240da1e0331c00e7b616a7a32b55d81e5cc (diff) |
fixed image sprties, updated photo gallery codeand changed contact/about pages
Diffstat (limited to 'media/js/slideshow.js')
-rw-r--r-- | media/js/slideshow.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/media/js/slideshow.js b/media/js/slideshow.js index b8c1921..32e262f 100644 --- a/media/js/slideshow.js +++ b/media/js/slideshow.js @@ -45,14 +45,14 @@ function create_map(obj) { imgid = obj.title.split(',')[2]; //create container divs $('<div class="map-container" id="mc-'+imgid+'">').insertBefore($(obj).parent().parent()); - //$(obj).parent().parent().parent().append('<div id="map-container">'); + //$(obj).parent().parent().parent().prepend('<div class="map-container" id="mc-'+imgid+'">'); $('#mc-'+imgid).append('<div class="map-wrapper" id="mw-'+imgid+'">'); //deal with the variable height of div.legend - //$('#map-container').css({ - // bottom: function(index, value) { - // return parseFloat($(obj).parent().parent().height())-2; - // } - //}); + $('#mc-'+imgid).css({ + bottom: function(index, value) { + return parseFloat($(obj).parent().parent().height())+20; + } + }); mapit(obj.title); } |