jimjohnlists-/E1597aS9LQAvxtiuMwx3w@public.gmane.org
2007-Apr-26  23:02 UTC
Grabbing banners from other sites.
I want my banner ads to be rotated using ruby.
So I try this
<%= link_to_remote( image_tag("graphics/
select01.gif", :alt=>''Programming'',
:size=>''100x20'', :border=>0),
                         :update => "select01_div",
                         :url =>{ :action => :select01_action }) %>
and it works. But this doesn''t seem to work for me. Does ruby expect
images to be local even if we do http://?
<%= link_to_remote( image_tag(http://
globalwarmingawareness2007.org.uk /graphics/
select01.gif, :alt=>''Programming'',
:size=>''100x20'', :border=>0),
                         :update => "select01_div",
                         :url =>{ :action => :select01_action }) %>
--~--~---------~--~----~------------~-------~--~----~
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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
