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> Quote 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> Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/157798-file-location/#findComment-832504 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.