|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (12 bit)
Join Date: Feb 2001
Location: UK
Posts: 2,469
|
Automatically linking certain words
This thought just popped into my head, excuse me if it's a bit weird/impossible
If you had a large website with pages of jargon that needed to be referenced back to a jargon buster/glossary page, what would be the easiest way of getting every occurence of a chosen word to link to that section of the glossary? Can it be done with, I dunno style sheets or something? :S cheers jim
__________________
Jim |
|
|
|
|
|
#2 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
Stylesheets wouldn't help any. You could possibly use Javascript something like this site uses for the ad links. That can be a bit heavy on the browser sometimes if there are a lot of words on the page.
If your pages are in a database then, you could probably use regular expressions to change various words when they are entered into the database. In other words, you enter the word, fatboyjim and it converts that word to fatboyjim. That wouldn't be extremely difficult to do but would require some testing to work out some of the bad data.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|