{"id":19483181,"url":"https://github.com/mmgrant73/osxdock","last_synced_at":"2026-04-11T02:55:37.050Z","repository":{"id":73106339,"uuid":"239096350","full_name":"mmgrant73/osxdock","owner":"mmgrant73","description":"OSX Dock - is a custom web component which is  like the docking bar  on the MacOS operation system that can be used on a website.  It is easy to  use and set up.  Javascript, CSS, Javascript","archived":false,"fork":false,"pushed_at":"2020-02-10T06:05:14.000Z","size":585,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T17:45:32.239Z","etag":null,"topics":["component","css","css3","html5","javascript","web"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmgrant73.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-08T08:53:10.000Z","updated_at":"2020-02-10T06:05:16.000Z","dependencies_parsed_at":"2023-09-19T02:06:39.941Z","dependency_job_id":null,"html_url":"https://github.com/mmgrant73/osxdock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mmgrant73/osxdock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmgrant73%2Fosxdock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmgrant73%2Fosxdock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmgrant73%2Fosxdock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmgrant73%2Fosxdock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmgrant73","download_url":"https://codeload.github.com/mmgrant73/osxdock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmgrant73%2Fosxdock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285170108,"owners_count":27126456,"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","status":"online","status_checked_at":"2025-11-19T02:00:05.673Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["component","css","css3","html5","javascript","web"],"created_at":"2024-11-10T20:13:54.976Z","updated_at":"2025-11-19T02:03:44.027Z","avatar_url":"https://github.com/mmgrant73.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/owner/my-element)\n# OSX Dock:\n\n### What is it?\nOSX Dock - is a custom web component which is like the docking bar on the MacOS operation system that can be used on a website.  It is easy to \nuse and set up.\n\n![Alt text](https://github.com/mmgrant73/osxdock/blob/master/osxdock.png?raw=true \"Image-osxdock\")\n\n[Click here for Demo](https://mmgrant73.github.io/osxdock/osxdock.html) \n\n### How to use it?\nIt is quite easy to use it on your webpage. Just follow the below steps:\n\n1. Include the link to the script file that holds the this custom web component (osxdock.js) near the bottom of \n   the body section of your webpage.  See below\n   \n```\n    \u003cscript src=\"./osxdock.js\"\u003e\u003c/script\u003e\n```\n\n2.  Then use the custom element tags on your webpage.\n\n```\n    \u003cosx-dock\u003e\n        \u003citem href=\"www.facebook.com\" src=\"./osxdock/facebook-icon.png\"\u003eFacebook\u003c/item\u003e\n        \u003citem href=\"www.google.com\" src=\"./osxdock/google-icon.png\"\u003eGoogle\u003c/item\u003e\n        \u003citem href=\"www.github.com\" src=\"./osxdock/github.png\"\u003eGithub\u003c/item\u003e\n    \u003c/osx-dock\u003e\n```\n\nNote: That is all you have to do to use this custom element.  There is an example HTML page (osxdock.html) that shows how to use it.\n\n```\n    \u003c!DOCTYPE html\u003e\n    \u003chtml\u003e\n      \u003chead\u003e\n        \u003ctitle\u003eOSX Dock Web Component\u003c/title\u003e\n        \u003cstyle\u003e\n            body {\n                background-color: rgb(90,90,90);\n            }\n            h1 {\n                color: white;\n                text-align: center;\n            }\n        \u003c/style\u003e\n      \u003c/head\u003e\n      \n      \u003cbody\u003e\n      \n        \u003ch1\u003eThis is a demostration of the OSX Dock Web Component\u003c/h1\u003e\n\n        \u003cdiv\u003e\n            \u003cosx-dock\u003e\n                \u003citem href=\"www.facebook.com\" src=\"./osxdock/facebook-icon.png\"\u003eFacebook\u003c/item\u003e\n                \u003citem href=\"www.google.com\" src=\"./osxdock/google-icon.png\"\u003eGoogle\u003c/item\u003e\n                \u003citem href=\"www.github.com\" src=\"./osxdock/github.png\"\u003eGithub\u003c/item\u003e\n            \u003c/osx-dock\u003e\n        \u003c/div\u003e \n\n        \u003cscript src=\"./osxdock.js\"\u003e\u003c/script\u003e\n\n      \u003c/body\u003e\n      \n    \u003c/html\u003e\n```\n\n### There are only three properties that you can use to customize this element.\n\nThere are three attributes that you need to set:\n1. href - is the hyperlink that will become active when a user click on the icon in the dock bar\n2. src - is the image that will be used in the dock bar\n3. innerText - the innerText between the item tag will be display when the mouse is hovered over the icon\n\n### To Do:\n1. Add a way so one can style the dock bar\n\nNote: You have to set the two attributes(href and src) and the innerText. \n\nNote: This was inspired by something I saw on https://zurb.com/lab.  Some of the CSS was dervied from this site.  \nI expanded on it and converted it to a web component\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmgrant73%2Fosxdock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmgrant73%2Fosxdock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmgrant73%2Fosxdock/lists"}