472,127 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

Link to a file -- file download dialog box prompts user twice

579 512MB
I've searched and searched for the answer to this question, but all I can find is javascript answers and I'm really not using javascript in my code.

I have a link to a powerpoint presentation and when it's selected, a dialog box comes up and asks if the user wants to open the file, save it, or cancel.

If open is selected, the presentation opens just fine. However, once you scroll to the next slide, the dialog box appears again asking if you want to open the file, save it, or cancel.

Does anyone know if this is because my file is too large, I've written something incorrectly in my code, or what the problem may be?

I appreciate any help I can get...I'm fairly new to html, so please be thorough in your explanation if you have one.

Feb 8 '08 #1
7 2820
Death Slaught
1,137 1GB
I don't think your problem is with HTML, but post your code any ways.

(' . ')
(")(") , Death
Feb 8 '08 #2
579 512MB
Ok...here's my code up to where I insert the links to the powerpoint presentations.

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  5. <style>
  6. <!--
  8. .mouseBeOffMe {
  9. border-top:    5px  solid #B7CEEC; 
  10. border-bottom: 5px  solid #B7CEEC; 
  11. border-left:   5px  solid #B7CEEC;
  12. border-right:  5px  solid #B7CEEC; 
  13. }
  15. .mouseBeOnMe {
  16. border-top:    3px  solid #B7CEEC;
  17. border-bottom: 7px  solid #B7CEEC;
  18. border-left:   5px  solid #B7CEEC; 
  19. border-right:  5px  solid #B7CEEC;
  20. }
  22. .mouseBeDown {
  23. border-top:    7px  solid #B7CEEC;
  24. border-bottom: 3px  solid #B7CEEC; 
  25. border-left:   5px  solid #B7CEEC; 
  26. border-right:  5px  solid #B7CEEC;
  27. }
  29. .mouseBeUp {
  30. border-top:    4px  solid #B7CEEC;
  31. border-bottom: 6px  solid #B7CEEC; 
  32. border-left:   5px  solid #B7CEEC; 
  33. border-right:  5px  solid #B7CEEC;
  34. }
  36. //-->
  37. </style>
  39. <title><<=>> Computer Help Center <<=>>&nbsp Provided by CRS Support &nbsp</title>
  41. <link rel="shortcut icon" href="P:/HTML Docs/favicon.ico"/>
  42. <link rel="stylesheet" type="text/css" href="link.css" />
  44. <!-- <table style="margin-left:0px" width="900px" height="150px" border="0" cellpadding="0" cellspacing="0" bgcolor="gray">
  45. <tr><td>
  47. <h1 align=center></td></tr></h1> -->
  48. </head>
  49. <a name="top"></a>
  50. <table BORDER="5" cellpadding="0" cellspacing="0" width="100%" bgcolor="#C11B17">
  51. <td width="234" valign="top">
  52. </a>
  53. </td>
  54. <th valign="middle" align="left" class="right">
  56. </table>
  57. <body>
  58. <table style="margin-left:1px" width="790px" border="0" cellpadding="0" cellspacing="2">
  59. <tr>
  60. <td width="137" class="content" valign="top"><br />
  61. <a class="left" href="FAQs[real].html" target="_top">
  62. <center>
  63. <img src="home5.jpg" 
  64. width="70" 
  65. height="30" 
  66. border="0" 
  67. alt="home" 
  68. class="mouseBeOffMe" 
  69. onmouseover="this.className='mouseBeOnMe'" 
  70. onmousedown="this.className='mouseBeDown'"
  71. onmouseup="this.className='mouseBeUp'" 
  72. onmouseout="this.className='mouseBeOffMe'"></center></a>
  74. <hr style="color:#153e7e" />
  76. <a class="left" href="FAQs[real].html" target="_top"></a>
  78. <b><a style="color:#C11B17">Introduction</a></b><br />
  79. <a class="left" target="_top" style="text-decoration:none" href="LAN_Presentation.ppt" onmouseover="this.style.textDecoration='underline';this.style.fontWeight='bold'" onmouseout="this.style.textDecoration='none';this.style.fontWeight=''">LAN Presentation</a><br />
  80. <a class="left" target="_top" style="text-decoration:none" href="RADplus_Presentation.ppt" onmouseover="this.style.textDecoration='underline';this.style.fontWeight='bold'" onmouseout="this.style.textDecoration='none';this.style.fontWeight=''">RADplus Presentation</a><br />
  81. <br />
Thanks for the help...
Feb 8 '08 #3
579 512MB
I'm not sure if I mentioned it or not, but this site is being used at my job and isn't on a web server.

It's basically just a document that opens in a browser. We're using it for training purposes, so it's important that it function properly to prevent the user from questioning what's going on.

If anyone can help me out I would be extremely grateful...
Feb 9 '08 #4
579 512MB
Forget it...I figured it out by myself.
Feb 10 '08 #5
6,050 Expert 4TB
Forget it...I figured it out by myself.
Maybe if you'd post in the relevant forum, you'd get an answer.
Feb 11 '08 #6
Death Slaught
1,137 1GB
Your page is invalid. That doesn't have anything to do with your presentation though, and I have no idea what could be causing it. Try asking in the Misc Question forum

(' . ')
Feb 11 '08 #7
579 512MB
Maybe if you'd post in the relevant forum, you'd get an answer.
Are you serious? Relevant forum? And what forum would that be? I was only using HTML/CSS and if I'm not mistaken this is the HTML/CSS forum.
Feb 15 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.