npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jquery-pageslide

v2.0.2

Published

jQuery Javascript plugin which slides a webpage over to reveal an additional interaction pane.

Downloads

7

Readme

jQuery PageSlide

PageSlide is a jQuery plugin which slides a webpage over to reveal an additional interaction pane.

Demo

There are a couple of examples included with this package. Or, if you can’t wait to download it, see it live on the responsive demo or original project page.

Options

speed

The speed at which the page slides over. Accepts standard jQuery effects speeds (e.g. ‘fast’, ‘normal’ or milliseconds). (default=200)

direction

Which direction does the page slide? Accepts ‘left’ or ‘right’. (default=‘right’)

modal

By default, when pageslide opens, you can click on the document to close it. If modal is set to ‘true’, then you must explicitly close PageSlide using $.pageslide.close(); (default=false)

iframe

By default, linked pages are loaded into an iframe. Set this to false if you don’t want an iframe. (default=true)

href

Override the source of the content. Optional in most cases, but required when opening pageslide programmatically (e.g. $.pageslide({ href: ‘#some-element’ }); ) (default=null)

Setup

CommonJS / AMD

npm i jquery-pageslide --save
// CommonJS
var jQuery = require('jquery');
require('jquery-pageslide')(jQuery);

// AMD
define(['jquery', 'jquery-pageslide'], function (jQuery, pageslide) {
  pageslide(jQuery)
})

In the HEAD tag:

Ideally, near the bottom of the page.

To use, call pageslide on an tag that either links to a page or an anchor of a hidden element.

    $('a').pageslide();

Or, open pageslide programatically:

    $.pageslide({ href: '#some-element' });
    $.pageslide({ href: 'some-page.html' });

To close pageslide programatically:

    $.pageslide.close();

Changelog

Version 2.0

  • Completely rewritten
  • Externalized CSS
  • Content loaded into an iframe

Version 1.3

  • Older versions of PageSlide are located in this repository, however if you would like to contribute to the original plugin’s development, please use contributor Derek Perez’s repository.

Support

Basic support is offered through Github’s issues tracker. Many requests are resolved through the help of fellow PageSlide users and myself, however assistance is not guaranteed or timely.

If you are in need of immediate support, or would like customizations to the script, Premium Support is available for $17. Premium Support provides you with direct email access to me, and allows me to set time aside to hel