| Previous · Next | |
| User | Message |
|
kimd
|
Date: 2/28/2010 3:22 am · Subject: Slideshow for the gallery · Rating: 0
Some of our users complained that it is quite inconvenient to look at photos in the gallery. Of course, there is a slideshow feature. However, I would not call it state-of-the-art. It works, but it is definitely not sexy... After some research I noticed that there is a lot of JS code available on the net. One slideshow particularly simple to use is the TripTracker slideshow. Adding it to the gallery is as simple as adding the following lines of code to the default gallery view template: <script type="text/javascript" src="http://slideshow.triptracker.net/slide.js"></script> Now we only need to replace the link to the slideshow view with <a href="removed)">^International(template url_slideshow,Asset_GalleryAlbum);</a> · and we are done (Note that slideshows will only contain pictures of the current page. But that is a different problem). Alternatively, we could of course try to improve the current slideshow. I noticed, that YUI comes with an overlay widget and that there is an image loader package. Maybe, it is just a few lines to create something similar as the TripTracker slideshow. However, I do not know enough about JS to be able to judge this. Any suggestions? --- (Edited on 2/28/2010 3:22 am [GMT-0600] by kimd) --- |
| Back to Top |
Rate [ | ]
|
|
kimd
|
Date: 2/28/2010 3:25 am · Subject: Re: Slideshow for the gallery · Rating: 0
I just noticed that the href attribute in the <a>-tag was removed by the HTML filter. It was set to "javascript:void(viewer.show(0))". --- (Edited on 2/28/2010 3:25 am [GMT-0600] by kimd) --- --- (Edited on 2/28/2010 3:25 am [GMT-0600] by kimd) --- |
| Back to Top |
Rate [ | ]
|