This time I will share jQuery Plugin and tutorial about Responsive Dribbble Gallery Plugin with jQuery – My Dribbble Gallery, hope it will help you in programming stack.
My Dribbble Gallery is a jQuery wrapper around Dribbble API that creates a responsive, well-designed gallery to fetch and display latest shots, likes, followers, projects, buckets, and teams from Dribbble.com.
How to use it:
1. To get started, you first need to make sure my-dribbble-gallery.css
, jQuery library and my-dribbble-gallery.js
are included & loaded correctly.
1 |
< link rel = "stylesheet" href = "src/my-dribbble-gallery.css" > |
2 |
< script src = "//code.jquery.com/jquery-2.1.1.min.js" ></ script > |
3 |
< script src = "src/my-dribbble-gallery.js" ></ script > |
2. Build the html structure for the Dribbble gallery.
02 |
< div class = "bcr_drb_profile" ></ div > |
05 |
< div class = "dribbble bcr_drb_shots" ></ div > |
08 |
< div class = "dribbble bcr_drb_buckets" style = "display:none" ></ div > |
11 |
< div class = "dribbble bcr_drb_projects" style = "display:none" ></ div > |
14 |
< div class = "dribbble bcr_drb_teams" style = "display:none" ></ div > |
17 |
< div class = "dribbble bcr_drb_likes" style = "display:none" ></ div > |
20 |
< div class = "dribbble bcr_drb_followers" style = "display:none" ></ div > |
3. Initialize the plugin and insert your username and your Dribbble App’s Client Access Token into the JavaScript. Click here to register a new App in the Dribbble.com.
2 |
drb_username = 'USERNAME', |
This awesome jQuery plugin is developed by bachors. For more Advanced Usages, please check the demo page or visit the official website.