Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Example: <a href="http://xxjjnn.com/linktablerow.html" rel="nofollow noreferrer">http://xxjjnn.com/linktablerow.html</a></p> <p><strong>Link entire row:</strong></p> <pre><code>&lt;table&gt; &lt;tr onclick="location.href='SomeWherrrreOverTheWebsiiiite.html'"&gt;** &lt;td&gt; ...content... &lt;/td&gt; &lt;td&gt; ...content... &lt;/td&gt; ... &lt;/tr&gt; &lt;/table&gt; </code></pre> <p><strong>Iff you'd like to do highlight on mouseover for the entire row, then:</strong></p> <pre><code>&lt;table class="nogap"&gt; &lt;tr class="lovelyrow" onclick="location.href='SomeWherrrreOverTheWebsiiiite.html'"&gt;** ... &lt;/tr&gt; &lt;/table&gt; </code></pre> <p>with something like the following for css, which will remove the gap between the table cells and change the background on hover:</p> <pre><code>tr.lovelyrow{ background-color: hsl(0,0%,90%); } tr.lovelyrow:hover{ background-color: hsl(0,0%,40%); cursor: pointer; } table.nogap{ border-collapse: collapse; } </code></pre> <p><strong>Iff you are using Rails 3.0.9 then you might find this example code useful:</strong></p> <p>Sea has many Fish, Fish has many Scales, here is snippet of app/view/fish/index.erb</p> <pre><code>&lt;table&gt; &lt;% @fishies.each do |fish| %&gt; &lt;tr onclick="location.href='&lt;%= sea_fish_scales_path(@sea, fish) %&gt;'"&gt; &lt;td&gt;&lt;%= fish.title %&gt;&lt;/td&gt; &lt;/tr&gt; &lt;% end %&gt; &lt;/table&gt; </code></pre> <p>with @fishies and @sea are defined in app/controllers/seas_controller.rb</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload