masking real url

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Calimero
Forum Contributor
Posts: 310
Joined: Thu Jan 22, 2004 6:54 pm
Location: Milky Way

masking real url

Post by Calimero »

INTRO:

I have already searched the web about this, and found something like "friendly URL's", but they don't do the job exactly as I want.

THIS IS THE PROBLEM:

I want to convert (hyper)link to some words to appear in the line on the bottom of the browser

EXAMPLE:

<a href='http://www.somesite.com/somedir/somefile.htm'>123</a>

this would show:

http://www.somesite.com/somedir/somefile.htm

and I need it to display some/any text i design:

for exapmle:

this link takes you to this section

Can this be done trough PHP, or Javascript or what ??

THANKS AHEAD!
User avatar
andre_c
Forum Contributor
Posts: 412
Joined: Sun Feb 29, 2004 6:49 pm
Location: Salt Lake City, Utah

Post by andre_c »

that's javascript:

Code: Select all

<a href='somepath' onmouseover='window.status="This link bla bla"' >Some link</a>
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

we've talked about this in the last several hours, literally: viewtopic.php?t=23306
Post Reply