title: Use jQuery to open PDF links with Google Docs
body: <p>I already have pdf links set up. I am just looking to prepend Google's syntax in front of my current href using jQuery. i know the following doesn't work, but I feel I am close…?</p>
  
  <pre>
  jQuery(document).ready(function() {
  jQuery("a[href$=.pdf]").attr("href", "http://docs.google.com/viewer?url=" + current.href);
  });
  </pre>
  
  <p>Can anyway help, please?</p>