<?php

/*------------------------------------------------------------------------
# color.php - Pinterest Pins Display Module
# ------------------------------------------------------------------------
# author    Sabuj Kundu 
# copyright Copyright (C) 2010-2012 codeboxr.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://codeboxr.com
# Technical Support:  Forum - http://codeboxr.com/product/vertical-floating-video-showcase-for-joomla
# Plugin type: System
-------------------------------------------------------------------------*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
class JElementcolor extends JElement
{
	/**
	 * Element name
	 *
	 * @access	protected
	 * @var		string
	 */
	var	$_name = 'color';        
        function fetchElement( $name, $value, &$node, $control_name ) {            
            if (!defined ('CB_VERTICALSOCIALSHARE')) {
                define ('CB_VERTICALSOCIALSHARE', 1);
                $jspath = JURI::root()."plugins/system/fvvideoshowcase/jscolor15/";                                
                JHTML::script('jscolor.js', $jspath);
            }                         
            $html_colorinput = '<input  name="'.$control_name.'['.$name.']" type="text"    class="inputbox color" id="'.$control_name.$name.'"    value="'.$value.'" size="10" /> 6 digits hex color code, no hash(#)';
            return $html_colorinput;                            
  
	}//end function fectchElement
        
}//end class
?>
