473,397 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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

beacon
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.

Thanks...
Feb 8 '08 #1
7 2907
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
beacon
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>
  4.  
  5. <style>
  6. <!--
  7.  
  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. }
  14.  
  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. }
  21.  
  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. }
  28.  
  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. }
  35.  
  36. //-->
  37. </style>
  38.  
  39. <title><<=>> Computer Help Center <<=>>&nbsp Provided by CRS Support &nbsp</title>
  40.  
  41. <link rel="shortcut icon" href="P:/HTML Docs/favicon.ico"/>
  42. <link rel="stylesheet" type="text/css" href="link.css" />
  43.  
  44. <!-- <table style="margin-left:0px" width="900px" height="150px" border="0" cellpadding="0" cellspacing="0" bgcolor="gray">
  45. <tr><td>
  46.  
  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">
  55.  
  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>
  73.  
  74. <hr style="color:#153e7e" />
  75.  
  76. <a class="left" href="FAQs[real].html" target="_top"></a>
  77.  
  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 />
  82.  
  83.  
Thanks for the help...
Feb 8 '08 #3
beacon
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
beacon
579 512MB
Forget it...I figured it out by myself.
Feb 10 '08 #5
Markus
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

Thanks,
{\_/}
(' . ')
(")[DEATH](")
(")(")
Feb 11 '08 #7
beacon
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

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

Similar topics

5
by: peetm | last post by:
I'd like to write to a log whenever a visitor to my site downloads a file. So, I'd like the link they click to be to a php 'page' that returns the file. Don't know how to do that! Side...
1
by: Navin | last post by:
hi, guys i am using the following code to force a file download dialog in asp Response.ContentType = "application/vnd.ms-excel" response.AddHeader "content-disposition","attachment; filename="...
1
by: Navin | last post by:
hi, guys i am using the following code to force a file download dialog in asp Response.ContentType = "application/vnd.ms-excel" response.AddHeader "content-disposition","attachment; filename="...
7
by: Brian Paul | last post by:
When a user clicks on a linkbutton on a page, i would like to render a printer-friendly version of the asp.net page and download it as an html attachment to the browser. The code below works great,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.