Grabbing banners from other sites.

J

jimjohnlists

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 }) %>
 
P

Phillip Gawlowski

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 }) %>

http://www.rubyonrails.org/community

--
Phillip "CynicalRyan" Gawlowski
http://cynicalryan.110mb.com/
http://clothred.rubyforge.org

Rule of Open-Source Programming #5:

A project is never finished.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top