Hello, i have this code
<div style="overflow:hidden;width:400px;height:212px;position:absolute;right:0px;border:2px;border-color:#a8b83f;"><div class="divsubs" style="width:400px;height:212px;position:absolute;right:-360px;"><div id="subs2" style="width:10%;height:100%;float:left;background-color:#a8b83f;opacity:0.9;border-top-left-radius:15px;border-bottom-left-radius:15px;"></div><div id="subs" style="width:80%;height:172px; display:block;float:right;padding:5%;">
<input type="text" class="news-letter-input" name="" placeholder="What's your name?" />
<input type="text" class="news-letter-input" name="" placeholder="What's your Email?"/>
<input type="submit" value="Subscribe Now" class="news-letter-button"/></div></div></div>
and this jquery
<script>
$(document).ready(function () {
$(".divsubs").mouseover(function (evento) {
$(".divsubs").animate({ right: '360px;' });
});
});
</script>
i want to move the div to the left to show it on mouseover but it doesnt move with animate or changing the .css via jquery i have tried right left +360px - 360px and i cant make it work but if i change the animation function for an alert just to see if the mouseonver function works its all okey the problem is to make the div move and show the hidden part.
I hope someone can help thank you very much.