fluid-infusion
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Rails plugin for Fluid Infusion Framework
Fluid-infusion
==============

Rails plugin for the {Fluid Infusion Framework}[http://fluidproject.org/products/infusion/], which provides a number of useful components[http://wiki.fluidproject.org/display/fluid/Components].  Initial implementation focuses on the Uploader[http://wiki.fluidproject.org/display/fluid/Uploader] component.

If you want to push this code along, {get involved}[http://wiki.fluidproject.org/display/fluid/Get+Involved].

Usage
=====

In its simplest form, this plugin makes it simple to include an up-to-date copy of the fluid infusion framework code into your views.

You can include the files manually using the ActionView javascript_include_tag and stylesheet_link_tag helper methods

  javascript_include_tag '../infusion/InfusionAll.js', :cache=>true, :plugin=>"fluid-infusion"
  
  stylesheet_link_tag '../infusion/framework/fss/css/fss-reset.css', '../infusion/framework/fss/css/fss-layout.css', '../infusion/components/uploader/css/Uploader.css', :plugin=>"fluid-infusion"

Alternatively, you can use the plugin's helper methods.

  infusion_javascripts(:inline_edit, :debug=>true) 
  
  infusion_stylesheets(:uploader)


Partials to help you display components
=======================================

Put this into one of your views to display the SWFUpload-based Uploader Component.

<%= render :partial=>"fluid_infusion/uploader" %>
<%= render :partial=>"fluid_infusion/uploader_js" %>


Copyright (c) 2009 MediaShelf, LLC, released under the MIT license

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。