Hacker News new | past | comments | ask | show | jobs | submit login

Dont understand your issue. the only javascript served by this page should be

  <script type="text/javascript">
  function byId(id) {
    return document.getElementById(id);
  }

  function vote(node) {
    var v = node.id.split(/_/);   // {'up', '123'}
    var item = v[1];

    // hide arrows
    byId('up_'   + item).style.visibility = 'hidden';
    byId('down_' + item).style.visibility = 'hidden';

    // ping server
    var ping = new Image();
    ping.src = node.href;

    return false; // cancel browser nav
  } </script>
for the <a> links, as such:

  <a id=up_7666264 onclick="return vote(this)" href="vote?for=7666264&amp;dir=up&amp;xxxx">
and this makes it surely works correctly even without javascript.



Marlin, I believe he is talking about the linked page not the HN page.


Ah, i didnt realize that by the wording of OP.

also, thx someone for downvoting a helpful attempt.

i see the cancer found HN also


Did you make that up? There's like 10 jquery plugins loaded in the bottom of the body, including jquery.nicescroll


Removed most of these. Sorry about that.


No, i misunderstood OP, thought he meant HN, due to his wording.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: