Welcome Guest ( Log In | Join )

Discover the best free computer help!
Learn more about Geeks to Go by taking the tour. Spyware, virus, trojan, fake security or privacy alerts? Read the malware cleaning guide. Want to reply to a topic, start a new one, or remove the advertising? Join today (always free).
      
 
Reply to this topicStart new topic
Hiding a link's url - CSS
hihassan
post Jul 10 2008, 12:19 PM
Post #1


Member
**
Posts: 38
OS: Windows XP (SP2)



Hi,

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.
Go to the top of the page
 
+Quote Post
Major Payne
post Jul 10 2008, 04:56 PM
Post #2


Trusted Techie
Group Icon
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
Go to the top of the page
 
+Quote Post
Ax238
post Jul 15 2008, 06:53 PM
Post #3


TA Moderator
Group Icon
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
Go to the top of the page
 
+Quote Post
hihassan
post Jul 17 2008, 09:06 AM
Post #4


Member
**
Posts: 38
OS: Windows XP (SP2)



QUOTE (Ax238 @ Jul 16 2008, 05:53 AM) *
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 thumbsup.gif
Go to the top of the page
 
+Quote Post
Ax238
post Jul 18 2008, 04:45 PM
Post #5


TA Moderator
Group Icon
Posts: 1,276
From: SET HOMEPATH
OS: Windows 95/98/2000/XP/Vista



thumbsup.gif Great! Glad to hear it.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies / Views Topic Information
No New Posts   3 / 560 6th July 2004 - 10:39 AM
zim started - last by Smokey
No New Posts   2 / 361 6th May 2007 - 05:57 AM
Learnatic started - last by Learnatic
No New Posts 2 / 200 5th July 2008 - 08:09 AM
ExAngel started - last by Rorschach112
No New Posts   2 / 139 6th November 2008 - 03:43 PM
JWD49 started - last by JWD49

RSS 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.