FRIHOST • FORUMS • SEARCH • FAQ • TOS • BLOGS • COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Link issue ok lookie here,





anibliss
Quote:
td BORDER="1" width="415" bgcolor="C6D1B3">&nbsp;<a href="">home</a>
that is the code i have for a link on my home text on my site. (anibliss.frihost.net) Ok now mouseover the link, it has my full link of my site... What is wrong there is no code in my html that should make this happen O_O im so confused...
anibliss
I think i figured it out. I made a seperate page and made a link. It seems the FRIHOST server adds the home link to every link on the site... :-/

http://anibliss.frihost.net/index2.html
Bondings
I'm sorry, but that's not the frihost server who does that, but your own browser.

It is called a relative url. It is used quite a lot. If you don't mention the "http" in your link, then the browser will think it is a relative url and thinks it is on top of the url it is in.

Let's say you are in directory x, (??/x/subject.html) and you want to link to an image with a relative url, you should use images/image.gif to reach ??/x/images/image.gif .

You can of course always use a normal link, but you should always add http in front of it.
anibliss
hehe, wow i didnt know that, thanks ^^
darknez3
But heres something that may help you out with hiding your full link address:

Code:
<A HREF="http://www.yourwebsite.com/yourdestination/link.htm" onMouseOver="return setStatus('TITLE IN THE ADDRES BAR BELOW GOES HERE')">Title</A>
Related topics
Ok a little help for a semi-beginner
Okay, I'm done trying to use CSS for layout.
Are we allowed to link to mp3 sites?
Laptop Bootup Problems...
Buying Signature space
Versions of THE Holy Bible
hard drive question
Making a Dynamic link button
Receba Revista Veja e Caras de Graηa
CPanel and FTP access is buggy...
Unable sending mail - verification error
What you think about our president?
Black Hole, Does it realy exist?
consistently get different script errors when logged in
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.