How to set top position using jquery

后端 未结 5 681
一向
一向 2021-02-04 23:22

I am creating custom div scroller and want to set top position of content div. My jquery code is as below:

containerOuterHeight=$(\"#messagePopUpContainer\").out         


        
5条回答
  •  南笙
    南笙 (楼主)
    2021-02-05 00:01

    And with Prototype:

    $('yourDivId').setStyle({top: '100px', left:'80px'});
    

提交回复
热议问题