Does anyone have a _javascript_ that on open will check for the version of Reader or Acrobat and if the document is open inside of a browser or not?
~nicholas
____________________________________________________
IncrediMail - Email has finally evolved - Click Here
Hi!
I use the following:
Opening the document runs this script, which is attached to the first page:
if (browserabfrage.value == 0)
{
browser_abfrage();
browserabfrage.value = 1;
}
The corresponding function is a document _javascript_:
function browser_abfrage()
{
//app.alert(this.external);
if (this.external == false)
{
app.alert("Sie k�nnen Ihre Abfrage nicht online absenden!\n
�ffnen Sie diese Datei in einem Browser.");
}
}
It works fine in Acrobat 5 (and reader 5). The variable browserabfrage prevents the check from being performed each time the user opens page 1.
Stefan Barth
--
Stefan Barth, Am Glaadtbach 6, 54584 J�nkerath
Tel. 0 65 97 / 9 60 50 80 - Fax 0 65 97 / 9 60 50 79
