Javascript

The Javascript files are listed below and are located at StartUp Theme folder inside assets/scripts/static folder. Leave these files alone unless you know exactly what you are doing. If you do need to edit them, please make a copy of them before you try to edit./p>

admin

Here is stored admin scripts.

  • colorpicker.js - colour picker module by Stefan Petre
  • init.js - default admin configuration.
  • layerslider.js - LayerSlider admin UI

extensions

  • mediaqueries.js - additional extension for media queries
  • prettify.js - google prettify extension
  • selectivizr.js - selectivizr 1.0.2 by Keith Clark
  • superfish.js - jQuery menu widget by Joel Birch

generic

  • custom.js - shortcodes and tools

init

  • init.js - main theme configuration
  • init.flex.home.js - portfolio / flex shortcode init

isotope

  • jquery.isotope.js - portfolio animated filtering
  • infinitescroll.js - autoload library
  • init.isotope.works.js - portfolio isotope init

jquery

  • jquery.automore.js - auto more script
  • jquery.cycle.js - cycle script for recent tweets
  • jquery.easing.js - easing script
  • jquery.fitvids.js - fits embedded frame
  • jquery.flexslider.js - flex slider library
  • jquery.gmap.js - google maps library
  • jquery.jcarousel.js - used for recent portfolio items and partners carousel
  • jquery.infinitescroll.min.js - infinite scroll (automore)
  • jquery.lazyload.min.js - lazy load for large images
  • jquery.mobilemenu.js - responsive menu resizer
  • jquery.prettyPhoto.js - prettyphoto popup library
  • jquery.previewoverlay.js - overlay for ".has_more" classes
  • jquery.timeago.js - converts date to human readable from post moment.
  • jquery.touchwipe.min.js - touch navigation for jcarousel

layerslider

  • layerslider.kreaturamedia.jquery.js - layer slider library

shortcodes

  • tabs.min.js - script for shortcoded tabs

twitter

  • twitter.php - recent tweets library
  •                 /**
                     * Twitter Application
                     */
                    Application = {};
                    Application.Tweets = {
                        init: function () {
                            var a = {
                                q: "#envato",
                                rpp: 10, // tweets per request
                                
                                since_id: "123456789" //offset - since tweet id
                            };
                            ...
                    }