HTML - Opening Files
I'm sure this is probably one of the dumbest questions to appear here, but how would I get a link to a file to open that file in its native program - i.e. a .doc into Word or a .xls with Excel rather than in an IE plugin?
Problem is, of course, whilst the IE plugins work, they don't have full functionality. I read somewhere that you could change the default settings in Windows, but part of what I'm trying to set up is on a business computer and of course, things like file associations and registry are tied down pretty tight so they can't be accessed, so I need to do it from within a page of links. Many thanks (in hope) Similar TutorialsI am getting a "page not found" error when I try to open these kinds of files from my server via firefox or ie7. Any ideas why? Thanks~ I cant open my php file...ive downloaded wampserver to support the file but it still doesnt open...wat could b the problem here??? how can i make the open a new window code work as it is in this include file: <div id="footer"> <img src="images/footer.jpg" alt="" width="998" height="45" border="0" usemap="#footer" /> <map name="footer" id="Map2"> <area shape="rect" coords="0,0,162,45"href="http://www.myspace.com/spittinknowledge" alt="myspace" /> <area shape="rect" coords="184,0,308,45" href="affiliates.shtml" alt="affiliates" /> <area shape="rect" coords="328,0,482,45" href="#" onclick="MyWindow=window.open('webmaster.shtml','Contact Spittin-knowledge.com webmaster','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes, width=525,height=560'); return false;"></a> alt="webmaster" /> <area shape="rect" coords="501,0,655,45" href="disclaimer.shtml" alt="disclaimer" /> <area shape="rect" coords="672,0,998,45" href="#top"/> </map> </div><!-- end of nav --> Can someone post the code I would use to have a hyperlink on our webpage that would give visitors the option to view or download a pdf? Thanks! Hi Guys/Girls, Quick Question im in the process of creating a website, and i have a table that contains links to other pages on the website, im having trouble on one, what im trying to achieve is when they press the link which is named "Add to Favourites" then it will automatically open there "Add to Favourites" tab "located top of the browser" but unfortunately its not working for me :-/ im currently using firefox for my browser im not to sure if this is the correct place to paste such an issue but im not to sure...... my snippet of the code is below, hope some one can help me. HTML Code: <tr style="Height:20px"> <td style="width:20px"><img src="/images/TriangleOnBlue.jpg" width="10" height="10" border="0" align=middle></td> <td style="width:108px" align=left valign=middle><a href="javascript:window.external.AddFavorite(location.href,document.title);" class="BlueTiny">Add to Favorites</a></td> </tr> I will also point out that all my Java is enabled.... Hope someone can help. Hello - I am a newbie to the forum needing assistance with some HTML coding. I am trying to create a page which has a number of small images acting as buttons. When an image is clicked, a new window is opened which displays that image in full size. I would like this page to contain a "Close Page" button which closes this page. Also, is there HTML code which prevents users from downloading images that appear in this new window? Addition: I have found javascript code which closes a browser window: <a href="javascript:window.close()"> <img border="0" src="closingwindows.gif" width="95" height="46"> </a> but where do you put this code, given that the new page to display the full size image is created from the page that contains the thumbnail of that image? Any help appreciated! Onesimus Hi, I want to open PDF files within my website so users can browse the file on the site rather than having to download the whole PDF file. How can I do this ? Hey guys I got this: <a href="http://www.youtube.com/watch?v=mdWkKKSckNk target="_blank"<font size="3" face="arial" color="black">Sony Video</font></a> But its not opening in a new tab, and all the forums and posts about it are 4 years old and say that it's impossible. So what is the code to open a hyperlink in a new tab? Thanks in advance Sensen heya guys i want to open a webpage in a new window when i click on a hotspot. can anyone tell me what i need to do? frosty I have a link on my website that opens up a new window, and that new window opens up and is resized to be smaller at 400X300. It works just fine on Internet Explorer and Safari, but when it's in Firefox the new window opens up on a separate tab in the same browser window and causes the whole window to resize to 400X300. Is there a way to fix this? Like is there a better coding to make sure Firefox will open this link in a new window for sure, and not just a separate tab? I'm using the coding target="_blank" right now..... Hello, I need some help with showing a pop-up in an application. This is a part of the HTML: HTML Code: <?xml version="1.0" standalone="yes"?> <Legendgroup> <Name>AERO</Name> <DisplayName>Aerorama's</DisplayName> <ShowInLegend>true</ShowInLegend> <DefaultVisibility>true</DefaultVisibility> <Legendentries> <Legendentry> <Name>AERO11</Name> <DisplayName>Aerorama's 2011</DisplayName> <MinScale>0</MinScale> <MaxScale>2501</MaxScale> <ConnectionName>Spatial</ConnectionName> <TableName>AERORAMA</TableName> <WhereClause>Where EXPIRED is null</WhereClause> <Tooltip>Toon Aerorama: <%.RECORDINGDATE%></Tooltip> ------------------------------------------------------------------ <ShowInLegend>true</ShowInLegend> <DefaultVisibility>true</DefaultVisibility> <IsRaster>false</IsRaster> <DisplaySymbology> <Color>RGB(0,165,0)</Color> <Font>WebDings</Font> <FontChar><![CDATA[µ]]></FontChar> <TextSize>10</TextSize> </DisplaySymbology> <HotspotSymbology> <Color>RGB(231,99,231)</Color> <Weight>3</Weight> </HotspotSymbology> </Legendentry> </Legendentries> </Legendgroup> I can select the symbol and want to open a new window (pop-up). In the table AERORAMA there is a column named PATH and contains this kind of info: \\st001b\Data\GIS Fotos\Fotos\Aerorama\zuid\BopZ_0004.html It's a path on some internal storage drive. I want the file above to be openend in the new window. How can i alter the HTML code above to make this happen? I thank you already! Marteijn Hello frndz, i have made a landing page and a contact page tilll i complete the website , Websites URL is www.holycowtravels.com. The problem is that it is opening in chrome and firefox but not in IE please check out the code and try to please assist me. Regards, Nishant I created a page with a chromeless window. Clicking on 'enter' on the index page will open the homepage in a chromeless window. However, whenever you click enter on the index page, the index page itself is also loading the homepage. (so it's double, one on the index page and one in a chromeless window). How can I get it to stop, so that it only loads a chromeless window and the index page stays the same? I used the chromeless window codes from the following page: http://www.lissaexplains.com/javascript9.shtml Hi guys, new to this, and trying to learn. I have some code in a newsletter which opens a new page from a link perfectly well in a pc browser, but fails to open the same link on my iphone, which just asks me to 'save image' or 'copy'. My code below: <td width="200" align="left" valign="top"><a href="http://bit.ly/xxxxxx"><img src="xxxxxxx.jpg" width="195" height="150" alt="xxxxx" /></a></td> Also, I've tried opening a link from another newsletter on my iphone which works perfectly well, as below: <span style='font-size:9.0pt;font-family:"Arial","sans-serif";mso-fareast-font-family: "Times New Roman"'><a href="http://www.audible.co.uk/pd?asin=B005XOXIPM"><b><span style='text-decoration:none;text-underline:none'><img border=0 id="_x0000_i1038" src="http://ecx.images-amazon.com/images/I/41gzRQAgY+L._SL95_.jpg" alt="Steve Jobs" title="Steve Jobs" class=adbl-prod-image></span></b></a><o:p></o:p></span></p> I can't see the specific difference, plese help. Thanks I'm sure that title was kinda confusing, but what I meant was how is this achieved? Typing this into your address bar and opening: www.mywebpage.com/about/ This doesn't work for me; I don't know how to do it. I have tried putting a index.html in the /about sub folder, but it still doesn't work. I apologize if I have not explained this sufficiently. I take are of an internal site on our companies intranet. I have a set of 3 iframes for content. The problem I am experiencing is when a link I have in one of the content pages is clicked (target is already set to _blank) the link still opens inside the iframe. <a href="http://support.microsoft.com/kb/301583" target="_blank">Windows XP Shortcuts</a> that is the code on the site. like I said, this is on a page that gets loaded into an iframe Thanks for the help. I'm an html novice, and I'm trying to get a file to open in a new window and not replace the current screen. What can I add to this code and try? <html> <head> </head> <body> <script type="text/javascript"> location.replace('http://www.company.com/file.pdf'); </script> </body> </html> Currently, when clicked in a doc library in Sharepoint, the file takes over the screen, which is what I want. However, the user can't use the back button to return to the previous screen. So, how can I change this code so the file pops in a new window but doesn't also take over the original window (since location.replace causes this)? Or is there code I can add which allows the user to use the back button in the ie browser? Thanks! I appreciate any help you can give! Nicole Generally when you click a link to e. g. JPEG image, it is open in browser window. When you click a link to a ZIP file, it is downloaded. Is there a possibility to force a browser downloading e. g. a JPEG image? I am using iframe on one of my webpages and it contains links to other webpages on my site. Currently when I click on one of those links it opens the new page inside the iframe I declared. I would like it to open on the full page in the browser, like a common link would and not open a whole tab either. I hope this makes sense. If anyone can help I would greatly appreciate it. Thanks! Hi. I am wondering if there is any way of opening/closing an object in HTML or CSS or Javascript? For example, I have a Chat Box that is floating on the bottom left of the screen, I want to be able to close it if I don't want to see it, and if i want to open it up again, I would do so. If anyone can help, it would be greatly appreciated! Thanks, Chris |