{"id":15590555,"url":"https://github.com/coderberry/lightwindow","last_synced_at":"2025-10-30T23:41:03.339Z","repository":{"id":66467409,"uuid":"39285","full_name":"coderberry/lightwindow","owner":"coderberry","description":"Lightwindow for Rails Plugin","archived":false,"fork":false,"pushed_at":"2011-02-04T01:15:22.000Z","size":164,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T05:35:12.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.solidcoresolutions.com","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/coderberry.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-08-01T20:44:27.000Z","updated_at":"2019-08-13T13:30:36.000Z","dependencies_parsed_at":"2023-02-20T04:40:23.028Z","dependency_job_id":null,"html_url":"https://github.com/coderberry/lightwindow","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/coderberry%2Flightwindow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderberry%2Flightwindow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderberry%2Flightwindow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderberry%2Flightwindow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderberry","download_url":"https://codeload.github.com/coderberry/lightwindow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250572663,"owners_count":21452334,"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-02T23:22:46.445Z","updated_at":"2025-10-30T23:41:03.256Z","avatar_url":"https://github.com/coderberry.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Lightwindow\n===========\n\nExamine the public methods of lightwindow_helper.rb. They will all look familiar, much like the existing link helpers, except that they work with lightwindow. You should not need to interact with the javascript directly.\n\nLightwindow provides three helpers which are used instead of a regular “link_to” helper when linking to a redbox.\n\n  link_to_lightwindow(name, link, html_options = {})\n\nAvailable HTML Options:\n\n  :href             - The hyperlink for the window\n  :title            - Title of window\n  :author           - Author of window\n  :caption          - The Caption for the window\n  :rel              - Set the rel tag\n  :top              - Top position of the window\n  :left             - Left position of the window\n  :type             - The type of the window you want to change it too\n  :showImages       - How many images to show\n  :height           - The height of the window\n  :width            - The width of the window\n  :loadingAnimation - Make the Loading Cover skip the animation\n  :iframeEmbed \t\t  - Embed the Media into an iframe instead of a div\n  :form             - The name of the form\n\nAlso, make sure you are including the correct javascript and css files in your layouts.\n\n  \u003c%= javascript_include_tag 'lightwindow' %\u003e\n  \u003c%= stylesheet_link_tag 'default', 'lightwindow' %\u003e # 'default' is optional\n  \nTo link to an existing element (typically hidden), you can use the # sign before the element id.\n\n  \u003c%= link_to_lightwindow(\"Open Hidden Window\", \"#element_id\", :caption =\u003e \"This is my hidden window\") %\u003e\n\n\nMore Info\n=========\n\nFor documentation on the Lightwindow library, go to:\n\n\thttp://stickmanlabs.com/lightwindow\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderberry%2Flightwindow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderberry%2Flightwindow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderberry%2Flightwindow/lists"}