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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beacon
    Contributor
    • Aug 2007
    • 579

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

    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...
  • Death Slaught
    Top Contributor
    • Aug 2007
    • 1137

    #2
    I don't think your problem is with HTML, but post your code any ways.

    (\_/)
    (' . ')
    (")(") , Death

    Comment

    • beacon
      Contributor
      • Aug 2007
      • 579

      #3
      Ok...here's my code up to where I insert the links to the powerpoint presentations.

      [code=html]
      <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
      <html>
      <head>

      <style>
      <!--

      .mouseBeOffMe {
      border-top: 5px solid #B7CEEC;
      border-bottom: 5px solid #B7CEEC;
      border-left: 5px solid #B7CEEC;
      border-right: 5px solid #B7CEEC;
      }

      .mouseBeOnMe {
      border-top: 3px solid #B7CEEC;
      border-bottom: 7px solid #B7CEEC;
      border-left: 5px solid #B7CEEC;
      border-right: 5px solid #B7CEEC;
      }

      .mouseBeDown {
      border-top: 7px solid #B7CEEC;
      border-bottom: 3px solid #B7CEEC;
      border-left: 5px solid #B7CEEC;
      border-right: 5px solid #B7CEEC;
      }

      .mouseBeUp {
      border-top: 4px solid #B7CEEC;
      border-bottom: 6px solid #B7CEEC;
      border-left: 5px solid #B7CEEC;
      border-right: 5px solid #B7CEEC;
      }

      //-->
      </style>

      <title><<=>> Computer Help Center <<=>>&nbsp Provided by CRS Support &nbsp</title>

      <link rel="shortcut icon" href="P:/HTML Docs/favicon.ico"/>
      <link rel="stylesheet " type="text/css" href="link.css" />

      <!-- <table style="margin-left:0px" width="900px" height="150px" border="0" cellpadding="0" cellspacing="0" bgcolor="gray">
      <tr><td>

      <h1 align=center></td></tr></h1> -->
      </head>
      <a name="top"></a>
      <table BORDER="5" cellpadding="0" cellspacing="0" width="100%" bgcolor="#C11B1 7">
      <td width="234" valign="top">
      </a>
      </td>
      <th valign="middle" align="left" class="right">

      </table>
      <body>
      <table style="margin-left:1px" width="790px" border="0" cellpadding="0" cellspacing="2" >
      <tr>
      <td width="137" class="content" valign="top"><b r />
      <a class="left" href="FAQs[real].html" target="_top">
      <center>
      <img src="home5.jpg"
      width="70"
      height="30"
      border="0"
      alt="home"
      class="mouseBeO ffMe"
      onmouseover="th is.className='m ouseBeOnMe'"
      onmousedown="th is.className='m ouseBeDown'"
      onmouseup="this .className='mou seBeUp'"
      onmouseout="thi s.className='mo useBeOffMe'"></center></a>

      <hr style="color:#1 53e7e" />

      <a class="left" href="FAQs[real].html" target="_top"></a>

      <b><a style="color:#C 11B17">Introduc tion</a></b><br />
      <a class="left" target="_top" style="text-decoration:none " href="LAN_Prese ntation.ppt" onmouseover="th is.style.textDe coration='under line';this.styl e.fontWeight='b old'" onmouseout="thi s.style.textDec oration='none'; this.style.font Weight=''">LAN Presentation</a><br />
      <a class="left" target="_top" style="text-decoration:none " href="RADplus_P resentation.ppt " onmouseover="th is.style.textDe coration='under line';this.styl e.fontWeight='b old'" onmouseout="thi s.style.textDec oration='none'; this.style.font Weight=''">RADp lus Presentation</a><br />
      <br />

      [/code]

      Thanks for the help...

      Comment

      • beacon
        Contributor
        • Aug 2007
        • 579

        #4
        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...

        Comment

        • beacon
          Contributor
          • Aug 2007
          • 579

          #5
          Forget it...I figured it out by myself.

          Comment

          • Markus
            Recognized Expert Expert
            • Jun 2007
            • 6092

            #6
            Originally posted by beacon
            Forget it...I figured it out by myself.
            Maybe if you'd post in the relevant forum, you'd get an answer.

            Comment

            • Death Slaught
              Top Contributor
              • Aug 2007
              • 1137

              #7
              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](")
              (")(")

              Comment

              • beacon
                Contributor
                • Aug 2007
                • 579

                #8
                Originally posted by markusn00b
                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.

                Comment

                Working...