WaYdotNET Web Blogs

Il blog di Carlo Bertini e qualcosa di .NET
posts - 57, comments - 2796, trackbacks - 925

My Links

News

Tag Cloud

Article Categories

Archives

Post Categories

Image Galleries

ASP.NET

Caxxate

[rails] LightWindowHelper [plugin helper]

Visto che per colpa di Davide D'Agostino (DAddYE) mi sono avvicinato a Rails (http://rubyonrails.org/) e sto cercando di creare per l'azienda dove lavoro, una piccola applicazione web per uso interno, ho deciso di farla in rails :D

 

L' intenzione era di usare il js Ligh Window 2.0 (http://www.stickmanlabs.com/lightwindow/)  che mi piace molto, ho deciso di fare un piccolo helper per poter "aggirare" un problema che ho pure io (ovviamente :P:P:P) (http://railsforum.com/viewtopic.php?pid=46594)

Alcune foto per far vedere come funziona questo plugin :D

In poche parole questo js non fa altro che "aprire" un div con dentro il percorso di quello che gli abbiamo passato in ingresso, all interno della pagina stessa (quindi niente pop-up, ma una finta pop-up interna :D)

Il funzionamento di questo helper è molto sempilice:

una volta installato il plugin tramite il comando

ruby script\plugin install http://waydotnet.googlecode.com/svn/trunk/lightwindow_helper/

 

basta inserire nel file della "vista" il tag

<%= stylesheet_link_tag 'lightwindow' %>

per poter avere a disposizione il css di lightwindow

e poi il tag per poterlo utilizzare è:

<%= lightwindow_link_to(name, options = {}, html_options = {}, *parameters_for_method_reference) %>

un esempio:

<%= lightwindow_link_to(
        "Click me !", {:action => 'edit', :id => "12/"}, :title => "This is a te
st!",
        :author=>"Carlo Bertini",
        :caption=>"Ruby on rails is beautyfull :D"
      ) %>

 

Questo è tutto.

 

Ovviamente il repository è :

http://waydotnet.googlecode.com/svn/trunk/lightwindow_helper/

 

Ogni commento , giudizio, critica, migliorie, sono ben accette

 

ps: si lo so il mio italiano fa schifo :P

Share this post :

Print | posted on martedì 11 dicembre 2007 14:53 |

Feedback

Gravatar

# re: [rails] LightWindowHelper [plugin helper]

the dissertation service, just because that is more simple.
21/11/2011 20:31 | Digital Marketing Orlando
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

You will not worry just about research papers writing anymore.
30/11/2011 14:23 | Web Design
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

Mi aspetto che si formano di pubblicare più di queste informazioni. Mi piacerebbe tornare a controllare per vedere se hai caricato nulla di nuovo.
21/06/2012 13:42 | Direct flights to Kathmandu
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

We appreciate your blog.. Thanks
30/07/2012 18:33 | Test Automation
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

This is the perfect blog for anyone who wants to know about this topic. You know so much its almost hard to argue with you (not that I really would want...HaHa). You definitely put a new spin on a subject thats been written about for years. Great stuff, just great!
08/02/2013 13:10 | Droid Bionic Cases
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

It's well known that high academic results are very complicated to reach. When you turn to term paper writing service topwritingservice.com written by experts, you should surely get an academic paramount.
11/02/2013 20:07 | write my essay
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

We appreciate your time that is why we give perfect custom writing service! Simply follow this Web page and purchase the desired essay paper!
26/05/2013 12:58 | essay writing services
Gravatar

# Delopt

Video analytics by Delopt: they are leader in providing video analytics for any retails shops.
03/08/2013 12:30 | Delopt
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

You need to be quite astute at research and writing. This shows up inside your original and exclusive content material. I agree together with your primary points on this topic. This content ought to be seen by much more readers.
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

Very enlightening and beneficial to someone whose been out of the circuit for a long time.
28/12/2013 05:39 | Jaiper Feliciano
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

"aprire" un div con dentro il percorso di quello che gli abbiamo passato in ingresso, all interno della pagina stessa (quindi niente pop-up, ma una finta pop-up interna :D)
17/04/2015 09:01 | http://www.intermediass.fr
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

Well done brilliant article sharing.I was searching for some topics that time I'll see that your site links a lot of my learning confusion clearly.Keep the working I'm also followed by your all categories topics.
Hadoop Training in Chennai
<a href="http://goo.gl/qJCPlr>Hadoop Training Chennai
Hadoop Training Institutes in Chennai
04/11/2016 13:49 | Ragavidevi
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

http://gotrainings.com/abinitio-online-training/
http://gotrainings.com/android-online-training/
gotrainings.com/application-packaging-online-tr...
http://gotrainings.com/app-v-online-training/
http://gotrainings.com/dell-boomi-online-training/
http://gotrainings.com/hadoop-online-training/
http://gotrainings.com/mysql-online-training/
http://gotrainings.com/oracle-dba-online-training/
http://gotrainings.com/sap-abap-online-training/
gotrainings.com/oracle-soa-12c-online-training/
gotrainings.com/power-shell-online-training/
gotrainings.com/sap-bw-on-hana-online-training/
http://gotrainings.com/sap-hana-online-training/
http://gotrainings.com/sap-fiori-online-training/
http://gotrainings.com/sap-sd-online-training/
http://gotrainings.com/sccm-2016-online-training/
http://gotrainings.com/selenium-online-training/
gotrainings.com/sql-server-dba-online-training/
http://gotrainings.com/tableau-online-training/
gotrainings.com/testing-tools-online-training/
01/12/2016 16:31 | Sujatha
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

I am truly delighted to glance at this blog posts which includes plenty
of valuable information, thanks for providing such information.
28/01/2017 12:00 | fastpoke
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

Thanks for sharing this information and this is really useful to me. Keep updating this information.
Java Training in Chennai | Java Training | Java Course in Chennai
17/03/2017 15:17 | Suresh Kumar
Gravatar

# java training in chennai

Java is a set of computer software and specifications developed by Sun Microsystems, which was later acquired by the Oracle Corporation, that provides a system for developing application software and deploying it in a cross-platform computing environment. This is the apt course for freshers. By learning this you can placed in mnc. In our institution we are providing the course with placement guidance. So join here and get placed.
12/05/2017 12:18 | logavanig
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

This technical post helps me to improve my skills set, thanks for this wonder article I expect your upcoming blog, so keep sharing...
25/06/2017 17:43 | Jhansijoe
Gravatar

# Cloud computing Training in Chennai

Cloud is an essential one for all business. Without cloud, it would be difficult to maintain records in a safe way.
Cloud computing Training in Chennai | Cloud computing courses in Chennai | Cloud computing Training
29/06/2017 18:00 | Education
Gravatar

# LightWindowHelper

I found this article very useful. Also, one more suggestion, if you use common English means everyone easily understands without the use of a translator.

Web Designing Company in Abu Dhabi
18/01/2018 16:19 | Chris
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

Awesome post, Thanks for the detailed plugin information.
Regards,

JAVA Training in Chennai|Cloud computing courses in Chennai|Salesforce Training in Chennai
18/04/2018 16:45 | Jhansijoe
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

Thanks for great post! Its gives more information.

Angularjs Training in Chennai | Web Designing Training in Chennai
05/06/2018 11:18 | prasanth krishnan
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

Thanks for sharing
20/08/2018 17:42 | ari
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

Great post! This is very useful for me and gain more information, Thanks for sharing with us.

Selenium Training in Chennai
29/08/2018 12:19 | kingsly david
Gravatar

# re: [rails] LightWindowHelper [plugin helper]

Your post is really awesome. Your blog is really helpful for me to develop my skills in a right way. Thanks for sharing this unique information with us.
-
14/11/2018 15:24 | NIKHIL
Comments have been closed on this topic.

Powered by:
Powered By Subtext Powered By ASP.NET