GetScrollPos

<< Click to Display Table of Contents >>

Manual > Control Reference > Basic > SideMenu control > Method >

GetScrollPos


 

Gets the scroll position (in pixels) of the specified popup id.

 


syntax

GetScrollPos(

         popupId

         )

 


Parameters

 

popupId


Type:

character


Popup id. For first level menu items, specify "root".

 

Return Value



Type:

Number


The scroll position in pixels, or -1 on failure.

 


reference