Forum Moderators: coopster
I will be grateful, if anyone can help me with this:
I need to encrypt a URL, currently if a user moves the cursor over a link, the URL is diaplayed as follows:
[oneofmydomain.com...]
What I would like to do is to display only this when the user moves the cursor over the link
[oneofmydomain.com...]
However, at the same time, I would like to passon the extra parameters when the user clicks the links
I tried PHP encryption function, but couldnt do it.
Regards,
There is another method but the possible impact on the web is rather dark as it hides everything. Why, the theological implications alone are staggering. But here it is:
php can read co-ordinates from images, much like image mappery, so it's possible to set up an image as a button in a form and read the clicked on co-ordinates with the php script in the action attribute. A series of conditionals or a switch statement would then send your visitors flying. And nothing, I said nothing, shows up in the status bar, or anywhere else for that matter, except the original url; presumably your site's index page. No need to include the file.name in the url or action attribute, so it would be [oneofmydomain.com...] forever and always. As there're no href links, there're no link references. And View > Source shows only a small form with an innocuous image reference.
Evil enough for you?
I really hesitate mentioning this as the effect on SE indexing, if used as primary navigation, would be akin to lights out.
This simply changes the status bar text whenever someone hovers the mouse pointer over a certain link, also this example clears the status bar as the mouse leaves the link.
There are ways around it but it will fool most people unless they are using a text-only browser, browsing with javascript turned off or actively looking for a disguised link.
e.g. lets say you have the following url...
<a href="http://www.example.com/?blah=foo">click me!</a>
...but wanted to make it appear like it was pointing at the root, you could try something like this; (line breaks aren't necessary but make the example easier to read)...
<a href="http://www.example.com/?blah=foo"
onMouseOver="window.status='http://www.example.com/';return(true);"
onMouseOut="window.status='';return(true);">click me!</a>
- Tony
<a href="http://www.oneofmydomain.com/?affid=myaffid&some_extra_parameter" title=
"http://www.oneofmydomain.com" onMouseOver=
"window.status='http://www.oneofmydomain.com'; return true">Link</a>
<added>oops, Dreamquick beat me to it<added>
[edited by: Key_Master at 8:56 pm (utc) on Aug. 4, 2002]