Thread: Automatic Links
Results 1 to 2 of 2
06-09-2004, 11:21 PM #1
Hi there, everybody. I've got an interesting question for you all.
I run a quaint little blog, hosted by Blogger. I have many friends that I commonly link to. However, with Blogger's new templates, the sidebar is packed with stuff already, and it would just be cluttered with links if I was to put my friends blogs in there. I'd like to have some way of automatically linking to one of my friends websites when I type their name in a post. For example:
My friend Grace has a journal at http://dreamsarefun.blogspot.com Rather than writing all that time-consuming HTML to put the link in the journal, I'd like to just type "Grace" and have it automatically link to that site. Is there any possible way to do this?
And if not, can anybody think of a nice clean way to organize my links, without them taking up too much space?
My journal's at http://urbishia.blogspot.com
Thanks a heap.
06-10-2004, 05:51 AM #2bald headed old fart
- Aug 2003
- chertsey, a small town 25 miles south west of london, england.
Hi there Urbish,
Try this code. It has three links, but can be extended to any number.
To test type in the input box...
- google or
- yahoo or
The inputs are case sensitive so Google or grace would bring up an alert box.
The styling and positioning are done with 'css'.
Just adjust the values to suit your needs and taste