Solution for some problems – Soluciones
-
<English>
First, congratulations for this plugin, helped me a lot.
Second, sorry for my English, I’m still studying.
The first problem we find is that for the plugin to work properly, we have to wrap pictures tagged with<a class="gallery_colorbox cboxElement" href=" your image "><img src=”thumb”/></ a>
, that should fix the problem.
Wait, still not working.
Ok, then the problem is your version of JQuery.
This plugin uses function .live () to stop the instance href and use the content of this (our image) in the zoom. If you are using a current version of jQuery, you should replace it by the function .on()
Specifically in:
Content/plugins/image-zoom/js/js_front.js
Change this:
..G.click()))}),a("."+g,b).live("click",function(a){a.which>1||..
By this:
..G.click()))}),a("."+g,b).on("click",function(a){a.which>1||..
I hope to solve the problem
</English><Espa?ol>
Primero, felicitaciones por este plugin, me ayudo bastante.El primer problema que encontraremos es que para que el plugin funcione correctamente, tenemos que envolver las imágenes con una etiqueta
<a class="gallery_colorbox cboxElement" href=" tu imagen " ></a>
, eso debería solucionar el problema.Un momento, sigue sin funcionar.
Ok, entonces el problema es tu versión de JQuery.
este plugin usa la propiedad .live() para detener la instancia href y usar el contenido de este (nuestra imagen) para crear el zoom. si usas una versión actual de JQuery, es recomendable remplazarla .live() por la funcion .on().
específicamente en:
content/plugins/image-zoom/js/js_front.jscambiar esto:
..G.click()))}),a("."+g,b).live("click",function(a){a.which>1||..
por esto:
..G.click()))}),a("."+g,b).on("click",function(a){a.which>1||..
Espero resuelva el problema
</Espa?ol>
- The topic ‘Solution for some problems – Soluciones’ is closed to new replies.