The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com
__________________________________________________________________

Thanks Norman.  But still doesn't work in Reader 4.x.  Error message is: "Javascript 
Error at Line 5: Operation Failed."

...and for my use, changing ">=" to "<" would make it perfect (if it worked in 4.x :o)

Ivan Lee 
Senior Technical Writer 

The opinions expressed here are that of my own and not of my employer.

-----Original Message-----
From: Leonard, Norman [mailto:[EMAIL PROTECTED] Behalf Of Leonard, Norman
Sent: Monday, June 09, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: RE: [PDF] Pop-Up Javascript in Reader 4.x/5.x


>Trying to get a message to pop up on open until a certain date.  Appreciate any help.

Hello Ivan,

I didn't test it yet, but I think the JS below should work . . . at least in theory!

Norman

===================================================
var expireDate = util.scand("mm/dd/yyyy", "10/30/2003");
var nowDate = new Date();

if (nowDate.valueOf() >= expireDate.valueOf()){
    app.alert("TYPE MESSAGE HERE");
}

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdf.html

Reply via email to