dude101
06-20-2005, 06:54 PM
<td><onclick>The Text</a></td>, how do i put this so it opens a file when you click on it? plz help
|
View Full Version : onclick open file dude101 06-20-2005, 06:54 PM <td><onclick>The Text</a></td>, how do i put this so it opens a file when you click on it? plz help bigolblob 06-20-2005, 07:15 PM Erm... Give this a shot. <td onclick="window.location = 'http:///';">The text</td> Change the url in bold. If you want a hand to appear as the cursor... <td onclick="window.location = 'http:///';" style="cursor: pointer;">The text</td> dude101 06-20-2005, 07:23 PM thnx m8! dude101 06-20-2005, 07:34 PM Why doesn't this work: <td onclick="window.location = 'C:My Documents/My Webight/My Websight/AnarchistsCookBook' title="Anachist Thingy";">Anarchist's Cook Book</td> MaGiCSuN 06-20-2005, 07:57 PM doesn't it work as in it does nothing or what? you are linking to your harddrive btw ;) but if that's only to test, then you are missing a / after C: Love, Mirna dude101 06-20-2005, 08:04 PM kk ill try da / thnx it still doesn't work ( it's not supposed to be a link it is supposed to open the file dude101 06-20-2005, 08:08 PM it still doesn't work ( it's not supposed to be a link it is supposed to open the file MaGiCSuN 06-20-2005, 08:27 PM the url you linked to isn't an url to a file. there is no extension at the end .. Love, Mirna dude101 06-20-2005, 09:49 PM all done thnx |