Desde Orangoo Labs, traigo la versión 3.1 de GreyBox, una de las primeras adaptaciones de LightBox que incorporaban la carga de URL remotas con Ajax. Han mejorado mucho el aspecto y sobretodo pulido la funcionalidad en javascript, dejando un resultado de lo más cuidado.[Descargar]
Aprovechando esta nueva versión he adaptado el plugin GreyBox 1.1 a la nueva versión dando lugar a la version 2.0.
Instalación
- Descomprimir el fichero
- Subir al FTP a la carpeta /wp-content/plugins/ todo el contenido (carpeta greybox y gb_plugin.php)
- Activar desde el menu administrador
- Ir a Opciones >> GreyBox para configurar las opciones del plugin.
Modo de uso
Para usar el plugin hay que seguir unas normas básicas, ya que he pensado que sería interesante poder decidir que enlaces queremos que se vean mediante el plugin y cuales no.
Así que para hacer que esto sea posible he puesto una estructura que se debe seguir para usar el plugin.
<a class=”GB” href=”DIRECCION URL” title=”TITULO” …>TEXTO… </a>
Es obligatorio para conseguir que el plugin funciones correctamente seguir este esquema a la hora de insertar un enlace.
Personalización
Desde el Menu de Administrador >> Opciones >> GreyBox, podremos configurar levemente nuestro plugin. Entre las opciones cabe destacar que podemos seleccionar un tamaño fijo para la ventana que deseamos mostrar, la url de donde se encuentran los fichero de greybox y la posibilidad de aplicar estilos distintos a las entradas que pasen por el plugin, usando la clase GB del CSS.
[Descargar] [Demo] [Version 5.3]
This is the Grey Box version 3.1 I bring from Orangoo Labs, one of the firsts adaptions from LightBox that incorporated the charging of the remotes URLs with Ajax. The appearance and the javascript functionality have been improved and the results have been quite satisfactories.
I’ve seized the new version and i’ve adapted the GreyBox 1.1 plugin to the new version and it becames into the 2.0 version.
Installation
- Unzip the file.
- Upload to FTP folder /wp-content/plugins/ all the content (greybox folder and gb_plugin.php).
- Options >> GreyBox to configure plugin options.
How to use
To use the plugin we’ve to follow some basic rules, cause i’ve thought it could be interesting to decide which links we want to see with the plugin and which ones no.
Then, to do it, we’ve to do it in that way:
<a class="GB" href="URL" title="TITULO" …>TEXTO… </a>
It’s obligatory to follow this outline if you want that the plugin works properly.
Configuration
From Menu de Administrador >> Opciones >> GreyBox we can configure our plugin. We can stand out that we’re able to select a fix size for the window we want to show, the url where we can find the greybox files, and we’re able to apply differents styles to the entries that come in by the plugin, using the GB class from the CSS.
14 comentarios, 9 referencias
+
#