barabba11 / dynamic-slideshowdelay Goto Github PK
View Code? Open in Web Editor NEWDynamic slideshowDelay for Shadowbox (reading file name extension)
Dynamic slideshowDelay for Shadowbox (reading file name extension)
Good morning everyone here! Here's the email I sent to MIchael, I hope the idea may involve other people too :) thank you a lot for your attention!
Recently I implemented shadowbox on my new Joomla site, it was a bit difficult due a set (HTML5 compression) which didn't open JW player but I'm happy I've solved it.
I've some videos and photos to show and I would like to use "slideshowDelay", but it produces the jump to next file even on videos, that has absolutely sense since the script can't understand when the video finish.
I would like really kindly to ask you if it's possible to overcome about this problem, I have an idea:
every time a file is going to be executed (by key pressing, or timer, or shadowbox.js is called), in this exact part of the script, we could introduce a check on the file name who is going to be executed. We may decide for the last 3 chars of the file, if they are all numbers we may use them as time delay for the next file (you may introduce even to end the file with a "-" for enable this feature, to don't create any confusion to the other users who using your script and are not interested to this feature).
In this case we may have the following advantages:
Thank you a lot for your attention, please write me some lines back,
Giovanni
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.