Welcome to WebmasterWorld Guest from 54.205.251.179

Forum Moderators: open

Message Too Old, No Replies

Dreamweaver Jump Menus

Save Option

   
4:06 pm on Jun 2, 2006 (gmt 0)

10+ Year Member



Does anybody know how to edit the jump menu script to give a save option?

I have a jump menu linking to a list of PDF documents. I want 2 buttons beside the list: 'Go' & 'Save' to open the PDF (in a new window) or save the PDF to the user's hard drive.

I know how to change the code to use the go button to open in a new window [change 'parent' to 'window.open()'] and I would like a similar modification to change a second button so that when clicked, it opens up a save dialog.

Can anybody help?

11:41 am on Jun 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You might ask in the JavaScript section, since this is overwriting the users preference. For example, on IE, I have it set up to open when I click on a PDF link. On Firefox, it ask me if I want to download, open, etc

Alternatively, you could ZIP the PDF and chances are that it would download then

-Corey