Browser filled Jquery Slideshow now possible in Muse with Require.js: See it in Action
i have been able integrate jquery slideshow plugin available on web muse using require-jquery.js muse. done our systems architect happens brother (http://ng.linkedin.com/in/kayodeodeyemi/), kindly give credit if intend use solution in muse project.
see demo: http://slideshowmuse.vivovecompany.com/index.html
in example used back-stretch slideshow plugin. can download here: http://srobbin.com/jquery-plugins/backstretch/
files required example:
require-jquery.js (http://requirejs.org/docs/jquery.html) copied , placed inside muse generated scripts folder
main.js (this code triggers require.js , states hierrachy of js execute. in example jquery executed... then... jquery.backstretch... imgfx): see code below:
require(["jquery","jquery.backstretch","imgfx"], function($) {
});
jquery.backstretch.js(this backstretch website)
place code in muse head section:
<script data-main="scripts/main.js" src="scripts/require-jquery.js"></script>
note: must ensure necessary script uploaded server , resides in script folder require.js can locate them. can place require.js anywhere want (like muse assets folder), require further setup.
so let me know if interested sending me private mail. send muse file. done 100% within muse,except scripts mentioned above. dont need editing muse generated html codes,not necessary using approach.
i want acknowledge effort of muse development exceptional engineering put muse.
More discussions in Help with using Adobe Muse CC
adobe
Comments
Post a Comment