![]() |
jQuery Mobile is a web-based technology used to make responsive content that can be accessed on all smartphones, tablets, and desktops. In this article, we will be using the jQuery Mobile panel positionFixed option to set whether the specified panel has fixed positioning or not to check whether the contents are in view even if the page is scrolled down. This option also allows the page to scroll while the panel stays fixed. It is recommended not to enable this feature when panels are used within Android apps because of poor performance and display issues. Syntax: Initializing the panel with the positionFixed option. $( ".selector" ).panel({ positionFixed: true });
CDN Link: First, add jQuery Mobile scripts needed for your project.
Example: This example describes the jQuery Mobile panel positionFixed option. HTML
Output: ![]() jQuery Mobile panel positionFixed Option Reference: https://api.jquerymobile.com/panel/#option-positionFixed |
Reffered: https://www.geeksforgeeks.org
JQuery |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 7 |