<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,6 +11,7 @@ module Widgets
       @html = opts[:html] || {} 
       @function = opts[:function] || {}
       @html[:title] = opts[:title] 
+      @html[:target] = opts[:target]      
      
       yield(self) if block_given?
       
@@ -23,6 +24,7 @@ module Widgets
     def function_to(f); @function = f; end
     def named(n); @name = n; end
     def titled(t); @html[:title] = t; end 
+    def new_window(n); html[:target] = n ? '_blank' : nil; end    
        
     def link?
       @link &amp;&amp; !@link.empty?</diff>
      <filename>lib/widgets/navigation_item.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4aa6e3b4e325ce198d93072f73b099dc6db24881</id>
    </parent>
  </parents>
  <author>
    <name>Eric Musgrove</name>
    <email>musgrove.eric@gmail.com</email>
  </author>
  <url>http://github.com/paolodona/rails-widgets/commit/c2400f385f1fcbd919dfa4b0776d1cc87d11f3ea</url>
  <id>c2400f385f1fcbd919dfa4b0776d1cc87d11f3ea</id>
  <committed-date>2009-07-02T10:53:28-07:00</committed-date>
  <authored-date>2009-07-02T10:53:28-07:00</authored-date>
  <message>Adding in a new_window option for links, which takes a true/false option, which will open the link in a new window.  Defaults to false or blank</message>
  <tree>5cbe6a1a7980fe77777df91a4c2245c757fc216f</tree>
  <committer>
    <name>Eric Musgrove</name>
    <email>musgrove.eric@gmail.com</email>
  </committer>
</commit>
