Hi,
I'm a newbie to webdesigner.
Love what i see so far.
Question - How do i do a popup pdf from a button.
Thanks
Primed
Hi,
I'm a newbie to webdesigner.
Love what i see so far.
Question - How do i do a popup pdf from a button.
Thanks
Primed
Take a look here.
http://www.nigraphic.com/blog/java-s...-center-screen.
Click on "CLICK TO OPEN POPUP".
Is this the behavior you want? If not describe more fully.
Last edited by steve.ledger; 13 February 2010 at 04:43 AM.
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.
Hi,
No didnt work.
I tried testing just the link to the pdf and that works fine, but when i insert the rest of the code nothing happens when i preess the button.
Could you check your end so i know wheter it is just me or not.
Thanks for the extra tips.
Being playing with placeholder and downloading lots of fun stuff.
Thanks
Primed
Please remember that making a link to a PDF file whether intended for a popup window, an iframe or other means of displaying it in a browser will inevitably NOT work on a percentage of computers where the users browser of choice has not be set to open PDF's inline but rather to simply download them.
Bookmarks