{"id":22018153,"url":"https://github.com/rvflash/jquery-open","last_synced_at":"2026-05-05T03:32:32.172Z","repository":{"id":4881992,"uuid":"6037290","full_name":"rvflash/jQuery-Open","owner":"rvflash","description":"Enable various method to open links, as in iframe, in popup or in current window of course. Can manage all HTML tags with jQuery data \"url\" or basically with \"a\" tag. ","archived":false,"fork":false,"pushed_at":"2014-06-02T10:05:41.000Z","size":323,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T16:16:36.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"duns/maven-archetype-nar-exec","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rvflash.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-10-01T22:28:47.000Z","updated_at":"2021-01-02T02:38:41.000Z","dependencies_parsed_at":"2022-09-14T08:11:36.829Z","dependency_job_id":null,"html_url":"https://github.com/rvflash/jQuery-Open","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/rvflash%2FjQuery-Open","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2FjQuery-Open/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2FjQuery-Open/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvflash%2FjQuery-Open/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvflash","download_url":"https://codeload.github.com/rvflash/jQuery-Open/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245081530,"owners_count":20557815,"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-11-30T05:10:13.354Z","updated_at":"2026-05-05T03:32:27.114Z","avatar_url":"https://github.com/rvflash.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jQuery-Open\n===========\n\n## New in 1.3 ##\n    - Extend event object with \"currentTab\" with DOM element of the current opened tab in \"browser\".\n\n## New in 1.2 ##\n    - Now receive as first parameters on callback the event, with dedicated parameter named \"currentHref\" with URL decoded called.\n\n## New in 1.1 ##\n    - Now only works by event delegation.\n    - Add event on load, on view for ajax and iframe mode.\n    - Enable to close iframe or ajax box by clicking outside it.\n    - Add closure tag on top of iframe or ajax box.\n    - Manage maximum number of tab also from ajax box.\n    - Convert # as ? in url for ajax mode\n\n=======\n\nEnable various methods to open links:\n    - In iframe\n    - In popup\n    - In current window of course\n    - With Ajax call\n\nCan manage all HTML tags with jQuery data \"url\", data \"erl\" (link encoded with rot13 method) or basically with \"a\" tag.\n\nYou can complete current url dynamically with data \"arg\" and with an unique identifier named \"i\", generated by this plugin.\n\nVarious options, like autoading of the first element are available, or the toggle display on click for one element loaded, etc.\nSee settings for more informations.\n\n\n## Examples ##\n\nYou can also specify 3 type of opening. By default \"self\", open it in current view, \"popup\" in new window and \"iframe\" enable to show url in iframe with loading message:\n\n    $.open(\"span.a\");\n\nAnd, you can specify various properties to extend common behaviors, here for example we open the first element on load: \n\n    $.open(\"span.a\", {type: 'iframe', autoload: true});\n\nAttach events when the element exits of the current view. The DOM element has been passed as first parameter:\n\n    $.open(\"a, span.a\", {\n        onExit : function (e){ console.log('Bye' + e.currentHref); },\n    });\n\nAnd if you want to change the container of the delegation, this one :\n\n    $.open('.a, span.a', {container: '.myContainer'});\n\nYou can use data \"erl\" to store URL encoded with Rot13 transformation. Perform to obfuscate some links.\n\nFinally you can overload common behavior of a list by adding classname on each element (self, blank or iframe).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvflash%2Fjquery-open","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvflash%2Fjquery-open","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvflash%2Fjquery-open/lists"}