[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic delete...



Correcting myself,

I just checked the script I posted (a bit busy these days...) and here is
the working version:
(I appologize for not checking the first one, but consider it as a schematic
proposal)

<html>
<script language=javascript>
<!-- Hide : By Ellie wysiwyg

function blankstatus(){
   setTimeout("erase()",2000);
}  
function erase() {
   window.status="";
}
function onemonth(){
	var today = new Date();
	var Ddayexp = null;
	todayexp = today.getYear()*100 + (today.getMonth()+1)*10 + today.getDate()
	Ddayexp = 96*100+04*10+04
	if (todayexp <= Ddayexp){
	gothere()
	}
}
function gothere(){
	location = 'calculate.htm'
}			   

// -->
</script>
This <a href="javascript:onemonth()"
onMOuseOver="blankstatus();window.status='http://domain.name/pic.gif'
;return true">picture</a> will be gone by 04-04-1996.
</html>

That's it.

Ellie.

PS - This script is free for everybody to use, no need for credits (although
it would be awefully nice of you...)

work = (customer != "nice")? "Good" : "Excelent"
------------------------------------------------
CCITT - Can't Concieve Inteligent Thoughts Today

Ellie wysiwyg        ---        Elliep19@gdi.net

My Home page - http://pages.prodigy.com/wysiwyg/
------DB---Programming----&----Web----Design----

--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/