woodsman_dan — 2011-10-13T21:14:39-04:00 — #1
Site is: www.mortgage-therapist.com
When a user clicks on any of the menu items, the selected div and its content move to the top of the page. How would I limit this from traveling all of the way to the top, stopping the content in the center of the page, or 1/4 from the top?
Any ideas are appreciated, community!
krang_ — 2011-10-13T23:14:44-04:00 — #2
..if you want to scroll to a position 30 pixels above the target id, you can do so simply by subtracting 30 from $target.offset().top:
var targetOffset = $target.offset().top - 30;
woodsman_dan — 2011-10-14T01:58:45-04:00 — #3
krang_, your input is as important to me as the entire realm of poetry (very dear to me). You've made my day. Thanks, partner.
And I appreciate the swift response. Only getting to this now!
If you appreciate such things: http://webstersdemise.blogspot.com/2008/12/the-impotence-of-proofreading.html