SHARE
TWEET

piggydb mouseless toggles

a guest Oct 24th, 2014 116 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff a/webapp/macro/fragment-parts.vm b/webapp/macro/fragment-parts.vm
  2. --- a/webapp/macro/fragment-parts.vm
  3. +++ b/webapp/macro/fragment-parts.vm
  4. @@ -65,6 +65,8 @@
  5.  
  6.  #set ($fragmentHeadline = false)
  7.  #set ($fragmentHeadline = $fragment.makeHeadline(20))
  8. +<a href="#" onclick='javascript: $(this).parent().find("span.fragment-tools").toggle();'
  9. +   style="float: right;"><!-- link to enable mouse-less browsers to toggle fragment-tools --></a>
  10.  <span class="fragment-tools">
  11.    <span class="fragment-id" style="display: none;">$fragment.id</span>
  12.    #if ($fragmentHeadline)
  13. diff a/webapp/macro/fragments.vm b/webapp/macro/fragments.vm
  14. --- a/webapp/macro/fragments.vm
  15. +++ b/webapp/macro/fragments.vm
  16. @@ -35,7 +35,9 @@ jQuery(function() {
  17.                 <span class="title" style="line-height: 24px;">All</span>:
  18.                 <span class="count"></span>
  19.      <span class="toggle" style="display: none;">
  20. -      <img border="0" alt="" src="$context/style/images/bullet-arrow-down.png"/>
  21. +      <a href="#" onclick='javascript: $("div.view-header").find("div.fragments-criteria").toggle();'><!--
  22. +         link to enable mouse-less browsers to toggle fragments-criteria
  23. +      --><img border="0" alt="" src="$context/style/images/bullet-arrow-down.png"/></a>
  24.      </span>
  25.         </span>
  26.         #if ($jsAddFragment)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top