I have written this code to show n hide a div on mouse hover event. Its working fine.But only problem is when div is open on mouse over event all other div and other content goes down and down as per the height of opening div, What i want exactly, the main div which I need to show and hide should be open using Z-index property such that other content should not be affected from their position. I tried a lot, but could not find any solution. please help me guys!! Here is java script code:
var $j = jQuery.noConflict();
$j( document ).ready(function( $ ) {
$j ("#citydrop").hide();
$j ("#cityclick").mouseover(function () {
$j ("#citydrop").slideDown('slow');
});
$j ("#wrapper").mouseleave(function () {
$j ("#citydrop").slideUp('slow');
});