Sha256: b4bf4553075f7ecfc3b290279dce6aa6a2ebdb00f8fa5394c0c244cfdbbf4025
Contents?: true
Size: 1.17 KB
Versions: 7
Compression:
Stored size: 1.17 KB
Contents
LightWindowHelper v.1.0 ==================== # Author:: Carlo Bertini (WaYdotNET) # WebSite:: http://blogs.ugidotnet.org/carlitoway # Based on LightBoxHelper # Many thx to Davide D'Agostino (DAddYE) This LightBox Helper is based on the lastest javascript http://www.stickmanlabs.com/lightwindow/ note: this js use Prototype JavaScript framework, version 1.6.0 It's only make an helper, copy the lastest javascripts, css, and images on your public/javascript directory and register the javascript in the AssetTagHelper of rails, so for include the javascript in your page you only can add this (if you havn't yet): <%= javascript_include_tag :defaults %> You must add also the stylesheet so add this on your page head: <%= stylesheet_link_tag 'lightwindow' %> The is very simple for add a LightWindow in your page add this: <%= lightwindow_link_to(name, options = {}, html_options = {}, *parameters_for_method_reference) %> es: <%= lightwindow_link_to( "Click me !", {:action => 'edit', :id => "12/"}, :title => "This is a test!", :author=>"Carlo Bertini", :caption=>"Ruby on rails is beautyfull :D" ) %> Vist my website: http://blogs.ugidotnet.org/carlitoway
Version data entries
7 entries across 7 versions & 1 rubygems