- Colour coding screens
- Posted by Mark Davies on April 27th, 2007
Quick question that I hope someone can help me with
Do you know if it is possible to colour code the different screens in CRM
e.g. Blue for Opportunity, Green for Lead, Orange for Company, Yellow for
Contact
The idea has come about to make it easier for users to see at a glance what
type of screen is which given the number of windows that CRM can pop-up
Many thanks for any help.
Kind Regards,
- Posted by Michael Höhne on April 27th, 2007
Hi Mark,
Simply add this line to the OnLoad event:
document.body.style.backgroundColor = 'red';
Put it into all entities you want to change and replace 'red' with your
favorite colors.
--
Michael Höhne, Microsoft Dynamics CRM MVP
Web: http://www.stunnware.com/crm2
Feed: http://www.stunnware.com/crm2/atom.aspx
Custom Lookup Dialog: http://www.stunnware.com/crm2/?area=customLookup
----------------------------------------------------------
"Mark Davies" <MarkDavies@discussions.microsoft.com> schrieb im Newsbeitrag
news:187A84A1-051E-4C30-80C4-5F6CC8439876@microsoft.com...
- Posted by Mark Davies on May 8th, 2007
Many thanks for that Michael it works a treat.
Kind Regards,
Mark
"Michael Höhne" wrote:
- Posted by Lotten Holm on May 15th, 2008
Hi,
I don't get this to work. I hav added this to the form/ onload event for
accounts but the colour doesn't change.
Is it different in 4.0?
/Lotten
"Mark Davies" wrote:
- Posted by Michael Höhne on May 15th, 2008
Try this:
document.all.areaForm.style.backgroundColor = 'yellow';
document.all.tab0.style.backgroundColor = 'red';
document.all.tab1.style.backgroundColor = 'blue';
document.all.tab2.style.backgroundColor = 'green';
document.all.tab3.style.backgroundColor = 'cyan';
--
Michael Höhne, Microsoft Dynamics CRM MVP
CRM Blog on http://www.stunnware.com
----------------------------------------------------------
"Lotten Holm" <LottenHolm@discussions.microsoft.com> schrieb im Newsbeitrag
news:B5AF47CB-2604-474E-918A-3276C7EB7E0D@microsoft.com...
- Posted by Lotten Holm on May 16th, 2008
Hi,
Thanks this works great. How can I get more "sofisticated" colours?
/Lotten
"Michael Höhne" wrote:
- Posted by Michael Höhne on May 18th, 2008
Use element.style.backgroundColor = '#rrggbb'; (RGB value)
rr, gg and bb are hex values, e.g. '#A040FF'
--
Michael Höhne, Microsoft Dynamics CRM MVP
CRM Blog: http://www.stunnware.com/?area=blog
----------------------------------------------------------
"Lotten Holm" <LottenHolm@discussions.microsoft.com> schrieb im Newsbeitrag
news:EA151EE7-65CE-46F8-BFFC-B89F8F9EE803@microsoft.com...