Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

colorbox-rails

Package Overview
Dependencies
Maintainers
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

colorbox-rails

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
4
Created
Source

= ColorboxRails

Make links open in lightbox (colorbox) a breeze

= Usage

in your application.css

*= require colorbox-rails

in your application.js

//= require colorbox-rails

Then enable link to be displayed in colorbox by simply adding :colorbox => true attribute. E.g.

<%= link_to "My superb link", "#", :data => { :colorbox => true } %>

My superb link

Add attributes inside the :data block

<%= link_to "My superb link", "#", :data => { :colorbox => true, :colorbox_height => '300px', :colorbox_width => '300px', :colorbox_iframe => true } %>

= Available data options

= Available link options

<%= link_to "My superb link", "#", rel: 'group1', :data => { :colorbox_static => true } %>

= License

This project rocks and uses MIT-LICENSE.

FAQs

Package last updated on 21 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc