homepage Welcome to WebmasterWorld Guest from 54.227.67.210
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Dreamweaver Jump Menus
Save Option
sirfartalot




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

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?

 

Corey Bryant




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved