Link colour in menus

m4u
20 Nov 2014, 23:13
When using the default menu of Quest with hyperlinks, how can I achieve that the link have the same color that the object link colour?

For example>

You can see a cat and another cat

>Kill cat

Which cat do you mean?

1.cat
2.cat

Thank you!

Pertex
21 Nov 2014, 09:44
Could you post an example file, plz? When I change the default colour of hyperlinks, the colour of the menu links are changed,too.

m4u
21 Nov 2014, 16:13
I mean when every object has its own link colour set on the object tab, not by using the game tab.

jaynabonne
21 Nov 2014, 21:00
You'd have to change the menu code. It doesn't honor the object link color.

m4u
23 Dec 2014, 17:27
I fix it with this code and it's working even on the mobile:

count + ": <a class=\"cmdlink\" style=\"" + GetCurrentTextFormat(colour)+ "\" onclick=\"ASLEvent('ShowMenuResponse','" + option + "')\">" + optionText + "</a>"

colour is the .linkcolour of the object.

How can I achieve the same for the object links on the mobile, i mean, the links in the menu are working but the links in the room description are not? It only shows the default link colour.

m4u
07 Jan 2015, 23:10
Anyone?

Brian123
01 Feb 2015, 01:45
Another way is to change the object name such as Big cat, Ginger cat, Angry cat, Neigbours cat etc so you know what cat to click on.