Displaying 1 result from an estimated 1 matches for "285x169".
Did you mean:
285169
2006 Feb 03
0
component/ajax variable access problem
...ages = [''/images/test.gif'']
end
end
end
Component View:
<%
# p is always 0 when it comes in the first time...
photo = (params[:p]).to_i
next_photo = photo + 1
if !(photo == @images.length-1)
%>
<%= link_to_remote(image_tag(@images[next_photo], :size =>
"285x169"), :update =>''easel'',
:url => { :controller => ''/tiny_gallery/album'', :action =>
''show_photo'', :params => { :context => :home, :p => next_photo }}) %>
<% else %>
<%= link_to_remote(image_tag(@images[0],...