Select Addresses dialog box in iNotes. How can I implement this in my own apps?

Hi there!

My app is web based only. I have a form where I want the users to click a button that would open the Select Addresses dialog box as you would get when you click on the To when creating a new email message in iNotes. I’ve looked through the names.nsf and my personal mail.nsf, but I can’t find how this is accomplished.

Any help would be greatly appreciated.

Thanks!

Gérald

Subject: Select Addresses dialog box in iNotes. How can I implement this in my own apps?

hi you have to look in the form “memo”. There you can see two Actions “Address” (Web And Client).

Here’s the Code for Web - OnClick:

[you can see it uses the form (wAddress) | wAddress]

var pathname = (window.location.pathname);

if (screen.width>640)

{

if (navigator.appVersion.indexOf(‘X11’) != -1)

{

	window.open(pathname.substring(0,(pathname.lastIndexOf('.nsf')+5))+'wAddress?OpenForm','Address','status=yes,resizable=yes,scrollbars=yes,screenX=100,screenY=100,width=750,height=630');

} else 

{

if (navigator.appName =='Netscape') 

		{

		window.open(pathname.substring(0,(pathname.lastIndexOf('.nsf')+5))+'wAddress?OpenForm','Address','status=yes,resizable=yes,scrollbars=yes,screenX=120,screenY=100,width=740,height=470');	

		} else 

		{

		window.open(pathname.substring(0,(pathname.lastIndexOf('.nsf')+5))+'wAddress?OpenForm','Address','status=yes,resizable=yes,scrollbars=yes,top=120,left=100,width=700,height=540');

		}

}

} else

{

if (navigator.appVersion.indexOf(‘X11’) != -1)

{

	window.open(pathname.substring(0,(pathname.lastIndexOf('.nsf')+5))+'wAddress?OpenForm','Address','status=yes,resizable=yes,scrollbars=yes,screenX=0,screenY=0,width=630,height=480');

} else 

{

if (navigator.appName =='Netscape') 

		{

		window.open(pathname.substring(0,(pathname.lastIndexOf('.nsf')+5))+'wAddress?OpenForm','Address','status=yes,resizable=yes,scrollbars=yes,screenX=0,screenY=0,width=630,height=480');	

		} else 

		{

		window.open(pathname.substring(0,(pathname.lastIndexOf('.nsf')+5))+'wAddress?OpenForm','Address','status=yes,resizable=yes,scrollbars=yes,top=0,left=0,width=630,height=480');

		}

}

}

Hope this will help