Grabbing banners from other sites.

Discussion in 'Ruby' started by jimjohnlists@yahoo.com, Apr 27, 2007.

  1. Guest

    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 }) %>
     
    , Apr 27, 2007
    #1
    1. Advertising

  2. wrote:
    > 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.
     
    Phillip Gawlowski, Apr 27, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ian

    Dynamic banners

    Ian, Oct 1, 2003, in forum: HTML
    Replies:
    5
    Views:
    1,956
    Dylan Parry
    Oct 3, 2003
  2. NK

    animated banners

    NK, Apr 24, 2004, in forum: HTML
    Replies:
    4
    Views:
    475
    MeIsDavid
    Apr 25, 2004
  3. Roy Schestowitz

    Banners and Time

    Roy Schestowitz, Jan 5, 2005, in forum: HTML
    Replies:
    4
    Views:
    519
    Stephan Bird
    Jan 6, 2005
  4. Stefan Caliandro
    Replies:
    2
    Views:
    630
    Beauregard T. Shagnasty
    Feb 14, 2005
  5. Sir Ben
    Replies:
    8
    Views:
    657
Loading...

Share This Page