{"id":15190440,"url":"https://github.com/swiftmade/stick-stack","last_synced_at":"2025-10-02T05:31:19.970Z","repository":{"id":57370885,"uuid":"80668818","full_name":"swiftmade/stick-stack","owner":"swiftmade","description":"A jquery plugin that helps stick elements consecutively","archived":true,"fork":false,"pushed_at":"2017-02-02T00:14:32.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-30T07:23:29.195Z","etag":null,"topics":["jquery","sticky-elements"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swiftmade.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-01T22:00:29.000Z","updated_at":"2023-02-16T13:24:49.000Z","dependencies_parsed_at":"2022-09-09T01:01:28.816Z","dependency_job_id":null,"html_url":"https://github.com/swiftmade/stick-stack","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftmade%2Fstick-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftmade%2Fstick-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftmade%2Fstick-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftmade%2Fstick-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swiftmade","download_url":"https://codeload.github.com/swiftmade/stick-stack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234942223,"owners_count":18910894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jquery","sticky-elements"],"created_at":"2024-09-27T20:23:22.524Z","updated_at":"2025-10-02T05:31:14.708Z","avatar_url":"https://github.com/swiftmade.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"💚 Stick Stack\n=============\n\nThis is a slightly modified version of a jQuery plugin originally implemented by [@ilterocal](https://github.com/ilterocal).\n\n# What does this plugin do?\nIt helps you stick a stack of elements (table headers, bootstrap panel headings, etc.) consecutively. **In only 75 lines.** As soon as the next sticky element arrives, the previous sticky element is released. Here is a demo:\n\n![Demo](https://media.giphy.com/media/26xBMFekYTMCRAxHy/giphy.gif)\n\n\n# How to use?\n\nJust include src/stick-stack.js in your code and specify which elements you want to stick-stack like so:\n\n\t$(window).stickStack('.panel-heading');\n\nInsert appropriate selector as the parameter.\n\n# Customize\n\nInstead of a selector, you can also pass an options object. Every possible option is listed below. The **el** key is compulsory in this mode, which should be the selector for stickable elements.\n\n\t$(window).stickStack({\n\t\ttop: 0,\n\t\tmargin: 0,\n\t\tzIndex: 10,\n\t\tel: '.selector',\n\t\tcontainerSelector: null\n\t});\n\nIf containerSelector is null, measurements will be done based on stackable div's immediate parent. If you pass in a selector, stick stack will find the closest match and use its height in calculating whether or not to hide the current sticky div. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftmade%2Fstick-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswiftmade%2Fstick-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftmade%2Fstick-stack/lists"}