'position' => 'absolute', 'top' => '0px', 'left' => '0px', 'z-index' => self.z,
'background-image' => "url(#{self.picture.url})",
'background-repeat' => self.repeat_text,
- 'background-position' => "#{self.x}px #{self.attr_y}px"
+ 'background-position' => "#{self.x}px #{self.y}px"
}
self.merge_opacity(r, opacity) if spot and spot != self
r
@@repeat_texts[self.repeat]
end
- def self.public_list_where
+ def self.public_list_where list
'panels.publish > 0'
end