Quote Originally Posted by primed View Post
Hi,
Yep thats the function, except i want to open up a pdf.
I also need to know where to copy the code to within web designer.

Primed
Where it says:
The link example would be like this:
<a href="javascript:void(0);" onclick="PopupCenter('http://www.nigraphic.com', 'myPop1',400,400);">CLICK TO OPEN POPUP</a>
CLICK TO OPEN POPUP
------------
Change the http address to the address where your pdf will be located eg.http://www.nigraphic.com/mydocument.pdf If you are new to WD I assume (bad word) you are new to publishing sites etc. If so I suggest:

1. Read and become familiar with the methodology to publish a site.
2. Read the help files on using placeholders and do some searches in the forum. A placeholder is what you use to implement a code snippet.
3. Basically you will draw a box in WD the dimensions you require for the popup window (in the example shown 400,400). Then assign web properties to the box. The box will not show on the website - it will be replaced by the code you entered in the placeholder - you get to it from web properties of the box you draw.
4. Upload the pdf file to the address you put in the placeholder. You will have to use an standalone ftp client - such as Filezilla to do that. If you're not familiar with the file setup on your host you need to be - even if relying on WD publish function. So do some reading.

Let us know if it works. I haven't tried it.