Please help... I would like to fix the navigation bar on the top of the browser, so when you scroll down the page this navigation bar is staying always on the top of the browser. In this thread http://forums.adobe.com/message/4782547#4782547heathrowe offered this solution:
Check the code for the Stage > compositionReady, as follows, that makes an element 'move' when page scrolls
$(window).scroll(function(){
var element = sym.$("sidebar");
element
.stop()
.animate({"marginTop": ($(window).scrollTop() + 30) + "px"}, "slow" );
})
Download sample here
http://www.heathrowe.com/edge/scrolltop3/ScrollTop2.zip
It is nice, but the navigation bar is moving, and I would like to have it ALWAYS on the top.
Anyone knows how to solve this problem?
Thanks in advance...
Stanko...