| ||||||||
Status bar links display Posted by TedH (TedH), 8 June 2007 Hi Graham, have a question about the status bar. A domain has been mapped to a blog system. The domain is okay in the address bar, but when a link is hovered over the blog system subdomain appears in the status bar, instead of the actual domain. I.E. - http://mydomain.com/myfile.html reads in status bar as, http://subdomain.blogsystem.com/myfile.html The CNAME on the registrar has been set correctly according to their instructions and the blog system has been set to the domain as it should. I would have thought this to be common enough situaton that I'd find something on it but haven't. Is there a right way to show the correct links in the status bar? Hope you can help - thanks, Ted Posted by admin (Graham Ellis), 9 June 2007 I would tend to use onhover ... I think. Not something I've done but I came across Ed's Link Cloaker which seems to go in the right direction for you. You probably want to un it once and learn from what it comes back with.Perhaps yo could follow up here with your further research Thanks! Posted by TedH (TedH), 9 June 2007 Hi Graham, the domain mapping had not resolved fully and I was getting a false reading. It's fine now.Tested out the Ed's program and thought I'd do a little write up on it. Ed's Link Cloaker This is a little program that builds a link using javascript to alter the text shown in the status bar. You have to type in the link on your site, add the link you want to display in the status bar and a description. Then copy and paste it all into your HTML document. You need to do this for every link on your site. Code:
This could upset people (indeed, there are forum rants about altering status bar displays using these methods). You see the "nofollow" bit in the code? This probably will stop a search engine from following the link. The could mess up your SEO something fierce. Because of this, I do not like the method. When Javascript is turned off this will not work. A better use of Javascript would be a simple little JS file, called on every page. It simply hides the mouseover altogether. The URL still shows when clicked though. Using this method is more honest and shouldn't mess up how search engines pick up the links on your site. hidestat.js* Code:
The HTML: Code:
In the case of a domain being mapped to a blog system like Blogger, WordPress or TypePad etc., the mapping will solve the problem and the correct URL will show in the status bar. You may have to wait a while before this resolves depending on the registrar and host (I've just learned that the hard way). * This code is freely available from a number of sources on the net. Posted by admin (Graham Ellis), 9 June 2007 Thanks, Ted ....I'll give that a shot when I get half a chance. [Note to search engines ... keywords STATUS BAR, URL, HTML, HIDE, REDIRECT, LINKS] Posted by TedH (TedH), 9 June 2007 You're welcome Graham, enjoy.- Ted This page is a thread posted to the opentalk forum
at www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
| ||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |