Hmmmm, it's really tricky for me to conceptualise how to code this because I'm completely not accustomed to coding.
Let's pretend that 'abc' is 'ab' so it's only two letters then.
1. I'm not sure how it does. Could make it select the word 'abphone' then choose the first two letters, or select the word 'abphone' then find 'ab' within that selection then change the colour. Either would work. The colour is based on what the whole worded product name is as my first post says.
2. The colours that they are is irrelevant. I can change this myself. I'm just looking for a good template that I can add and remove products from. Make "abphone" orange, "abmobile" yellow, "abdesktop" green and "ablaptop" pink.
Appreciate any help given
|