[英]Floating Menu that stays within parent div
Hello I have a JavaScript menu that I will like to scroll with the user, I have tried to use the top function but that locks the menu to the top of the screen. 您好,我有一个JavaScript菜单,我想与用户一起滚动,我尝试使用top函数,但是将菜单锁定在屏幕顶部。 Is there anyway to have a fixed menu float within a parent div? 无论如何,父div中是否有固定的菜单浮动? So once you scroll down it will go to the top of the screen? 因此,一旦向下滚动,它将转到屏幕顶部?
You can see the menu here: http://www.jowa-usa.us/jowaabproducts.cfm 您可以在此处查看菜单: http : //www.jowa-usa.us/jowaabproducts.cfm
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.