shakmbakm — 2013-01-14T23:11:24-05:00 — #1
After a long layoff I am back editing my site! I have the new base finished. I need to make a word of text a link to another part of the page as well as change colors when hovering. I have done this with buttons but not text before. Thank you for your help!
markbrown4 — 2013-01-15T00:29:47-05:00 — #2
Do you mean a named anchor? linking to an id in the page?
<p><a href="#example">Example link</a></p>
shakmbakm — 2013-01-15T00:34:40-05:00 — #3
I'm not sure exactly. One of the words on a page needs to link to another page on the site. for example: sign up here. Here is supposed to be a link to the sign up page.
markbrown4 — 2013-01-15T00:40:26-05:00 — #4
Then you're just wanting a regular link, the href attribute can have a relative or absolute URL
This is a <a href="/example.html">link relative to site root</a> and here's an
<a href="http://google.com/">absolute link</a>.
shakmbakm — 2013-01-15T11:58:58-05:00 — #5
ah that makes sense. Does it matter if the link is before or after the word to be linked?
ralphm — 2013-01-15T20:06:46-05:00 — #6
It "wraps around" it, so to speak:
<font color='"#FF0000"'><a href="/example.html"></font><font color='"#0000CD"'>Word(s) to be linked</font><font color='"#FF0000"'></a></font>