How use spin.js on a image in a item

GK User
Tue Jan 20, 2015 4:37 pm
my code for the moment with responsive image and open popup:

Code: Select all
   <a href="images/pouetpouet.jpg" title="Pouet pouet" class="modal">
              <img src="images/pouetpouet.jpg" alt="Pouet pouet" style="width:250px; height:auto;">            
</a>


Thx for help

Best regards
User avatar
Fresh Boarder

GK User
Wed Jan 21, 2015 7:32 am
From what I know this library is not part of our template, is it?
User avatar
Moderator

GK User
Wed Jan 21, 2015 12:09 pm
the Spin.js is used in polaroid home page of Write template
link : https://demo.gavick.com/joomla25/writer ... e/polaroid
User avatar
Fresh Boarder

GK User
Wed Jan 21, 2015 3:45 pm
Could you please point me to exact location where this file lies in our template/quickstart structure?
User avatar
Moderator

GK User
Wed Jan 21, 2015 4:48 pm
i use LazyLoad with the plugin : http://joomla-extensions.kubik-rubik.de ... a/joomla-3

He work and it's free.

add the code = class="lazy"
My new code :
Code: Select all
<a href="images/pouetpouet.jpg" title="Pouet pouet" class="modal">
              <img src="images/pouetpouet.jpg" class="lazy"  alt="Pouet pouet" style="width:250px; height:auto;">   

Thx
User avatar
Fresh Boarder

GK User
Wed Jan 21, 2015 9:14 pm
I still don't get this spin.js thing - this is no part of our template afaik.
Either case - from what you write youwere able to do what you have needed?
User avatar
Moderator

GK User
Thu Jan 22, 2015 9:15 am
It is well used by the template. It's okay I used another resource.

Link: http://www.jque.re/plugins/misc/spin.js/
Write template (polaroid page)

My website: http://www.cafeisme.com
User avatar
Fresh Boarder

GK User
Fri Jan 23, 2015 5:36 pm
If you say it is - please post exact location where this file lies within quickstart or template itself.
User avatar
Moderator


cron