Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Downloads
Download verge_lib-7.x-1.x-dev.tar.gztar.gz
13.29 KB
MD5: 541706571a07c33d103a129e4e91baee
SHA-1: f1900e0b4623768705dad722af2d92e8699c720c
SHA-256: 53882eac782c2b8c4b7b9fc70603c025eb78787f9148199a868443b6e3d03f0f
Download verge_lib-7.x-1.x-dev.zipzip
18.18 KB
MD5: 2b691d116c22bc0eb521179b1dee27c9
SHA-1: a8bca731e8301d9fc04fcef0b1e0f3178dd9aaac
SHA-256: f23d6cd7a0d2d8a46eaef2370cf75c99ff3bb7c52ca91655fa5e79f6e4159435
Release notes
The verge_lib
project is split into 2 modules:
verge_lib
This module just adds the verge.js library into drupal's library array; it doesn't have a user interface.
It's main purpose is to be used as standard for any responsive/adaptive module working with viewport dimensions. Actually many modules are using their own scripts therefore; so measurement results vary a lot.verge_lib_measure
This small module stores the actual viewport dimensions, measured with verge.js, into a cookie. Any responsive module/theme working with breakpoints and/or media queries can easily make use of the results.
Additionally the results can be displayed in a jQuery driven div. Therefore the module offers role permissions per theme and the option to disable the integrated css.