News for hackers. Stuff that matters.
Re:HN: feedback on my image bookmarking website by KevBurnsJr on Wednesday August 13, 2008 @06:39PM (#275598)
Just drop this in at the top of bookmarklet.js :)

  // Flash message
  var flashMsg = document.createElement("div");
  flashMsg.style.position = "absolute";
  flashMsg.style.right = "0px";
  flashMsg.style.top = "0px";
  flashMsg.style.padding = "20px 40px";
  flashMsg.style.backgroundColor = "#eee";
  flashMsg.style.borderBottom = "1px solid #ccc";
  flashMsg.style.borderLeft = "1px solid #ccc";
  flashMsg.style.fontSize = "30px";
  flashMsg.innerHTML = "<em>Okay!</em> Now select your image";
  document.body.appendChild(flashMsg);

  window.setTimeout(function(){
    flashMsg.style.display = 'none';
  }, 3000);
Re:HN: feedback on my image bookmarking website by grag on Wednesday August 13, 2008 @10:32PM (#275736)
Thanks, just added that to the bookmarklet!
Re:HN: feedback on my image bookmarking website by haasted on Thursday August 14, 2008 @08:08AM (#276005)
The bookmarklet does not adapt gracefully when my browser shows only an image. For a quick example, try using the bookmarklet at this address: http://i284.photobucket.com/albums/ll39/inlovewithmoney1/a16... .