• This repository has been archived on 27/Aug/2019
  • Stars
    star
    425
  • Rank 102,094 (Top 3 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created over 13 years ago
  • Updated over 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

AliceJS - (A Lightweight Independent CSS Engine) is a micro JavaScript library. For a demo, click the link below.

AliceJS

AliceJS - (A Lightweight Independent CSS Engine) is a micro JavaScript library focused on using hardware-accelerated capabilities (in particular CSS3 features) in modern browsers for generating high-quality, high-end visual effects.

This library and the sample code is Open Source under the Apache 2.0 License.

Special Attention As of version 0.5 there is no support for the 0.2 and 0.1 since there was a large transition in the method styling. So please if you're looking to transition to 0.5, you will need to re-write your code to fit the new method styling. Please take caution in doing so.

Author(s):

Compatibility Issues: AliceJs 0.5 is not compatible with 0.2 or 0.1. We made improvements in the readability of AliceJs with objectifying the parameters of the methods. We hope this doesn't cause any confusion or stop you from trying out the new caterpillar effect!

Requirements:

  1. A WebKit-based browser with support for CSS3.

How to use AliceJS in a web project

  1. Download the source package (zip or tar.gz) and unzip it to your web folder (e.g., /var/www/html/your project name/js/alice).

  2. Include the AliceJS library in your HTML using one of the following:

    a. Full library (with comments):

         <script src="js/alice/alice.js"></script>
    

    b. Minified version of the full library:

         <script src="js/alice/alice-min.js"></script>
    

    c. Specific effect(s):

         <script src="js/alice/src/alice.core.js"></script>
         <script src="js/alice/src/alice.plugins.cheshire.js"></script>
    
  3. Create your HTML markup. For example:

         <div id="deck" class="cards">
             <div class="card"><span>2</span></div>
             <div class="card"><span>3</span></div>
             <div class="card"><span>4</span></div>
             <div class="card"><span>5</span></div>
             <div class="card"><span>6</span></div>
             <div class="card"><span>7</span></div>
             <div class="card"><span>8</span></div>
             <div class="card"><span>9</span></div>
             <div class="card"><span>10</span></div>
             <div class="card"><span>J</span></div>
             <div class="card"><span>Q</span></div>
             <div class="card"><span>K</span></div>
             <div class="card"><span>A</span></div>
         </div>
    
  4. Apply Alice's effects by specifying the ID of your target DIV and some parameters. These options will apply a "slide (left)" effect to your DIVs.

         <script type="text/javascript">
         var deck = document.getElementById("deck").children;
    
         alicejs.slide({
             elems: deck, 
             move: "left", 
             duration: {
                 "value": "1000ms",
                 "randomness": "0%",
                 "offset": "150ms"
             }
         });
         </script>
    
  5. Add optional CSS styling to your DIVs:

         <style type="text/css">
         .card {
             float: left;
             background: transparent;
             border: 1px solid #CCC;
             border-radius: 20px;
             width: 75px;
             height: 100px;
             padding: 10px;
             text-align: center;
         }
         </style>
    

More Info

Contributing Changes

To contribute code to this repository, you must sign up as an official contributor.

To build the code you will need to have node installed. To build run the following in your shell(git-bash for windows):

./configure

This will install the dependancies. You should then be able to run:

jake

to build Alice.js

Running tests in a headless PhantomJS instance

Those tests require Grunt. Also, require grunt-contrib-qunit and grunt-contrib-jasmine plugins. To install all of them, type:

npm install -g grunt-cli
npm install grunt grunt-contrib-qunit grunt-contrib-jasmine
  • Run qunit tests with the grunt qunit -v command.
  • Run jasmine tests with the grunt jasmine -v command.
  • Run all tests with the grunt test -v command.

Bug Reporting and Feature Requests

If you find a bug or have an enhancement request, please report an Issue and send a message (via github messages) to the author(s) to let them know that you have filed an issue.

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

pe_tree

Python module for viewing Portable Executable (PE) files in a tree-view using pefile and PyQt5. Can also be used with IDA Pro and Rekall to dump in-memory PE files and reconstruct imports.
Python
1,298
star
2

bbUI.js

BlackBerry UI look and feel JavaScript toolkit for WebWorks
JavaScript
312
star
3

Ripple-UI

Ripple UI is a cross-platform, mobile web application emulation environment.
JavaScript
269
star
4

WebWorks

BlackBerry WebWorks for Smartphones is a platform for building deeply integrated web applications for BlackBerry smartphones
Java
267
star
5

Boost

The Boost C++ Libraries
C++
226
star
6

Cascades-Community-Samples

Samples authored by the Community showing how to use Cascades.
C++
166
star
7

BB10-WebWorks-Samples

WebWorks Samples for the BlackBerry 10 Platform
JavaScript
154
star
8

NDK-Samples

Collection of Code Samples to be used with the Native SDK
C
154
star
9

WebWorks-Samples

Collection of BlackBerry WebWorks sample applications
JavaScript
151
star
10

WebWorks-Community-APIs

Community owned repository containing JavaScript Extensions for BlackBerry WebWorks
C++
140
star
11

Samples-for-Java

Samples for BBOS Java Apps
Java
106
star
12

threat-research-and-intelligence

BlackBerry Threat Research & Intelligence
Jupyter Notebook
92
star
13

SDL

Simple DirectMedia Layer is an open-source, cross-platform multimedia library designed to provide a low level API.
C
86
star
14

Falco-bypasses

Research on various techniques to bypass default falco ruleset (based on falco v0.28.1).
C
79
star
15

Cascades-Samples

Official Samples for the BlackBerry 10 Cascades Platform
C++
77
star
16

Qt

A popular cross-platform application framework
C++
72
star
17

jQueryMobile-BB10-Theme

jQuery Mobile BlackBerry 10 Theme
JavaScript
72
star
18

Krackle

A Low Overhead Kafka Client
Java
70
star
19

WebWorks-TabletOS

BlackBerry WebWorks for Tablet OS is a platform for building deeply integrated web applications for the BlackBerry PlayBook
ActionScript
70
star
20

NME

An awesome cross-platform game and application framework
C++
67
star
21

WebWorks-API-Docs

BlackBerry WebWorks API Documentation
JavaScript
66
star
22

WebGL-Samples

WebGL-Samples is a collection of WebGL sample applications
JavaScript
63
star
23

BB10-WebWorks-Framework

The BB10 WebWorks Framework is packaged within an application BAR file to run on a BB10 device (or simulator)
JavaScript
60
star
24

DosBox

DosBox is a MS-DOS emulator used to play older games and applications meant to run on DOS.
C++
59
star
25

blackberry.github.com

BlackBerry Open Source Wiki
JavaScript
47
star
26

JDE-Samples

Samples for BlackBerry JDE
Java
47
star
27

BB10-WebWorks-Community-Samples

WebWorks Samples for the BlackBerry 10 Platform contributed by the Community
HTML
44
star
28

KaBoom

A High Performance Cluster Consumer for Kafka that creates Avro (boom) files in Hadoop in time based directory paths
Java
42
star
29

OpenAL

OpenAL is a cross-platform 3D audio API appropriate for use with gaming applications and many other types of audio applications
C
40
star
30

OpenGLES-Samples

C
40
star
31

jwt-editor

A Burp Suite extension and standalone application for creating and editing JSON Web Tokens. This tool supports signing and verification of JWS, encryption and decryption of JWE and automation of several well-known attacks against applications that consume JWT.
Java
34
star
32

ALF

Fuzz testing framework for security research
Python
30
star
33

BlackBerry-Dynamics-Android-Samples

Sample applications making use of BlackBerry Dynamics APIs for Android.
Java
29
star
34

Ripple-Framework

A browser-like framework component that hosts the Ripple UI tooling and provides services required for emulation
C++
28
star
35

jQueryMobile-Samples

Samples for using jQuery Mobile with BlackBerry devices
28
star
36

android-linux-kernel

BlackBerry Android Device Kernel Source Code
27
star
37

BB10-Webworks-Packager

The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
JavaScript
27
star
38

WebWorks-Community-Samples

WebWorks Samples for the BlackBerry Platform contributed by the Community
JavaScript
25
star
39

Eclipse-JDE

The BlackBerry Java Plug-in for Eclipse
Java
25
star
40

bb-cascades-oauth

OAuth Library for the BlackBerry Cascades framework supporting both OAuth 1.0 and 2.0
C++
25
star
41

Skia

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images
C++
24
star
42

Lua

Lua is a powerful, fast, lightweight, embeddable scripting language.
C
23
star
43

Cocos2D-X

cocos2d-x is an open-source, C++ based, mobile 2D game engine.
C++
23
star
44

Quake3

Quake3
C
23
star
45

Wesnoth

The Battle for Wesnoth is a turn-based, tactical strategy game. It is cross-platform and open-source and uses SDL.
C++
23
star
46

Core-Native-Community-Samples

Core Native Samples contributed by the Community
C
22
star
47

CppUnit

CppUnit implementation
C++
22
star
48

OGRE

OGRE (Object-Oriented Graphics Rendering Engine)
C++
21
star
49

SpiderMonkey

SpiderMonkey is Mozilla's JavaScript engine written in C/C++.
C
21
star
50

OpenCV

Open Computing Vision
C++
21
star
51

BlackBerry-Dynamics-iOS-Samples

Sample applications making use of BlackBerry Dynamics APIs for iOS.
Objective-C
19
star
52

OpenTTD

OpenTTD is a cross-platform, open-source simulation game originally based on Transport Tycoon Deluxe.
C++
17
star
53

Box2D

Box2D is a 2D rigid body simulation physics library for games
C
16
star
54

Presentations

Material from RIM's participation in Conferences, Workshops, and similar events
JavaScript
16
star
55

Bullet

Bullet is a professional free 3D game multi-physics library
C++
16
star
56

Qt2Cascades-Samples

Port of Qt Samples to use Cascades
C++
16
star
57

hadoop-logdriver

A logdriver for Apache Hadoop
Java
15
star
58

Cordova-Samples

Samples showing how to write BlackBerry 10 Applications using Apache Cordova
JavaScript
15
star
59

TouchControlOverlay

TouchControlOverlay was developed as a translation layer from PlayBook touch inputs to mouse and keyboard events to make porting easier.
C
15
star
60

WebKit-Smartphone

WebKit Contributions for BlackBerry Smartphones
C++
13
star
61

BlackBerry-Dynamics-React-Native-SDK

An open source plugin for BlackBerry Dynamics SDK with React Native support. BlackBerry Dynamics: https://developers.blackberry.com/us/en/products/blackberry-dynamics.html React Native: http://reactnative.dev
Java
13
star
62

JSON_parser

C-based JSON parser
C
11
star
63

opendataspace-cascades

OpenDataSpace client for BlackBerry 10 devices using Cascades
C++
11
star
64

OggVorbis

Ogg Vorbis is a completely open, patent-free, professional audio encoding and streaming technology.
C
11
star
65

cqlsniff

Log Cassandra CQL queries by packet sniffing.
C++
10
star
66

Python

Python port to BlackBerry 10
Python
10
star
67

WebKit-PlayBook

WebKit Contributions for BlackBerry PlayBook
C++
10
star
68

OpenNebula-Carina

Carina Extensions to OpenNebula
Ruby
10
star
69

UBCIS

Ultimate Benchmark for Container Image Scanners
Python
10
star
70

WebKit-BB10

WebKit Contributions for BlackBerry 10
C++
10
star
71

Android-Samples

Samples for Android devices, like the BlackBerry Priv
Java
10
star
72

BES10-WebWorks

WebWorks-based Samples for the Enterprise; BlackBerry 10 client and BES10 server
JavaScript
10
star
73

VSPlugin

Visual Studio Plugin for BlackBerry Native SDK
C#
9
star
74

PictureWall

Control a Collection of BlackBerry PlayBooks to Display One or Multiple Images
JavaScript
9
star
75

BWS-Samples

This repo contains code samples for BlackBerry Web Services for Enterprise Administration in Java, and also in Microsoft .NET C#. These code samples are designed to demonstrate the basic essentials needed to work with the BlackBerry Web Services for Enterprise Administration API.
Java
9
star
76

Secure-Work-Space

Tools and Samples for use on the BlackBerry Secure Work Space
CSS
8
star
77

BlackBerry-Dynamics-Cordova-Samples

Sample applications making use of BlackBerry Dynamics APIs for Cordova.
TypeScript
8
star
78

ALUT

OpenAL Utility Toolkit
C
8
star
79

cordova-blackberry-plugins

Plugins for Cordova
JavaScript
7
star
80

chef-provisioning-opennebula

Ruby
7
star
81

Stepruder

A pen-testing tool inspired by the well-known Burp tool Intruder and Burp extension Stepper, hence the name - Stepruder. Automates long request sequences with inter-dependent requests and responses and ability to define in-request variables while adding payload injection on top.
Python
6
star
82

android-utils

BlackBerry Android Device Open Source Library/Utility Code
5
star
83

BES10-Cascades

Cascades-based Samples for the Enterprise; BlackBerry 10 client and BES10 server
C++
5
star
84

CylancePROTECT-Samples

Sample applications making use of CylancePROTECT APIs
JavaScript
4
star
85

BlackBerry-Spark-SDK-Android-Samples

Sample applications that use the BlackBerry Spark SDK on Android
Java
4
star
86

RecastNavigation

Navigation-mesh Construction Toolset for Games.
4
star
87

PCRE

PCRE is a library that implements regular expression pattern matching using the same syntax and semantics as Perl 5.
4
star
88

BlackBerry-Communication-Services-Examples

Example applications built with the BlackBerry Spark Communications Services SDK. For more information about these SDKs please see: https://developer.blackberry.com/files/bbm-enterprise/documents/guide/html/index.html.
Java
4
star
89

GetOpt

3
star
90

QTweetLib

Adaptation of Minimoog (Toni Jovanoski)'s QTweetLib
C++
3
star
91

saturnring

saturnring is high-performance, solid-state-backed, network block storage
Python
3
star
92

BB-BigData-Common-Utils

Common Utilities for the BigData projects (KaBoom, Klogger, Krackle)
Java
3
star
93

Community

Community Pages
JavaScript
3
star
94

Dropwizard-Active-Directory-LDAP-Authentication

Java
3
star
95

webworks-gui

GUI Tool for WebWorks 2.0
JavaScript
3
star
96

klogger

Java
3
star
97

bb-spark-android-samples

Example applications built with the BlackBerry Spark Communications Services SDK for Android. For iOS, JavaScript, and Linux examples see: https://github.com/blackberry/bb-spark-ios-samples, https://github.com/blackberry/bb-spark-javascript-samples, and https://github.com/blackberry/bb-spark-linux-samples.
3
star
98

bb-spark-javascript-samples

Example applications built with the BlackBerry Spark Communications Services SDK for JavaScript. For Android, iOS, and Linux examples see: https://github.com/blackberry/bb-spark-android-samples, https://github.com/blackberry/bb-spark-ios-samples, and https://github.com/blackberry/bb-spark-linux-samples.
3
star
99

bb-spark-ios-samples

Example applications built with the BlackBerry Spark Communications Services SDK for iOS. For Android, JavaScript, and Linux examples see: https://github.com/blackberry/bb-spark-android-samples, https://github.com/blackberry/bb-spark-javascript-samples, and https://github.com/blackberry/bb-spark-linux-samples.
3
star
100

Construct2Plugins

Plugins for Construct 2
JavaScript
2
star