regluit/static/js/watermark_change.js

10 lines
289 B
JavaScript
Raw Normal View History

function imgblur(){
if (document.getElementById('watermark').value == "") {
document.getElementById('watermark').style.background="url('/static/images/google_watermark.gif') no-repeat left center";
}
}
function imgfocus(){
document.getElementById('watermark').style.background="";
}