🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

parallaximage-rails

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parallaximage-rails

1.0.0
92

Supply Chain Security

100

Vulnerability

98

Quality

100

Maintenance

100

License

Network access

Supply chain risk

This module accesses the network.

Found 1 instance in 1 package

Shell access

Supply chain risk

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Found 1 instance in 1 package

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Uses eval

Supply chain risk

Package uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.

Found 1 instance in 1 package

Version published
Maintainers
1
Created

Parallax Hero Image Rails Gem

Installation

Add this line to your application's Gemfile:

    gem 'parallaximage-rails'

And then execute:

    $ bundle install

Usage

Add to your app/assets/javascripts/application.js

    //= require modernizr
    //= require jquery.parallaximage

And to your app/assets/stylesheets/application.css.sass or application.css.scss

    @import parallaximage

Or application.css:

    *= require parallaximage

Example

The main HTML structure is a

element containing our hero image (we used 3 different s) and wrapped in a .cd-background-wrapper element.

<div class="cd-background-wrapper">
	<figure class="cd-floating-background">
		<img src="img/cd-img-1.jpg" alt="image-1">
		<!-- images here -->
	</figure>
</div>

Documentation

Usage documentation as well as demos can be found at:

http://codyhouse.co/gem/parallax-hero-image/

FAQs

Package last updated on 13 Apr 2015

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