The code I'm using for the close link is as follows:
var xV1 = 0;
nV = document.body.scrollTop;
document.getElementById('popup').style.top = xV1+nV;
xV1 = document.getElementById('popup').offsetTop;
Can anyone tell me if making the popup disappear after a specified time is possible by modifying the above?
<a href="#" onclick="document.getElementById('popup').style.display = 'none'">close [X]</a>