UI AccessAccess this extension through HTML5 Image Gallery button on the FD24 category of the Insert Panel (Window > Insert). It is also accessible by selecting Insert > FlashDevelopment24 > HTML5 Image Gallery. Inserting objectOpen Dreamweaver, open document in which you want to place gallery. Image Gallery can be inserted in page through the menu option "Insert -> FlashDevelopment24 -> HTML5 Image Gallery" or the Insert Bar. After you choose "HTML5 Image Gallery" you will see a dialog window where you have to define the destination folder. There (in this folder) will be created folder 'gallery_files' and inside this folder will be placed files: jquery.image_gallery.js, image_gallery.css, gallery.xml and images. Links to files jquery.image_gallery.js and image_gallery.css will be automatically added into tag <head>: <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> Take a note that libraries: jQuery and jQuery-UI, are connecting from the Google Libraries API resource. Also in tag <head> will be automatically added script, which is initializing the component: <script type="text/javascript">
$(document).ready(function() {
jQuery("#JQImageGallery1").fdImageGallery({sourceURL:"gallery_files/gallery.xml",
keyboardEnabled:true,
backgroundPopupColor:"#000000",
backgroundPopupOpacity:0.5,
backgroundFullscreenColor:"#FFFFFF",
buttonListEnbled:true,
buttonListHide:true,
buttonListMargin:5,
frameShadowEnabled:true,
slideWidth:520,
slideHeight:330,
slideScaleMode:"fit",
slideDuration:3000,
slideAutoplay:false,
slidePauseOnHover:true,
timerPosition:"top",
timerVisible:true,
descriptionAnimationSpeed:500,
descriptionAnimationEasing:"easeOutQuad",
controlsBgColorTop:"#555555",
controlsBgColorBottom:"#202020",
scrollBoxWidth:"auto",
thumbWidth:100,
thumbHeight:65,
thumbScaleMode:"fix",
thumbServerScipt:"",
thumbCaptionVisible:true,
categoriesVisible:true,
categoriesFontColor:"#505050",
categoriesFontHighlight:"#FFFFFF"});
jQuery("#JQImageGallery1").data("fdImageGallery").loadGallery(0);
});
</script>
In the line jQuery("#JQImageGallery1").data("fdImageGallery").loadGallery(0); as a parameter, you can set the number of category, which will be opened after gallery loading. Numeration starts from "0". HTML5 Image Gallery is placed in a special tag <div id="JQImageGallery1" class="JQImageGallery">...</div>. More information about gallery structure you can find in section 'Structure of the component'. That’s all! In the design view of your web page you will see new HTML5 Image Gallery. |