Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 22 lines (14 sloc) 0.528 kb

No. 7: link

We have three different ways to inlcude hyperlinks in our Shoes app:

# sample8.rb
Shoes.app :width => 250, :height => 60 do
  para link('RubyLearning.org'){visit "http://www.rubylearning.org/"}
  para link('Google', :click => "http://google.com")
  image '../images/loogink.png', :click => "http://shoes.heroku.com/"
end

sample8.png

sample8.png

Policeman

The sample8.rb worked well with Shoes-0.r1263

Something went wrong with that request. Please try again.