dreamwest Posted May 12, 2009 Share Posted May 12, 2009 I want to use javascript to background proccess a url thats linked to a file http://site.com/files/photo.jpg How can i make the link so it doesnt display the file location <div id="link"> <a href="javascript here">Photo</a> </div> Link to comment https://forums.phpfreaks.com/topic/157798-file-location/ Share on other sites More sharing options...
RichardRotterdam Posted May 12, 2009 Share Posted May 12, 2009 sounds pointless to do but you can use onclick to "hide" the true link when someone hovers over the link <a href=# onclick="http://www.chucknorrisfacts.com/">link</a> Link to comment https://forums.phpfreaks.com/topic/157798-file-location/#findComment-832264 Share on other sites More sharing options...
Ken2k7 Posted May 12, 2009 Share Posted May 12, 2009 Encrypt the URL and then when clicked, decrypt it before it you redirect the user. Link to comment https://forums.phpfreaks.com/topic/157798-file-location/#findComment-832504 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.