How can I add a block of content to the java script code (nanoGallery) to make it work?
{literal}
<__script__>
$(document).ready(function () {
//Sample4 - Flickr
jQuery("#nanoGallery4").nanoGallery({userID:'my_userID',photoset:'{content block='nanoGallery' wysiwyg='false' oneline='true' size='150' label='nanoGallery'}',kind:'flickr',thumbnailWidth:300,thumbnailHeight:'200', //110,
viewerDisplayLogo:false,
locationHash:false,
thumbnailDisplayInterval:0,
thumbnailDisplayTransition:true,
thumbnailHoverEffect:[{'name':'imageScale150','duration':300},{'name':'borderDarker'}],
thumbnailLabel:{display:true,position:'onBottom',descriptionMaxLength:50},
theme:'clean',
colorScheme:'lightBackground',
paginationMaxLinesPerPage: 7,
});
});
</__script>
{/literal}
CMS Made Simple and nanoGallery
Re: CMS Made Simple and nanoGallery
Marek wrote:How can I add a block of content to the java script code (nanoGallery) to make it work?
{literal}
<__script__>
$(document).ready(function () {
//Sample4 - Flickr
jQuery("#nanoGallery4").nanoGallery({userID:'my_userID',photoset:'{/literal}{content block='nanoGallery' wysiwyg='false' oneline='true' size='150' label='nanoGallery'}{literal}',kind:'flickr',thumbnailWidth:300,thumbnailHeight:'200', //110,
viewerDisplayLogo:false,
locationHash:false,
thumbnailDisplayInterval:0,
thumbnailDisplayTransition:true,
thumbnailHoverEffect:[{'name':'imageScale150','duration':300},{'name':'borderDarker'}],
thumbnailLabel:{display:true,position:'onBottom',descriptionMaxLength:50},
theme:'clean',
colorScheme:'lightBackground',
paginationMaxLinesPerPage: 7,
});
});
</__script>
{/literal}
[Solved] CMS Made Simple and nanoGallery
Thank you. I tried to enter the code like that, but ... It turned out
that I had a mistake in the page template. Thank you again for your
help. It works.
that I had a mistake in the page template. Thank you again for your
help. It works.