sibeoffefly
New Member
I have a site where there is a called .slidingDiv which when the anchor .show_hide is clicked it appears and slides down which is great when it's the only content on the page. If there is other content above this div it doesn't scroll down and show. Instead it shows the div but it is out of site, so it does actually work but not push the rest of the content up.Here's the JQuery:\[code\]<script type="text/javascript">$(document).ready(function(){ $(".slidingDiv").hide(); $(".show_hide").show(); $('.show_hide').click(function(){ $(".slidingDiv").slideToggle(), 1000; scrollTop: $(this).offset().top });});</script>\[/code\]Many thanksPete