{"id":17914209,"url":"https://github.com/knadh/tinytooltip","last_synced_at":"2025-03-23T23:30:46.986Z","repository":{"id":2777974,"uuid":"3777282","full_name":"knadh/tinytooltip","owner":"knadh","description":"An extremely tiny tooltip plugin for jQuery","archived":false,"fork":false,"pushed_at":"2013-11-08T06:31:44.000Z","size":130,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T00:17:57.692Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://kailashnadh.name/code/tinytooltip/","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/knadh.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-03-20T16:21:46.000Z","updated_at":"2024-10-24T14:47:18.000Z","dependencies_parsed_at":"2022-09-10T02:50:31.013Z","dependency_job_id":null,"html_url":"https://github.com/knadh/tinytooltip","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/knadh%2Ftinytooltip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knadh%2Ftinytooltip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knadh%2Ftinytooltip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knadh%2Ftinytooltip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knadh","download_url":"https://codeload.github.com/knadh/tinytooltip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186440,"owners_count":20574551,"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-28T19:56:49.677Z","updated_at":"2025-03-23T23:30:46.622Z","avatar_url":"https://github.com/knadh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tinytooltip\ntinytooltip (900 bytes minified) is an extremely tiny, easy to use tooltip plugin for jQuery\n\nKailash Nadh, October 2011\n\nLicense:\tMIT License\n\nDocumentation and Demo: http://kailashnadh.name/code/tinytooltip\n\n## Example\n\n### HTML - Setup\n\u003cpre\u003e\n\u0026lt;head\u0026gt;\n\t\u0026lt;script type=\"text/javascript\" src=\"lib/jquery.min.js\"\u0026gt;\u0026lt;/script\u0026gt;\n\n\t\u0026lt;link rel=\"stylesheet\" type=\"text/css\" href=\"src/jquery.tinytooltip.css\"/\u0026gt;\n\t\u0026lt;script type=\"text/javascript\" src=\"src/jquery.tinytooltip.min.js\"\u0026gt;\u0026lt;/script\u0026gt;\n\u0026lt;/head\u0026gt;\n\u003c/pre\u003e\n\n### Usage\n\u003cpre\u003e\n// == hover tooltip with static text\n$('.example').tinytooltip({message: \u0026quot;This is an example tooltip!\u0026quot;});\n\n\n// == on click tool tip with dynamic text\n$('.example').tinytooltip({\n\tmessage: function(tip) {\n\t\treturn $(this).val();\n\t},\n\thover: false\n});\n\n$('.example').click(function() {\n\t$(this).trigger('showtooltip');\t// show the tooltip\n}).blur(function() {\n\t$(this).trigger('hidetooltip');\t// hide the tooltip\n});\n\n\u003c/pre\u003e\n\nTo show tooltips at will, set the 'hover' option to false while initializing the tooltip on an element. \nThen, to show the tooltip, use .trigger('showtooltip') and to hide, .trigger('hidetooltip')\n\n## Options\n\u003ctable border=\"1\"\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003emessage\u003c/td\u003e\n\t\t\t\u003ctd\u003e\n\t\t\t\tTooltip message. Can be a string or a function()\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003ehover\u003c/td\u003e\n\t\t\t\u003ctd\u003e\n\t\t\t\t\u003cstrong\u003e\u003cem\u003etrue\u003c/em\u003e (default) or \u003cem\u003efalse\u003c/em\u003e\u003c/strong\u003e\u003cbr /\u003e\n\t\t\t\tStandard tooltip behaviour. Show tooltip on mouseover and hideon mouseout\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003eclasses\u003c/td\u003e\n\t\t\t\u003ctd\u003e\n\t\t\t\tAddition classes (separated by space) to be added to the tooltip div\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\t","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknadh%2Ftinytooltip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknadh%2Ftinytooltip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknadh%2Ftinytooltip/lists"}