I was putting up a few sites what were selling ebook packages - but instead of downloading the files into folders on each domain I just wanted to leave the files in one folder and add links that pointed to it from the different site - (Like everyone normally does But - - I want to hide the link - I dont want it to show up in the bottom bar on mouseover as I dont want my members to have access to all the files in the folder. So is there any way to hide the link from showing? thanks
add a class to that link, then add css to it. make it display: none; or better yet, not add the link at all.
I assume you want the link to be "http://www.yoursite.com/thebook.zip" rather than "http://www.whereitreallyis.com/thebook.zip" but the file only exists on the 2nd domain? What is your reasoning for doing this, there are different ways to achieve the result you want and dependant on the reason will change the method.
Hi AstarothSolutions....thats exactly what I'm looking for. Well...I'm planning to keep all my downloads in one folder and use them on the different sites that I'm selling ebooks on. so all I want is to be able to have the click here button...but not the url showup on mouse over...I've seen this done before with affiliate links....just cant remember how
how about you just put a blank index.html page in the folder and no one can see a list of files. or maybe this little java script or a little css remember javascript can be disabled in FF
To hide it you will have to do it server side. As I dont know what programming language you are using I cant give a sample script (plus I suspect it will be PHP in which case I cant help as I personally only know ASP/ .Net) but in principle you have a page called something like "file.aspx" which you link to with a querystring element for the name of the true file (eg file.aspx?f=book.zip) File.aspx gathers the querystring, collects the file from its true location and streams it to the user - remember you will need to change the content type of the file.aspx from text/html to the content type of the file itself (eg application/zip) as this will make the correct response occur (for zip it will give the option to save or open)