Ultimate Grid Pro (flexible vertical type) documentation

Created: 07/07/2018 - Version 1.0
By:© FWDV (Future Web Design)
Email: tibi_diablo@yahoo.com

Thank you for purchasing our script. If you have any questions that are beyond the scope of this help file, please feel free to email via our email. Thanks so much!


Table of Contents

  1. IMPORTANT NOTES - read this before anything else
  2. Preparing thumbnails and images
  3. Ultimate Grid Pro installation
  4. Constructor parameters
  5. Setup categories / playlists
  6. Presets
  7. Setup Facebook app
  8. API specifications
  9. Sources and Credits

A) IMPORTANT NOTES - make sure you read this! - top

Because there are differences between the grid types we decided to create a different documentation file for each grid type this way it will be easier to understand how to configure and set up the grid.

Please note that the UGP installation and configuration is not complicated but because it has a lot of customizable settings it might seem complicated, please go through the entire documentation before trying to install it into your own page. Basically what it must be done is to copy some html and js code from the examples we provided and paste it into your own html page and of course add your own content.

If you want to use video or audio only mp4 or mp3 files are required. It will work in all browsers on desktop machines or mobile devices, this is extremely important because there is no need to create multiple audio or video formats for browsers that don't support mp4 or mp3, also please note that the mp4 and mp3 video aud audio formats are recommended and used by all major browsers distributors like Google, Microsoft, Apple, Mozilla etc.!

The server is character case sensitive so make sure that the UGP settings are identical to those from the provided examples.

The css classes for the menu and thumbnail presets can be found in the global.css file inside the content folder.

The UGP skin (buttons and icons) is constructed from png images. We have included psd files just in case you want to modify the skin. If you want a different skin the .png files must be modified. We have a great designer in our team so if you need a custom skin please contact us!

The presets for the flexible vertical type are starting with fv- and end with a number or text followed by .html

All presets can load and display the available media sharing sources.

B) Preparing thumbnails and images - top

Before you start using the grid you need to set the thumbnailMaxHeight property in the grid constructor, it represents the height of all the thumbnails.

For this grid type the thumbnail images sizes don't matter, they can be any value but for the grid to be optimized it's a good idea to save them with a height equal to thumbnailMaxHeight. Their widths can have any values because the grid will automatically resize and adjust them to fit equally on all the rows of the grid.

C) Ultimate Grid Pro installation - top

In the download files there is a start folder and in this folder there are example html files. You can use one of them to copy and paste the required html and js code with all the presets. In this tutorial we have used the fv-1.html file.

This is how UGP is installed in a HTML page, please read the Constructor parameters section, it will explain all settings in details.

D) Constructor parameters - top

Please open fv-1.html with a text editor as reference. These parameters represents the possible setting of UGP, they are all described below. Please note that each preset has some differences under the Preset section, this is explained in detail for each preset in the Presets section.

		

//main settings //menu settings //thimbnail settings //load more button settings //preset settings //ligtbox settings

E) Setup categories / playlists - top

In this section is explained how to setup a playlist. UGP requires a playlist that contains the images paths, html content, buttons, etc, the playlist is of HTML format and is added directly in the html page inside the body element. It is possible to load and display playlist from media sharing websites like Facebook, Soundcloud, Flickr and Youtube, how to do this is explained below.

Each preset can have some variation in the way the playlist item content is formatted so based on the preset make sure you check the playlist item fromat in the Presets section

NORMAL HTML PLAYLIST:

Please open with a text editor the fv-1.html file as reference.

As it can be seen the playlist is created using ul and li html elements with some custom attributes, what is important to note is that the playlist must have an unique id, this id is required by UGP and it must be set to the playlistId property like this playlistId:"myPlaylist".

There are 9 content types (image, video, audio, youtube, vimeo, flash, google maps, iframe, link) that the UGP lightbox can display and they are explained in detail below in this section. To add / remove items in the playlist add or remove items depending of the type that you need. Below is a representation of a playlist with a single category. To add a category / playlist add inside the main playlist div an ul element with the attribute data-category-name. To remove a category delete the ul element with the attribute data-category-name and it's content that is not required any more.

			

One important aspect of this grid type that it can also have HTML / text content under the thumbnail, this is done by adding another HTML code inside the playlist item, example below.

			
		
		
  • custom alt
    IMAGE DISPLAY
    IMAGE DISPLAY

    Ultimate Grid Pro

    Multimedia grid for your website that can only be found on sale here, it runs on all major browsers and mobile devices like iPhone, iPad, IOS, Android and Windows8.

  • Image type:

    The data-url attribute represents the image that will open in the lightbox when the thumbnail button or thumbnail is clicked based on the preset.

    The img element represents the thumbnail image path.

    The div with the attribute data-thumbnail-content1 represents the HTML content that is showed inside the thumbnail or below the thumbnail based on the preset. If you don't need one remove it.

    The div with the attribute data-lightbox-desc represents the lightbox image description, if you don't need one remove it.

    		
  • custom alt
    IMAGE DISPLAY

    Ultimate Grid Pro

    Multimedia grid for your website that can only be found on sale here, it runs on all major browsers and mobile devices like iPhone, iPad, IOS, Android and Windows8.



  • Video (mp4) type:

    The data-url attribute represents the video path that will be opened in the lightbox, UGP supports two video paths, one for desktop and one for mobile, this is useful if you want a large hd video for desktop and a smaller video version for mobile, the paths are separated by comma, the mobile video path is optional.

    The data-poster-path attribute represents the poster path, UGP supports two poster paths, one for desktop and one for mobile, the paths are separated by comma, the mobile poster path is optional.

    The data-width and data-height represents the maximum video width and height.

    The img element represents the thumbnail image path.

    The div with the attribute data-thumbnail-content1 represents the HTML content that is showed inside the thumbnail or below the thumbnail based on the preset. If you don't need one remove it.

    The div with the attribute data-lightbox-desc represents the lightbox image description, if you don't need one remove it.

    			
  • test2
    VIDEO DISPLAY (mp4)

    Revolution Lightbox, think outside the lightbox!

    Full blown multimedia responsive lightbox included, it runs on all major browsers and mobile devices like iPhone, iPad, iOS, Android and Windows8. It has support for image, video (mp4), audio (mp3), Vimeo, YouTube, iFrame, Google maps and flash.



  • Audio (mp3) type:

    The data-url represents the mp3 path.

    The img element represents the thumbnail image path.

    The div with the attribute data-thumbnail-content1 represents the HTML content that is showed inside the thumbnail or below the thumbnail based on the preset. If you don't need one remove it.

    The div with the attribute data-lightbox-desc represents the lightbox image description, if you don't need one remove it.

    			
  • test3
    AUDIO DISPLAY (mp3)

    Support for unlimited categories!



  • Youtube type:

    The data-url attribute represents the youtube video url that will be opened in the lightbox.

    The data-width and data-height represents the maximum video width and height.

    The img element represents the thumbnail image path.

    The div with the attribute data-thumbnail-content1 represents the HTML content that is showed inside the thumbnail or below the thumbnail based on the preset. If you don't need one remove it.

    The div with the attribute data-lightbox-desc represents the lightbox image description, if you don't need one remove it.

    The data-thumbnail-path attribute represents the thumbnail path, the data-url attribute represents the youtube video url. The data-width and data-height represents the maximum video width and height. If you don't need any description leave the inner html empty in this case remove the inner div.

    			
  • custom alt
    YOUTUBE DISPLAY

    Customizable thumbnails action

    When a thumbnail is pressed you can choose to do nothing, display multimedia content using our great revolution lightbox, or to open a new webpage. The lightbox has support for image, video (mp4), audio (mp3), Vimeo, YouTube, iFrame, Google maps and flash.



  • Vimeo type:

    The data-url attribute represents the vimeo video url that will be opened in the lightbox.

    The data-width and data-height represents the maximum video width and height.

    The img element represents the thumbnail image path.

    The div with the attribute data-thumbnail-content1 represents the HTML content that is showed inside the thumbnail or below the thumbnail based on the preset. If you don't need one remove it.

    The div with the attribute data-lightbox-desc represents the lightbox image description, if you don't need one remove it.

    			
  • test3
    VIMEO DISPLAY

    Outstanding performance using OOP code and CSS3

    High performance using OOP code and the latest CSS3 techniques, ready for mobile with swipe and pinch support, very flexible, easy to setup and extremely customizable.



  • Flash type:

    The data-url attribute represents the flash swf path that will be opened in the lightbox.

    The data-width and data-height represents the maximum item width and height.

    The img element represents the thumbnail image path.

    The div with the attribute data-thumbnail-content1 represents the HTML content that is showed inside the thumbnail or below the thumbnail based on the preset. If you don't need one remove it.

    The div with the attribute data-lightbox-desc represents the lightbox image description, if you don't need one remove it.
    			
  • custom alt
    FLASH DISPLAY (swf)

    Support for four two types

    Support for four two types, vertical and horizontal.



  • Google maps type:

    The data-url attribute represents the google maps path that will be opened in the lightbox.

    The data-width and data-height represents the maximum item width and height.

    The img element represents the thumbnail image path.

    The div with the attribute data-thumbnail-content1 represents the HTML content that is showed inside the thumbnail or below the thumbnail based on the preset. If you don't need one remove it.

    The div with the attribute data-lightbox-desc represents the lightbox image description, if you don't need one remove it.
    			
  • custom alt
    GOOGLE MAPS DISPLAY

    Customizable thumbnails action

    When a thumbnail is pressed you can choose to do nothing, display multimedia content using our great revolution lightbox, or to open a new webpage. The lightbox has support for image, video (mp4), audio (mp3), Vimeo, YouTube, iFrame, Google maps and flash.



  • Iframe type:

    The data-url attribute represents the web page that will be opened in the lightbox.

    The data-width and data-height represents the maximum item width and height.

    The img element represents the thumbnail image path.

    The div with the attribute data-thumbnail-content1 represents the HTML content that is showed inside the thumbnail or below the thumbnail based on the preset. If you don't need one remove it.

    The div with the attribute data-lightbox-desc represents the lightbox image description, if you don't need one remove it.
    			
  • custom alt
    IFRAME DISPLAY

    Optional drop down categories menu

    Optional drop down categories menu, this categories selector can be positioned on the left or right side of the grid canvas.



  • Link type:

    The data-url attribute represents the url of the web page to open when the thumbnail is clicked, the data-target attribute represents the url target (_self or _blank).

    The img element represents the thumbnail image path.

    The div with the attribute data-thumbnail-content1 represents the HTML content that is showed inside the thumbnail or below the thumbnail based on the preset. If you don't need one remove it.

    			
  • custom alt
    EXTERNAL LINK


  • YOUTUBE PLAYLISTS:

    Please open with a text editor the fv-youtube.html file as reference.

    UGP can load and display one or more playlists from youtube. Below is a representation of three playlist. Inside each ul element there is an attribute data-category-name that represents the playlist name, this will appear in the menu buttons and an attribute data-youtube-playlist-url that represents the playlist url. To remove a category delete the ul element with the attribute data-category-name and it's content that is not required any more.

    For youtube paylist is important to note that at the end of the UGP contructor there is another section with some specific parameters for youtube that are self explanatory. One important property is showAsExtraText that will add the info over the thumbnail or below the thumbnail based on it's settings (yes or no).

    		


    SOUNDCLOUD PLAYLISTS:

    Please open with a text editor the fv-soundcloud.html file as reference.

    UGP can load and display one or more playlists from Soundcloud. Below is a representation of three playlist. Inside each ul element there is an attribute data-category-name that represents the playlist name, this will appear in the menu buttons and an attribute data-soundcloud-url that represents the playlist url. To remove a category delete the ul element with the attribute data-category-name and it's content that is not required any more.

    For soundcloud paylists is important to note that at the end of the UGP contructor there is another section with some specific parameters for soundcloud that are self explanatory. One important property is showAsExtraText that will add the info over the thumbnail or below the thumbnail based on it's settings (yes or no).

    		


    PINTEREST BOARDS:

    Please open with a text editor the fv-pinterest.html file as reference.

    UGP can load and display one or more boards from Pinterest. Below is a representation of three boards. Inside each ul element there is an attribute data-category-name that represents the playlist name, this will appear in the menu buttons and an attribute data-pintrest-board-url that represents the board url. To remove a board delete the ul element with the attribute data-category-name and it's content that is not required any more.

    For Pinterest paylists is important to note that at the end of the UGP contructor there is another section with some specific parameters for Pinterest that are self explanatory. One important property is showAsExtraText that will add the info over the thumbnail or below the thumbnail based on it's settings (yes or no).

    		


    FLICKR ALBUMS:

    Please open with a text editor the fv-flickr.html file as reference.

    UGP can load and display one or more albums from Flickr. Below is a representation of three albums. Inside each ul element there is an attribute data-category-name that represents the playlist name, this will appear in the menu buttons and an attribute data-flickr-album-url that represents the album url. To remove an album delete the ul element with the attribute data-category-name and it's content that is not required any more.

    For flickr albums is important to note that at the end of the UGP contructor there is another section with some specific parameters for flickr that are self explanatory. One important property is showAsExtraText that will add the info over the thumbnail or below the thumbnail based on it's settings (yes or no).

    		


    FACEBOOK ALBUMS:

    Please open with a text editor the fv-facebook.html file as reference.

    UGP can load and display one or more albums from Facebook. Below is a representation of three albums. Inside each ul element there is an attribute data-category-name that represents the playlist name, this will appear in the menu buttons and an attribute data-facebook-album-url that represents the album url. To remove an album delete the ul element with the attribute data-category-name and it's content that is not required any more.

    For Facebook paylists is important to note that at the end of the UGP contructor there is another section with some specific parameters for Facebook that are self explanatory. One important property is showAsExtraText that will add the info over the thumbnail or below the thumbnail based on it's settings (yes or no).

    		

    Unfortunately loading Facebook albums is a bit more complicated, Facebook requires an access token that can only be retrived using their API using an app, so far so good but they made it so complicated then even for a developer it's really difficult to figure this out, they require the app to be reviewed and to send them print screens of the code and explanation of what it is doing plus there are users that have apps submited without a response it might take up to 3 months to get an answer. This is crazy and frankly we don't understand why they chose to make it so difficult to load a simple public album, however there is a workaround to get the access token that is explained here , we have used this tutorial to get an access token that never expires, please note that you have to create an app, how to do this is explained in the Setup Facebook app. Once the access token is retrived it must be added in the facebook_access_token.txt inside the content folder.



    F) Presets - top

    In this section each preset is explained. One thing to note is that each thumbnail can have a different border or overlay color this is done by adding some extra attributes for a playlist item, below is an example that shows how to add an entry in the playlist and set the thumbnail border and overlay color to a custom color, doing so will overwrite the default colors.

    			
  • custom alt

    ULTIMATE GRID PRO

    Complete multimedia grid for your website that can only be fond on sale here, it runs on all major browsers and mobile devices like iPhone, iPad, IOS, Android and Windows8.

    Ultimate Grid Pro

    Multimedia grid for your website that can only be found on sale here, it runs on all major browsers and mobile devices like iPhone, iPad, IOS, Android and Windows8.

  • Presets ONE and TWO

    Please open with a text editor fv-1 and fv-2 files as reference.

    These presets allow to add text / HTML content and /or buttons to thumbnails and animate each letter in a chain order, all available parameters are explained below.

    Presets THREE, FOUR and FIVE

    Please open with a text editor fv-3, fv-4 or fv-5 files as reference.

    These presets allow to add text / HTML or buttons content and /or buttons and show them with an animation scale, also this pressets have extra HTML / text content under the thumbnails. All available parameters are explained below.

    Presets SIX and SEVEN

    Please open with a text editor fv-3 and fv-4 files as reference.

    These presets allow to add text / HTML content and / or buttons to thumbnails and reveal it with a curtain animation, all available parameters are explained below.

    Presets EIGHT and NINE

    Please open with a text editor fv-8 and fv-9 files as reference.

    These presets allow to add text / HTML content and / or buttons to thumbnails and animate show / hide them based on the entry angle, all available parameters are explained below.

    Presets TEN, ELEVEN and TWELVE

    Please open with a text editor fv-10, fv-11 or fv-12 files as reference.

    These presets allow to add text / HTML content and / or buttons to thumbnails and animate show / hide them based on the entry angle, also this pressets have extra HTML / text content under the thumbnails. All available parameters are explained below.

    Presets THIRTEEN and FOURTEEN

    Please open with a text editor fv-13 and fv-14 files as reference.

    These presets allow to add text / HTML content and / or buttons to thumbnails and animate show / hide them with a 3D turn effect, all available parameters are explained below.

    Presets FIFTEEN and SIXTEEN

    Please open with a text editor fv-14 and fv-15 files as reference.

    These presets allow to add text / HTML content and / or buttons to thumbnails and animate show / hide them with a scale and opacity animation, all available parameters are explained below.

    Presets SEVENTEEN, EIGHTEEN and NINETEEN

    Please open with a text editor fv-17, fv-18 or fv-19 files as reference.

    These presets allow to add text / HTML content and / or buttons to thumbnails and animate show / hide them with a scale and opacity animation, also this pressets have extra HTML / text content under the thumbnails. All available parameters are explained below.

    Presets TENTY and TWENTY-THREE

    Please open with a text editor fv-20 or fv-23 files as reference.

    These presets allow to add text / HTML content to thumbnails and display it by default and hide it when the thumbnail is selected, all available parameters are explained below.

    Preset TWENTY-ONE

    Please open with a text editor fv-21 as reference.

    This preset allows to add one or two blocks of html content / text, the first one is always visible and the second becomes visible only when the thumbnail is hovered / selected, also it is possible to have only one block of text / HTML content that is always visible, all available parameters are explained below.

    Preset TWENTY-TWO

    Please open with a text editor fv-22 as reference.

    This preset allows to add text / HTML content and buttons to thumbnails that are revealed when the thumbnail is hovered / selected..

    Preset TWENTY-FOUR

    Please open with a text editor fv-24 as reference.

    This preset allows to add text / HTML content and buttons to thumbnails that are revealed when the thumbnail is hovered / selected based on the entry angle.

    Preset TWENTY-FIVE

    Please open with a text editor fv-25 as reference.

    This preset allows to add text / HTML content and buttons to thumbnails that are revealed when the thumbnail is hovered / selected with a simple animation.



    G) Setup Facebook app (required for Facebook share or loading Facebook albums inside the grid) - top

    In order to display a Facebook album a Facebook app key is required, this key is obtained by setting up a Facebook app as follows:

    One important thing to note is that the Ultimate Grid Pro domain name must be identical with the url passed to the Facebook app, for example if the Ultimate Grid Pro domain name is http://www.some-domain.com and the Facebook app is configured with the url/domain name http://some-domain.com it will not work, both url / domain names must be exactly the same.

    H) API specifications - top

    Inside the start file there is a HTML file called UGPAPI-example.html, open it with a text editor as reference. Below is a table with all API events and methods.

    Methods:

    Name Method Description

    updateCategory

    updateCategory([categoryid:int]):void Updates the category based on the categoryId, the counting starts from 0.

    getCategoryName

    getCategoryName():Array Returns an array with all categories names.

    getCategoryId

    getCategoryId():Array Returns an array with the selected categories id or id's.

    Event listeners:

    Event Prefix Description
    ready FWDVUGP.READY Dispatched when UGP API is ready to be used.
    categoryUpdate FWDVUGP.CATEGORY_UPDATE Dispatched when UGP a category is changed.
    showStart FWDVUGP.LIGHTBOX_SHOW_START Dispatched when UGP lightbox starts to show.
    showComplete FWDVUGP.LIGHTBOX_SHOW_COMPLETE Dispatched when UGP show animation is complete.
    hideStart FWDVUGP.LIGHTBOX_HIDE_START Dispatched when UGP lightbox starts to hide.
    hideComplete FWDVUGP.LIGHTBOX_HIDE_COMPLETE Dispatched when UGP hide animation is complete.

    I) Sources and Credits - top

    This plugin was made by Tibi from FWDV (FWDVesign) Future Web Design, for more information and support contact us at tibi_diablo@yahoo.com

    Once again, thank you so much for purchasing this item. As I said at the beginning, I'd be glad to help you if you have any questions regarding this Ultimate Grid Pro and I'll do my best to assist.

    FWDVesign

    Go To Table of Contents