Hi,

I think we were talking about different modal window plugins. But I've
changed to LightWindow now, it seems much better.

I'm now getting the same output as you from my source code,

<span class="ad_image">
  <a href="<%= ad.image.url(:original) %>" class="lightwindow"><img
src="<%= ad.image.url(:thumb) %>" /></a>
</span>

But the effect doesn't work. So I think my setup is wrong.

I have moved lightwindow.js to my public Javascript folder, and I have
moved lightwindow.css to my public CSS folder. My application.html.erb
looks like this:

<%= render 'layouts/stylesheets' %>
<%= stylesheet_link_tag 'lightwindow' %>
<%= javascript_include_tag :defaults, 'lightwindow', 'scriptaculous.js?
load=effects' %>

Have i forgotten something or is it something else?

Thanks!

// Anders

On 15 Okt, 18:19, Walter Lee Davis <wa...@wdstudio.com> wrote:
> It's class="lightwindow" to get the effect to fire.
>
> Walter
>
> On Oct 15, 2010, at 11:58 AM, Anders_P wrote:
>
>
>
> >  class="lightbox">

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to