jquery: how to fade out div if another appears
jquery: how to fade out div if another appears
- Started
- Last post
- 3 Responses
- attentionspan
I have this article div that fades in, but i want to fade it out when i change template, so .blog_article fades out and .blog_read fades in, any help appreciated
<script type="text/javascript">
$(document).ready(function(){$('.blog_article').hide().fadeIn...
});
</script>
- dbloc0
not sure I understand the question
- attentionspan0
i found something that works, probs not perfect but it will do
http://www.onextrapixel.com/2010…What i meant was i have two templates, one is a blog overview with snips of texts from articles, while the other one is a template that contains the full article.
- silentpost0
use .toggle()?
your code was truncated, i have no idea what is actually going on