From 8e2e31965126bee7992d26428d42c1631d29786f Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 5 Apr 2011 10:38:52 -0400 Subject: fixed image sprties, updated photo gallery codeand changed contact/about pages --- media/js/slideshow.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'media/js/slideshow.js') 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 $('
').insertBefore($(obj).parent().parent()); - //$(obj).parent().parent().parent().append('
'); + //$(obj).parent().parent().parent().prepend('
'); $('#mc-'+imgid).append('
'); //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); } -- cgit v1.2.3-70-g09d2