{"id":30107066,"url":"https://github.com/benignware/jquery-vgrd","last_synced_at":"2025-08-10T01:33:02.569Z","repository":{"id":23753423,"uuid":"27127641","full_name":"benignware/jquery-vgrd","owner":"benignware","description":"Enhance horizontal grids with a vertical pattern","archived":false,"fork":false,"pushed_at":"2015-07-05T20:45:26.000Z","size":211,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-08-12T18:37:45.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/benignware.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}},"created_at":"2014-11-25T13:44:17.000Z","updated_at":"2023-08-12T18:37:45.555Z","dependencies_parsed_at":"2022-08-22T05:50:19.833Z","dependency_job_id":null,"html_url":"https://github.com/benignware/jquery-vgrd","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/benignware/jquery-vgrd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benignware%2Fjquery-vgrd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benignware%2Fjquery-vgrd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benignware%2Fjquery-vgrd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benignware%2Fjquery-vgrd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benignware","download_url":"https://codeload.github.com/benignware/jquery-vgrd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benignware%2Fjquery-vgrd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269663320,"owners_count":24455799,"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-08-09T02:00:10.424Z","response_time":111,"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":[],"created_at":"2025-08-10T01:32:12.206Z","updated_at":"2025-08-10T01:33:02.529Z","avatar_url":"https://github.com/benignware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jquery-vgrd\n===========\n\n\u003e Enhance horizontal grids with a vertical pattern.\n\n[Demo](http://benignware.github.io/jquery-vgrd)\n\n## Usage\n\nInclude dependencies.\n\n```html\n\u003cscript src=\"http://code.jquery.com/jquery-1.11.2.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js\"\u003e\u003c/script\u003e\n\u003clink href=\"http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css\" rel=\"stylesheet\"/\u003e\n\u003cscript src=\"jquery.vgrd.min.js\"\u003e\u003c/script\u003e\n```\n\nSetup a grid with Bootstrap:\n\n```html\n\u003cdiv class=\"row vgrd\"\u003e\n  \u003cdiv class=\"col-md-3 col-sm-4\"\u003e\n    \u003cdiv class=\"vg-md-3 vg-sm-4\"\u003e\u003cdiv class=\"box\"\u003eLorem ipsum\u003c/div\u003e\u003c/div\u003e\n    \u003cdiv class=\"vg-md-6 vg-sm-8\"\u003e\u003cdiv class=\"box\"\u003eLorem ipsum\u003c/div\u003e\u003c/div\u003e\n  \u003c/div\u003e\n  \u003cdiv class=\"col-md-6 col-sm-4\"\u003e\n    \u003cdiv class=\"vg-md-6 vg-sm-8\"\u003e\u003cdiv class=\"box\"\u003eLorem ipsum\u003c/div\u003e\u003c/div\u003e\n    \u003cdiv class=\"vg-md-3 vg-sm-4\"\u003e\u003cdiv class=\"box\"\u003eLorem ipsum\u003c/div\u003e\u003c/div\u003e\n  \u003c/div\u003e\n  \u003cdiv class=\"col-md-3 col-sm-4\"\u003e\n    \u003cdiv class=\"vg-md-3 vg-sm-4\"\u003e\u003cdiv class=\"box\"\u003eLorem ipsum\u003c/div\u003e\u003c/div\u003e\n    \u003cdiv class=\"vg-md-6 vg-sm-8\"\u003e\u003cdiv class=\"box\"\u003eLorem ipsum\u003c/div\u003e\u003c/div\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n```\n\n```css\n.row.vgrd {\n  margin-top: -15px;\n  margin-bottom: -15px;\n}\n\n.row *[class*='vg-'] {\n  padding-top: 15px;\n  padding-bottom: 15px;\n}\n\n.box {\n  height: 100%;\n  padding: 15px;\n  background: lightblue;\n}\n```\n\nInitialize the plugin\n\n```js\n$('.vgrd').vgrd({\n  // aspect-ratio container-width\n  unitRatio: 0.04751461988304\n});\n```\n\n\n\nOptions\n-------\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003eOption\u003c/th\u003e\u003cth\u003eType\u003c/th\u003e\u003cth\u003eDescription\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ebindResize\u003c/td\u003e\n    \u003ctd\u003eBoolean\u003c/td\u003e\n    \u003ctd\u003e\n      Specify whether to trigger layout automatically on window resize. Call `$('.vgrd').vgrd()` to resize manually. Default: `true` \n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ebreakpoints\u003c/td\u003e\n    \u003ctd\u003eArray\u003c/td\u003e\n    \u003ctd\u003e\n      Specifies breakpoint detection keys. Default: `['xs','sm','md','lg']`\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ecomputeHeight\u003c/td\u003e\n    \u003ctd\u003eFunction\u003c/td\u003e\n    \u003ctd\u003e\n      Hook into the calculation routine by returning a height. Arguments: `element`, `calculatedHeight`, `containerWidth`, `unitRatio`, `patternValue`.\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003econtainer\u003c/td\u003e\n    \u003ctd\u003eString\u003c/td\u003e\n    \u003ctd\u003e\n      Provide parent container class. Defaults to `.row`.\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ecssPrefix\u003c/td\u003e\n    \u003ctd\u003eString\u003c/td\u003e\n    \u003ctd\u003e\n      Specifies the prefix for vertical selector. Default: `vg-`\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ehelperPrefix\u003c/td\u003e\n    \u003ctd\u003eString\u003c/td\u003e\n    \u003ctd\u003e\n      Specifies the prefix for the breakpoint-helper selector prefix. Default: `visible-`\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eunitRatio\u003c/td\u003e\n    \u003ctd\u003eFloat\u003c/td\u003e\n    \u003ctd\u003e\n      Provides the measurement unit for vertical grid selector as proportion of container width. Default: `0.1`\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenignware%2Fjquery-vgrd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenignware%2Fjquery-vgrd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenignware%2Fjquery-vgrd/lists"}