Hiding a link's url - CSS |
![]() ![]() |
Hiding a link's url - CSS |
Jul 10 2008, 12:19 PM
Post
#1
|
|
|
Member ![]() ![]() Posts: 38 OS: Windows XP (SP2) |
I am working on my blogsite, don't know much of CSS but I found a way to hide the URL of my link in the Window Status using; <a href="link" onMouseOver="window.status=' ' ; return true;" > However the linked page takes a second or two to load, and while it loads the link appears in the Window Status. Is there any way for me to hide that totally as it loads? also i don't want to show the url of link if someone right click on it... Thanks. |
|
|
Jul 10 2008, 04:56 PM
Post
#2
|
|
![]() Trusted Techie Posts: 4,477 From: FEMA took "Tin Can" away! OS: Win XP/Vista Home Premium. Backup PC: Commodore 64 with 300 baud modem! |
Not sure about not showing in the browser's address window, but can try visibility: hidden for the page itself. There is really no way to prevent right-clicking except by JavaScript and anyone can disable it and then right-click or just look at the source code.
There may be a way to do an engine rewrite statement on your .htaccess file if allowed to change url in browser window. Personally, I would be very suspicion of any site trying to hide links and URLs and ban them. Ron Corrected style code. This post has been edited by Major Payne: Jul 15 2008, 08:12 PM |
|
|
Jul 15 2008, 06:53 PM
Post
#3
|
|
![]() TA Moderator Posts: 1,276 From: SET HOMEPATH OS: Windows 95/98/2000/XP/Vista |
I would echo the same concerns as Major already has. To do this in javascript, you could try using:
CODE <a href="" onClick="window.open('link', '_blank', '');">Link</a> This will open the 'link' in a new window without showing the link's URL in the status bar, it will just show the current page's URL. Regards, Ax |
|
|
Jul 17 2008, 09:06 AM
Post
#4
|
|
|
Member ![]() ![]() Posts: 38 OS: Windows XP (SP2) |
I would echo the same concerns as Major already has. To do this in javascript, you could try using: CODE <a href="" onClick="window.open('link', '_blank', '');">Link</a> This will open the 'link' in a new window without showing the link's URL in the status bar, it will just show the current page's URL. Regards, Ax that works... thanks a lot |
|
|
Jul 18 2008, 04:45 PM
Post
#5
|
|
![]() TA Moderator Posts: 1,276 From: SET HOMEPATH OS: Windows 95/98/2000/XP/Vista |
|
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies / Views | Topic Information | |||||
|---|---|---|---|---|---|---|---|
![]() |
3 / 560 | 6th July 2004 - 10:39 AM zim started - last by Smokey |
|||||
![]() |
2 / 361 | 6th May 2007 - 05:57 AM Learnatic started - last by Learnatic |
|||||
![]() |
2 / 200 | 5th July 2008 - 08:09 AM ExAngel started - last by Rorschach112 |
|||||
![]() |
2 / 139 | 6th November 2008 - 03:43 PM JWD49 started - last by JWD49 |
|||||
|
Time is now: 3rd December 2008 - 12:27 AM |
| Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk. |