how to do show/hide div with slide from left to right in Javascript (without jQuery)
this is example for what i need (in jQuery): http://jsfiddle.net/dRpWv/1/
this is the example source of what i need in jQuery:
<a href="#" id="button" class="button_style">Show content</a>
<div id="hidden_content">Content</div>
<script>
$(document).ready(function() {
$("#button").toggle(function() {
$(this).text('Hide Content');
}, function() {
$(this).text('show Content');
}).click(function(){
$("#hidden_content").slideToggle("slow");
});
});
</script>