Hello all first time post.
I have a problem I cant seem to get my head around.I have created a web site for our local yacht club , on the links page I have added links to PDF files ,I am using dreamweaver 8 .
The Pdf links work fine in firefox but not in IE ,I have changed file names ,put files in root directory ,remade the pdf document as a html even the link still will not work , However if a create a flash button to the pdf link it works fine in both browsers.I even created the page in fireworks and added a link in fireworks ,and it still wont work .
I created the PDF files from a word document using acrobat 7.
Thank you all for your time and consideration.
Peter
spycatcher69 0 Newbie Poster
The attachment preview is chopped off after the first 10 KB. Please download the entire file.
//-->
</script>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body onload="MM_preloadImages('nav/kota_f2.png','nav/serasa_f2.png','nav/boat_yard_f2.png','nav/nav%20bar_r3_c26_f2.png','nav/sailig_f2.png','nav/oppy_f2.png','nav/laser_f2.png','nav/knot_f2.png','nav/about_f2.png','nav/comm_f2.png','nav/history_f2.png','nav/contact_f2.png','nav/index_f2.png','nav/events_f2.png','nav/sailingcal_f2.png','nav/membership_f2.png');">
<p align="center"><br />
<img src="images/rbcl2.png" width="634" height="41" /></p>
<table width="80%" border="0" align="center">
<tr>
<td><div align="center">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','710','height','197','src','flash/header1','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/header1' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="710" height="197">
<param name="movie" value="flash/header1.swf" />
<param name="quality" value="high" />
<embed src="flash/header1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="710" height="197"></embed>
</object></noscript>
</div></td>
</tr>
</table>
<table width="870" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- fwtable fwsrc="nav_bar.png" fwbase="nav bar.png" fwstyle="Dreamweaver" fwdocid = "507330011" fwnested="0" -->
<tr>
<td><img src="nav/spacer.gif" width="286" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="11" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="10" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="11" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="14" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="11" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="6" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="7" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="27" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="10" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="10" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="12" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="5" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="40" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="25" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="18" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="25" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="11" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="10" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="9" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="22" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="5" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="26" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="36" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="24" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="8" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="9" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="10" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="1" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="48" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="14" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="3" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="106" height="1" border="0" alt="" /></td>
<td><img src="nav/spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="33"><img name="navbar_r1_c1" src="nav/nav%20bar_r1_c1.png" width="870" height="3" border="0" id="navbar_r1_c1" alt="" /></td>
<td><img src="nav/spacer.gif" width="1" height="3" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="13"><img name="navbar_r2_c1" src="nav/nav%20bar_r2_c1.png" width="286" height="82" border="0" id="navbar_r2_c1" alt="" /></td>
<td rowspan="2" colspan="5"><a href="kotabatu.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('kota','','nav/kota_f2.png',1);"><img name="kota" src="nav/kota.png" width="57" height="9" border="0" id="kota" alt="" /></a></td>
<td rowspan="7" colspan="3"><img name="navbar_r2_c7" src="nav/nav%20bar_r2_c7.png" width="40" height="40" border="0" id="navbar_r2_c7" alt="" /></td>
<td rowspan="4" colspan="4"><a href="serasa.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('serasa','','nav/serasa_f2.png',1);"><img name="serasa" src="nav/serasa.png" width="37" height="15" border="0" id="serasa" alt="" /></a></td>
<td rowspan="4" colspan="4"><img name="navbar_r2_c14" src="nav/nav%20bar_r2_c14.png" width="108" height="15" border="0" id="navbar_r2_c14" alt="" /></td>
<td rowspan="4" colspan="4"><a href="boatyard.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('boat_yard','','nav/boat_yard_f2.png',1);"><img name="boat_yard" src="nav/boat_yard.png" width="52" height="15" border="0" id="boat_yard" alt="" /></a></td>
<td colspan="12"><img name="navbar_r2_c22" src="nav/nav%20bar_r2_c22.png" width="290" height="2" border="0" id="navbar_r2_c22" alt="" /></td>
<td><img src="nav/spacer.gif" width="1" height="2" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="3" colspan="4"><img name="navbar_r3_c22" src="nav/nav%20bar_r3_c22.png" width="91" height="13" border="0" id="navbar_r3_c22" alt="" /></td>
<td rowspan="2" colspan="3"><a href="links.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('navbar_r3_c26','','nav/nav%20bar_r3_c26_f2.png',1);"><img name="navbar_r3_c26" src="nav/nav%20bar_r3_c26.png" width="27" height="9" border="0" id="navbar_r3_c26" alt="" /></a></td>
<td rowspan="3" colspan="5"><img name="navbar_r3_c29" src="nav/nav%20bar_r3_c29.png" width="172" height="13" border="0" id="navbar_r3_c29" alt="" /></td>
<td><img src="nav/spacer.gif" width="1" height="7" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2" colspan="5"><img name="navbar_r4_c2" src="nav/nav%20bar_r4_c2.png" width="57" height="6" border="0" id="navbar_r4_c2" alt="" /></td>
<td><img src="nav/spacer.gif" width="1" height="2" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="3"><img name="navbar_r5_c26" src="nav/nav%20bar_r5_c26.png" width="27" height="4" border="0" id="navbar_r5_c26" alt="" /></td>
<td><img src="nav/spacer.gif" width="1" height="4" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="9"><img name="navbar_r6_c2" src="nav/nav%20bar_r6_c2.png" width="11" height="67" border="0" id="navbar_r6_c2" alt="" /></td>
<td rowspan="2" colspan="3"><a href="sailing.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('sailig','','nav/sailig_f2.png',1);"><img name="sailig" src="nav/sailig.png" width="35" height="17" border="0" id="sailig" alt="" /></a></td>
<td rowspan="3"><img name="navbar_r6_c6" src="nav/nav%20bar_r6_c6.png" width="11" height="25" border="0" id="navbar_r6_c6" alt="" /></td>
<td rowspan="9"><img name="navbar_r6_c10" src="nav/nav%20bar_r6_c10.png" width="10" height="67" border="0" id="navbar_r6_c10" alt="" /></td>
<td rowspan="2" colspan="4"><a href="oppy.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('oppy','','nav/oppy_f2.png',1);"><img name="oppy" src="nav/oppy.png" width="67" height="17" border="0" id="oppy" alt="" /></a></td>
<td rowspan="3" colspan="4"><img name="navbar_r6_c15" src="nav/nav%20bar_r6_c15.png" width="79" height="25" border="0" id="navbar_r6_c15" alt="" /></td>
<td rowspan="2" colspan="5"><a href="rigging.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('laser','','nav/laser_f2.png',1);"><img name="laser" src="nav/laser.png" width="72" height="17" border="0" id="laser" alt="" /></a></td>
<td rowspan="6" colspan="3"><img name="navbar_r6_c24" src="nav/nav%20bar_r6_c24.png" width="68" height="45" border="0" id="navbar_r6_c24" alt="" /></td>
<td colspan="5"><a href="sailresults.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('knot','','nav/knot_f2.png',1);"><img name="knot" src="nav/knot.png" width="82" height="15" border="0" id="knot" alt="" /></a></td>
<td rowspan="6" colspan="2"><img name="navbar_r6_c32" src="nav/nav%20bar_r6_c32.png" width="109" height="45" border="0" id="navbar_r6_c32" alt="" /></td>
<td><img src="nav/spacer.gif" width="1" height="15" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2" colspan="5"><img name="navbar_r7_c27" src="nav/nav%20bar_r7_c27.png" width="82" height="10" border="0" id="navbar_r7_c27" alt="" /></td>
<td><img src="nav/spacer.gif" width="1" height="2" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="3"><img name="navbar_r8_c3" src="nav/nav%20bar_r8_c3.png" width="35" height="8" border="0" id="navbar_r8_c3" alt="" /></td>
<td colspan="4"><img name="navbar_r8_c11" src="nav/nav%20bar_r8_c11.png" width="67" height="8" border="0" id="navbar_r8_c11" alt="" /></td>
<td colspan="5"><img name="navbar_r8_c19" src="nav/nav%20bar_r8_c19.png" width="72" height="8" border="0" id="navbar_r8_c19" alt="" /></td>
<td><img src="nav/spacer.gif" width="1" height="8" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="6">< Dani AI
Generated
Following 's security hint and the tests already run by , here are focused, practical checks to isolate why IE refuses to open a PDF while other approaches (Flash, other browsers) seem to work.
First, create a minimal test page and PDF in the same folder so nothing else can interfere. Use this anchor exactly as shown:
<a href="sample.pdf" target="_blank">Open PDF</a> If that fails in IE, work down this checklist:
- Serve the files over HTTP instead of opening the HTML from disk. IE applies stricter rules to file:// pages; run a quick local server (for example,
python -m http.server 8000) and loadhttp://localhost:8000/sample.html. - Verify the href is clean: no stray trailing dots, invisible characters, backslashes, or unencoded spaces. Editors sometimes inject characters that break IE but are ignored by Firefox.
- Check IE add-ons: ensure the Acrobat/Reader plugin is enabled (Tools > Manage Add-ons). As a diagnostic, toggle Reader's "open in browser" setting to force download and see if that changes behavior.
- When files are served, confirm the server sends the correct MIME type:
Content-Type: application/pdf. On Apache addAddType application/pdf .pdfif needed. Incorrect headers can make IE try to display differently. - Recreate the PDF with a different method (PDF print driver or newer Acrobat) to rule out an unusual PDF feature or security flag.
Notes and order to try: start with the plain HTML test, then HTTP serve, then plugin and MIME checks. The fact a Flash control opens the file suggests the browser is capable of launching the PDF but the link/path or server headers are being handled differently by IE. These steps will usually reveal whether the issue is local security, link formatting, plugin settings, or server configuration.
Recommended Answers
Jump to Post— MidiMagic 579Check the IE security settings.
All 2 Replies
MidiMagic 579 Nearly a Senior Poster
Check the IE security settings.
spycatcher69 0 Newbie Poster
Thank you for your reply
All security settings are ok ,this happens on all computers .I have tried the file on 4 different ones with different versions of IE.The View pdf in browser is enabled on all machines, as well as in acrobat.I also tried this link and tested the acrobat file it loads ok in IE am trying this offline before I upload to server.
Reg Peter
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.