i am trying to implement three features:
- a scrollable div containing image thumbnails
- that can be sorted by jquery isotope
- that when hovered over display a div on top of other elements and beyond immediate containers.
at the moment i can get either one or the other happening ie either the scrollbars show but then the hover state div is behind other elements, or i can get the hover state div in front of other elements but then the scrollbar does not display.
jsfiddle
http://jsfiddle.net/rwone/PUKjy/
script
$(".magic").hover(
function() {
//console.log($(this).find('.hidden_db_data_div').position().left);
console.log($(this).position().top);
$(this).css("z-index", "999").find('.hidden_db_data_div').css({
'left': $(this).position().left + 40 + "px" + "!important",
'top': '-50px'
}).fadeIn(500);
}, function() {
$(this).css('z-index', '').find('.hidden_db_data_div').fadeOut(100);
});
thank you.
resolved
http://jsfiddle.net/rwone/89P9m/
code