mflip Sponsor Flip Wall With jQuery & CSS, &Yii

  1. Resources
  2. Usage

This is a wrapper for Sponsor Flip Wall With jQuery & CSS.



Extract the zip file under extensions folder.

Just pass the array of items to the widget, then that's it! The array should contain:

1) PNG filename (without the .png extension)

2) Description of the item

3) Hyperlink for the item

4) (Optional) Title for the item (if different from the default title)

  • Example:

Download the sample PNGs zip file ( so you can appreciate this example better, and then extract the images under extensions/mflip/assets/img/sponsors/ folder. Then in your view file:

$sponsors = array(
	array('facebook','The biggest social network in the world.','','facebook title'),   //this has custom title
	array('adobe','The leading software developer targeted at web designers and developers.',''),
	array('microsoft','One of the top software companies of the world.','','microsoft title'), //this has custom title
	array('sony','A global multibillion electronics and entertainment company ',''),
	array('dell','One of the biggest computer developers and assemblers.',''),
	array('ebay','The biggest online auction and shopping websites.',''),
	array('digg','One of the most popular web 2.0 social networks.',''),
	array('google','The company that redefined web search.',''),
	array('ea','The biggest computer game manufacturer.',''),
	array('mysql','The most popular open source database engine.',''),
	array('hp','One of the biggest computer manufacturers.',''),
	array('yahoo','The most popular network of social media portals and services.',''),
	array('cisco','The biggest networking and communications technology manufacturer.',''),
	array('vimeo','A popular video-centric social networking site.',''),
	array('canon','Imaging and optical technology manufacturer.','')
    'sponsors'=>$sponsors,    //the items to be flipped
    'single'=>false,          //flip one item at a time;default is false
    'shuffle'=>true,          //shuffle the array?
    'title'=>'Click to flip', //default title for all items. Will be bypassed if the 4th item of sponsors array is present
    'openNew'=>true           //opens the link in new tab (or window)
17 1
2 230 downloads
Yii Version: 1.1
License: MIT
Category: User Interface
Developed by: morcen
Created on: Jun 6, 2011
Last updated: 12 years ago


show all

Related Extensions