New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

responsive-tables-js

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

responsive-tables-js

A simple and fast method for making any table responsive

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

Responsive Table JS

Responsive Tables JS is a simple and fast method for making any table responsive

Browser Support

All modern browsers. Tested in:

  • FF
  • Chrome
  • IOS Safari
  • IE9+ (see usage)

Usage

  • jQuery is required - tested with 2.x (should work with previous versions too)
  • Just insert the js script, css stylesheet and add the class responsive to your table.
  • The table must have th tags to work
  • For chrome/ios: is required!
  • For IE9: please make sure that the html tag has the class ie9 (below for instructions)

Example:

Include:

<link rel="stylesheet" href="responsiveimages.css" />
<script src="responsiveimages.js"></script>

Table:

<table class="responsive">
<tr >
    <th>
        Title 1
    </th>
    <th>
        Title 2
    </th>
</tr>
<tr>
    <td >
        Row 1
    </td>
    <td >
        Row 1
    </td>
</tr>
</table>

IE9 CSS Class

<!--[if IE 9 ]>
    <html class="ie9">
<![endif]-->
<!--[if !IE]>-->
    <html>
<!--<![endif]-->

Contribution

Sure! Just send me your pull requests :)

Demo

Licence

MIT

Keywords

js

FAQs

Package last updated on 01 Oct 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