[wp-testers] Highlight in Add Link Panel

Andrew Ozz admin at laptoptips.ca
Sun Mar 30 11:53:26 GMT 2008


Stephen Rider wrote:
> 
>> Other option would be to run some js onBlur and if there's no http://, 
>> add it. But then somebody will complain that it changes their links...
> 
> You bet they would.  I'd be first in line.
> 
> I use root links frequently, such as /blog/.  Adding http:// to the 
> beginning would break them.
> 
> Best to keep it the way it's always worked -- prefill "http://" and 
> select it, IIRC.

The highlighting is browser dependent. I'll have to run some more tests 
to make it work in most (there are lots of supported browsers now: FF2, 
FF3, Opera on Mac, Linux and Windows; Safari on Mac and Windows; IE6, 
IE7 and soon IE8 on Windows. Yep, that makes 13-14!).

I think Matt's idea is best: onBlur look for links starting with www. 
and add http:// in front, as they definitely need that.


More information about the wp-testers mailing list