I am looking at the robot

Posts Tagged with javascript

Setting font size and spacing in google maps infowindow

March 10, 2010 - To prevent scrollbars, set
var info = new google.maps.InfoWindow({
  maxWidth: 285,
  content: '<div class="info"><p>etc..</p></div>'
}};
more

JQuery :hover in Prototype

February 5, 2010 -
$('li').hover(function() {
  $(this).addClass('over');
}, function() {
  $(this).removeClass('over');
});
more

jQuery vs. Prototype

December 11, 2009 - jQuery
$(function() {
  $('.external').click(function() {
    window.open(this.href);
    return false;
  });
});
more

Javascript timer

September 15, 2009 - Adding a modified version of John Resig's real time date on a system I made:
// GENERAL: real time date for last updated
$("span.last-updated").prettyDate();
setInterval(function(){ $("span.last-updated").prettyDate(); }, 500);
more

console can break javascript

May 11, 2009 - console.log() more