Hi i want to make an animation menu and i have a problem: when i hover the submenu buttons they dissapear.
m1=buttons id
pag=submenu photo id
inceput= submenu buttons id
so here's the code:
$(document).ready(function () {
$("#m1").hover(function(){
$("#pag").stop().animate(
{width:"450px"},
{duration:500})
$('#inceput').show("normal");
},function(){
$("#pag").stop().animate(
{width:"0px"},
{duration:500})
$('#inceput').hide("normal"); })
$('#pag').hover(
function() {
$("#pag").stop().animate(
{width:"450px"},
{duration:500})
},
function() {
$("#pag").stop().animate(
{width:"0px"},
{duration:500})
});
})
I need help couse next week i have to show this to my teacher.