Yii 1.1: peelcorner

Flip corner advertisement widget
8 followers

peelcorner is a Flip corner advertisement widget based on http://www.marcofolio.net/webdesign/create_a_peeling_corner_on_your_website.html

See demo here: http://demo.marcofolio.net/create_a_peeling_corner_on_your_website/

Requirements

Yii 1.1.x

Installation

  • Extract the release file under protected/extensions

Usage

<?php
    $this->widget('ext.peelcorner.PeelCorner',array(
        // The page to open when the peel is clicked (absolute format) 
        'url' => 'http://google.fr/',
        // 650x650 px image, will be shown when a user mouse-overs the peel
        'big_image' => '/images/large.jpg',
        // 100x100 px image, used when the peeling effect is inactive  
        'small_image' => '/images/small.jpg',
    ));
?>

Be the first person to leave a comment

Please to leave your comment.

Create extension
Downloads