HTML - Hyperlink Execute
Hello all,
whenever you make the hyperlink to a file, normally it will give you the option to either download or run. Is there some way to make the hyperlink go straight into opening(run) the file? maybe some sort of onclick command or something of that nature? Thanks in advance. Similar TutorialsI am a beginner in html and the problem is that the following html code is not working i.e. the code when pasted on a website doesn't get executed to display the image but shows the code as text instead. Other html tags display just fine. img src <http://i40.tinypic.com/1z5kwic.jpg> The image is in public domain. No firewall/ proxy is enabled. Greetings Please is there a way to execute these two scripts bellow, one of them is html and the other is javascript, with one click: <input type="button" onClicK="top.clearCountings(), top.clearIt()" value="CLEAR TABLES AND INTERNAL COUNTERS"> <a href="lottoDown.html" target="lottoDown">CLEAR RIGHT FRAME</a> Both belong to this: http://2move.me.uk/londoner.html Regards Recently other users and I brainstormed over at PSP forums. Many users want a youtube application for the psp, but the ram and memory simply wont allow it. Many websites offer an online youtube converter but these tend to take a while to convert, as well as wanting the url for the youtube video. The psp has no copy/paste function so it makes it rather hard to re-type a url with an on screen keyboard. There is already a youtube application for hacked/homebrew psp's, but it is rather laggy, and commonly putting homebrew on your psp will cause it to brick, and un-bricking can be expensive. The psp has a web browser which allows for you to run you own local files without using an internet connection, this means that we can open a local html file without using an internet connection. The other users and I stumbled across the following article http://googlesystem.blogspot.com/200...mp4-files.html It seemed like the perfect solution, but bookmarklets don't work on the psp. So we tried executing the javascript string through a html file, but to no avail. It only loaded a blank page that was running the javascript, instead of a youtube video with a download link. When the bookmarklet is used on a computer to download the video it works fine and the video plays in perfect quality when transfered to the psp. Conclusion: We would like some aid in creating something that will accomplish the goal of running the piece of javascript code so that we can simply choose a video to watch, download it (Yes, the psp can download files to its memory stick straight through the web browser), and watch it. None of us are that experienced in the coding field and if you could help us out, it would be greatly appreciated. If you wished to simply make the whole thing yourself, go ahead. Fell free to put your name and website all over it, as long as it works. If you were to make this work your creation would be used worldwide by hundreds of thousands. You have no idea how many people want this to work. I will answer any questions you have about supported file types and such. Thank you for taking the time to read this. hi how to add other styles to hyperlinks? Hi there, I'm trying to create a hyperlink that opens a word document. The filename is "C# Essentials.doc". I have the right path, and can open files that don't include special characters in their filenames, but I don't have the hang of putting special characters such as "#" into a hyperlink. Could anyone advise me the code to use for the filename? Thanks! F Hi Again, I'm trying to get the titles in my sidebar to link to the main frame (I have created 2 columns). For some reason the code is not making a hyperlink (this is borrowed code). Any ideas? <div class="leftMenuTab" onmouseover="menuMouseOver(this);" onmouseout="menuMouseOut(this);" onclick="window.location.href="c:CASARA Website/whatwedo.html" TARGET="main page"">What We Do</div> On the upside, all of my grief is on the first page. The rest of what I'm doing is much easier for me so hopefully I'll be out of your hair soon! Hi everyone, I want to know how to make a hyperlink open in different page/tab. So im left with the original page and the hyperlink has opened in another tab. Thanks for all of your help. Hello, I need to create a hyperlink however the website itself (The link) is very long and the html doesn't capture all of it. For eaxmple I want to use this text " Address " so it will take me to a very long link from mapquest of from yahoo maps. If you have an idea how to do it, it would be great. Guyav99. Hi can anyone help me with hyperlinking this group of images to the same url and so that they dont have a border. This is my site www.freewebs.com/out-and-out The images are the ones under 'team roster' on the index page. i have tried a few things but the images keep going missing. Code: <tr> <td> <div class="content"> <center> <img src="./images/thumb.jpg" alt="" /> <img src="./images/thumb.jpg" alt="" /> <img src="./images/thumb.jpg" alt="" /> <img src="./images/thumb.jpg" alt="" /> <br /> <img src="./images/thumb.jpg" alt="" /> <img src="./images/thumb.jpg" alt="" /> <img src="./images/thumb_hover.jpg" alt="" /> <img src="./images/thumb.jpg" alt="" /> </center> </div> </td> </tr> I have an .asp page and i am trying it to be cross compatible. The link works in IE page is http://www.domainname.com/DownloadCe...llfillment.asp the link on page is http://www.domainname.com/digitaldownload/filename.zip but for some reason in Firefox the link displays as http://www.domainname.com/downloadce...d\filename.zip Any help is appreciated I have a link: <a href="#"><strong>IMPACT Study </strong> </a> I with the # it always want to jump to top of page. I know there is code that will prevent this, but i forgot what it is? Any help? thank, mac Hi All, Possibly a double question here. On the main page of my website I plan to put an image (jpg or bmp) of the province divided into the three zones representing our organization. My intent is to set it up so that if your mouse goes over one of the zones, it will become hilighted and if you click it will link you to the website for that zone. So the question becomes: A) Do I need to create the image as 3 separate images or just one image? If 3 images how do I tell it to display correctly? B) How do I do the rollover with link? I have a link that handles being clicked with javascript. Currently I am doing the following: <a href="#" id="foo"> click me </a> And I handle the event of when foo is clicked in javascript. Ideally I would like it not to show the fake hyperlink when hovering over the link. Is there a better way to do what I am trying to accomplish? I want to keep the mouse icon changing when hovering over the link. Thanks, Mike Hello, My question seems simple but I'm having a hard time figuring it out. Basically I have shadowbox (like lightbox) installed on my site and it works great with hyperlinks but not so well with form submit buttons. After trying to figure out how get shadowbox to work with forms, with no luck, I'm trying a different option. Hyperlinks. Since shadowbox works so well with links, Is there a way that I can have some hidden form values, along with form drop downs and the like, transfered over to a link that will then launch into shadowbox? I read about javascript being able to do this but can't find any good solutions. Any help? I'm trying to link to an html page with tab's in it. Each tabs link is displayed: javascript:expandcontent('sc2',this) How can I link to this tab itself? If my address where (example): http://mywebsite.net/37460.1.98577/Products.html Thanks in advance! hi i have a question is it possible on some way when someone download something from my website it directly going into a map i chose (i want to make a website for my psp with demo's and it must copy it to the right map to play the demo) thanks in advance kevim Hi, I have a large image on my website. I need to make a small area of it clickable with a hyperlink. How can I do this without cutting the image up. I thought about putting a transparent image on the area I want hyperlinked. Are there any easier ways? thanks Hello mates, its my first post here. I am stuck with this weird hyperlink problem. whenever I set hyperlink to any page, it opens something else. For example: I have added this code for one link: Quote: <table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td width="100%"> <a href="kk.com"><img border="0" src="ChatNow.png" width="150" height="24" name="Chat Now!" onmouseover="document['Chat Now!'].src='ChatNowB.png'" onmouseout="document['Chat Now!'].src='ChatNow.png'"</a></a></td></tr></table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><td width="100%" bgcolor="#FFFFFF"><img border="0" src="11dot.gif" width="1" height="1"></td></tr> </table> It is supposed to open kk.com. instead, when i cllick on the link it opens something like dis: Quote: file:///C:/Documents%20and%20Settings/Yas/My%20Documents/My%20Web%20Sites/mysite2/kk.com any help? At this moment I am making a 'website' which shows embedded docx, doc, pfd, ppt or pptx files, using the google docs viewer. This works great, but of course I have a problem. The files on the server have one NONE variable part in the name, and the other parts are variable. So an example: firstfile_001.pdf firstfile_001.docx first_001_abc.pptx So the files can have 3 variable parts in it: *_001_*.* But only one of the files is present. So if there is a 001_*.pdf, there is no 001_*.doc. Is there a way to adobt to this variable urls? (PHP is not an option because it is not supported by the server. I cannot change anything on the server (i.e., get an other server or so.)) Hi guys I'm pretty new to web design and am just really learning as I go along. I've just launched a new site at www.SquaredCircleRadio.com (built pretty basically in Frontpage) and have a couple of questions regarding hyperlinks opening in new windows. My main problem is that I have 2 pages that i'd like to popup in seperate smaller windows. (player.htm and plaza.htm) however i'm having problems coming up with the solution. A couple of these need to be activated by clicking on Hyperlinked text and one of them by clicking on an image. I'd be very grateful for any help anyone could give me!! Many Thanks |