{"id":16184641,"url":"https://github.com/rmariuzzo/jquery-annotation-plugin","last_synced_at":"2025-04-07T12:47:10.106Z","repository":{"id":2321867,"uuid":"3282488","full_name":"rmariuzzo/jQuery-Annotation-Plugin","owner":"rmariuzzo","description":"jQuery Annotation Plugin","archived":false,"fork":false,"pushed_at":"2012-01-27T13:17:23.000Z","size":92,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T15:37:44.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://mariuzzo.com/","language":"JavaScript","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/rmariuzzo.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":"2012-01-27T12:50:50.000Z","updated_at":"2014-04-13T06:39:17.000Z","dependencies_parsed_at":"2022-08-26T21:41:16.430Z","dependency_job_id":null,"html_url":"https://github.com/rmariuzzo/jQuery-Annotation-Plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmariuzzo%2FjQuery-Annotation-Plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmariuzzo%2FjQuery-Annotation-Plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmariuzzo%2FjQuery-Annotation-Plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmariuzzo%2FjQuery-Annotation-Plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmariuzzo","download_url":"https://codeload.github.com/rmariuzzo/jQuery-Annotation-Plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247656234,"owners_count":20974328,"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":[],"created_at":"2024-10-10T07:10:58.622Z","updated_at":"2025-04-07T12:47:10.063Z","avatar_url":"https://github.com/rmariuzzo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jQuery Annotation Plugin\n========================\n\nThe *jQuery Annotation Plugin* is a practical experiment that allow HTML elements being annotated with functionalities without writing a single code of JavaScript.\n\nWhat? No JavaScrit code?\n------------------------\n\nYes. All you need are two script references.\n\n```\n\u003cscript type=\"text/javascript\" src=\"jquery.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"jquery.annotations.js\"\u003e\u003c/script\u003e\n```\n\nAnd just start annotating your HTML elements!\n\nHow to annotate HTML elements?\n------------------------------\n\nSimple! Add a class value to your HTML elements like `@onclick-show-box1`. It would be more of help if you take a look at the following example.\n\nA full example please!\n----------------------\n\n```\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cscript type=\"text/javascript\" src=\"jquery.js\"\u003e\u003c/script\u003e\n    \u003cscript type=\"text/javascript\" src=\"jquery.annotations.js\"\u003e\u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003c!-- C_l_i_c_k_i_n_g this link will s_h_o_w the element with id b_o_x_1  --\u003e\n    \u003ca href=\"#\" class=\"@onclick-show-box1\"\u003e@onclick-show-box1\u003c/a\u003e\n    \u003cdiv id=\"box1\" class=\"box\" style=\"display:none\"\u003e\n      #box1\n    \u003c/div\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmariuzzo%2Fjquery-annotation-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmariuzzo%2Fjquery-annotation-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmariuzzo%2Fjquery-annotation-plugin/lists"}