Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (23 sloc) 1.09 kb
module Refinery
module Portfolio
include ActiveSupport::Configurable
config_accessor :items_per_page, :cover_image_thumb_size, :skitter_options,
:display_item_text, :display_gallery_text
self.items_per_page = 20
self.cover_image_thumb_size = '300x200'
# Be sure to see http://thiagosf.net/projects/jquery/skitter/ for terrible documentation.
self.skitter_options = {
:interval => 5000, # Duration of slides in ms
:animation => :circles, # Animation to use
:numbers => true, # Use number-based nav
:dots => false, # Use dot-based nav
:navigation => true, # Show navigation
:hideTools => false, # Hide tools (?)
:fullscreen => false, # Use fullscreen (no support, caveat spector)
:numbers_align => :center # Nav placement (left, right, center)
# :structure => "" # Use this to override the HTML if utterly necessary.
}
self.display_item_text = true
self.display_gallery_text = true
end
end
Jump to Line
Something went wrong with that request. Please try again.