jakeselectronics
Member
Hello everyone.
I have a website on which I post programs written in assembly lanuage.
I would like to know if there is a way of changing the font colour of words depending on what the word is.
Here is an example of one of my programs, you can see my colour scheme.
Jake's Electronics - Tutorial
But if you check out the source (View, Source), you'll see I have had to change the colour of every word except the comments, which is the page default, being grey.
I want to be able to 'store' a list of words in the <head> of the page, and if that word is typed in the <body>, change colour to what ever I say.
Like have a default of grey, but if GOTO is typed, make that blue.
My method at the moment is extreamly tendious, and it makes adding longer porgrams very hard and time consumming.
Is it clear what want to do?
Is anyone on here good at web programming?
I posted a thread on a html forum, but it got moved inside a forum that was inside a forum that was inside a forum....that was inside a forum. With 1 person viewing....
Didn't get much help lol
Thanks,
Jake.
I have a website on which I post programs written in assembly lanuage.
I would like to know if there is a way of changing the font colour of words depending on what the word is.
Here is an example of one of my programs, you can see my colour scheme.
Jake's Electronics - Tutorial
But if you check out the source (View, Source), you'll see I have had to change the colour of every word except the comments, which is the page default, being grey.
I want to be able to 'store' a list of words in the <head> of the page, and if that word is typed in the <body>, change colour to what ever I say.
Like have a default of grey, but if GOTO is typed, make that blue.
My method at the moment is extreamly tendious, and it makes adding longer porgrams very hard and time consumming.
Is it clear what want to do?
Is anyone on here good at web programming?
I posted a thread on a html forum, but it got moved inside a forum that was inside a forum that was inside a forum....that was inside a forum. With 1 person viewing....
Didn't get much help lol
Thanks,
Jake.