[ class tree: plugins ] [ index: plugins ] [ all elements ]

Class: colorbox

Source Location: /zp-extensions/colorbox_js.php

Class colorbox

Class Overview

Loads Colorbox JS and CSS scripts for selected theme page scripts.

Note that this plugin does not attach Colorbox to any element because there are so many different options and usages. You need to do this in your theme yourself. Visit the colorbox site for information.

The plugin has built in support for 5 example Colorbox themes shown below:

<img src="%WEBPATH%/%ZENFOLDER%/%PLUGIN_FOLDER%/colorbox_js/themes/example1.jpg" /> <img src="%WEBPATH%/%ZENFOLDER%/%PLUGIN_FOLDER%/colorbox_js/themes/example2.jpg" /> <img src="%WEBPATH%/%ZENFOLDER%/%PLUGIN_FOLDER%/colorbox_js/themes/example3.jpg" /> <img src="%WEBPATH%/%ZENFOLDER%/%PLUGIN_FOLDER%/colorbox_js/themes/example4.jpg" /> <img src="%WEBPATH%/%ZENFOLDER%/%PLUGIN_FOLDER%/colorbox_js/themes/example5.jpg" />

If you select custom (within theme) on the plugin option for Colorbox you need to place a folder colorbox containing a colorbox.css file and a folder images within the current theme to override to use a custom Colorbox theme.

Located in /zp-extensions/colorbox_js.php [line 40]



		
				Author(s):
		
  • Stephen Billard (sbillard)
Information Tags:

Methods

[ Top ]
Method Summary
static void   css()  
colorbox   __construct()  
void   getOptionsSupported()  
void   handleOption()  

[ Top ]
Methods
static method css  [line 80]

  static void css( )



[ Top ]
Constructor __construct  [line 42]

  colorbox __construct( )



[ Top ]
getOptionsSupported  [line 47]

  void getOptionsSupported( )



[ Top ]
handleOption  [line 76]

  void handleOption( $option, $currentValue  )

Parameters:
   $option: 
   $currentValue: 


[ Top ]

Documentation generated on Sat, 07 Jun 2014 18:03:20 +0200 by phpDocumentor 1.4.3