JSFiddle

  • Spark animation example #12 is the latest revision

    An example effect

    Spark.ready(function() {
        Spark('div.inner').animate({
            height: 100
        }, false, 'outBounce');
        
        Spark('div.inner')
            .event('mouseover', function(e) {
                Spark(e ...
  • SparnAn testing #5 is the latest revision

    A test fiddle for the SparkAn function - To be used in the Spark JavaScript library or as a stand alone function

    // Grab the elements
    var el = document.getElementById('target');
    var message = document.getElementById('hidden');
    
    // Hide the message with a function that ...
  • Spark - Element function

    Testing and creation of the element function

    SparkFn.add = function(tag, attributes, styles) {
        // Create the new element
        var construct = document.createElement(tag);
        
        // Make sure attributes is set ...
  • Spark - dropIn transition

    A fancy transition for Spark.

    SparkFn.dropIn = function(timeframe, callback) {
        // Make sure we have all the variables we need
        if(timeframe === undefined) {
            var timeframe = 800 ...
  • Spark's turn #2 is the latest revision

    A comparison between Spark and Mootools.

    JSLitmus.test('Spark', function(count) {
        while(count--) {
            Spark('ul li')
                .css({
                    color: '#CCCCCC',
                    fontWeight: 'bold',
                    fontSize: '10px'
                })
                .event('click', function ...
  • Spark vs. Mootools #2 is the latest revision

    A comparison between Spark and Mootools.

    No code. How about adding some?
  • Chrome extension test #29 is the latest revision

    Testing the Chrome extension to make sure the versions are correct.

    <p>This is revision 4</p>
  • Spark v2.0.0 testing #23 is the latest revision

    Testing of the rewritten Spark

    // ready
    Spark.ready(function() {
        // text
        Spark('p.text2')
            .text(Spark('p.text').text())
            .text(' and appended.', true);
        
        // html
        Spark('p ...
  • SparkIn() speed test

    Litmus test of SparkIn()

    JSLitmus.test('SparkIn() test', function(count) {
      while (count--) {
            SparkIn();
      }
    });
  • Spark border animation #8 is the latest revision

    ...Spark border animation

    Spark('div').event('mouseover', function(e) {
        Spark(e.target).stop();
        Spark(e.target).animate({borderBottomWidth: 10}, 200);
    }).event('mouseout', function ...