Suggestions (Performance, and Autoplay)

Permalink Browser Info Environment
I have noticed better performance when following amending block with the following suggestion in the documentation:

on_start()
Fires automatically when a block is interacted with. If you're thinking of putting something in the block's __construct() method, use on_start() instead. It is run only when necessary and is less likely to be a performance drain.

Also adding in slideshow functionality is as simple as creating a template that runs the following function during the onImage event:
function autoNext() {
         if (typeof(autoPlay_timer) == 'number') { clearTimeout(autoPlay_timer); }
         autoPlay_timer = setTimeout('$.asmillerGalleria.next();', 5000);
      }

Type: Discussion
Status: Archived
iconicschema
View Replies:
ecomatt replied on at Permalink Reply
ecomatt
can you explain a bit more how i can get this to make the galleria auto play?

Thanks
stevetdent replied on at Permalink Reply
stevetdent
I put his code snippet in the galleria.js file, right after this:
// fire the onImage function to customize the loaded image's features
      $.asmillerGalleria.onImage(_img,_wrapper.siblings('.asmillerGalleria_caption'),_asmillerGalleria_thumb);


That worked for me. Now if I could just get the fades to be smoother, I'd have my slideshow all set :\
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.