image_tag

image_tag(“icon”) # =>
Icon
image_tag(“icon.png”) # =>
Icon
image_tag(“icon.png”, :size => “16×10″, :alt => “Edit Entry”) # =>
Edit Entry
image_tag(“/icons/icon.gif”, :size => “16×16″) # =>
Icon
image_tag(“/icons/icon.gif”, :height => ’32′, :width => ’32′) # =>
Icon
image_tag(“/icons/icon.gif”, :class => “menu_icon”) # =>
Icon
image_tag(“mouse.png”, :mouseover => “/images/mouse_over.png”) # =>
Mouse
image_tag(“mouse.png”, :mouseover => image_path(“mouse_over.png”)) # =>
Mouse

您可能感兴趣的文章

  1. ruby 中 include 与 extend 区别
  2. Python赢得Tiobe 2010年度语言大奖
  3. rails3.0怪异的数据库密码配置
  4. rails项目开发环境一定要与服务器生产环境一致
  5. ruby 安装 rmagick
  6. rails redirect_to
  7. XPath
  8. render partial
  9. 为gem添加源
  10. strftime函数将时间格式化
分享到Twitter 分享到新浪微博 分享到开心 分享到QQ空间 分享到人人 分享到鲜果 分享到豆瓣 分享到网易微博 分享到搜狐微博
You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.

Powered by WordPress | Find Wireless Deals at BestInCellPhones.com. | Thanks to iCellPhoneDeals.com Free Cell Phones, Find Highest CD Rates and Incinerador De Grasa Revisión