Using Dhtml inside CRM
Hi,
We can make use of Dhtml inside our CRM onLoad, onSave and onChange javascripts.
Using Dhtml, number of possible ways of customizing CRM increases.
But the only thing with them is that they are unsupported.
Just for fun try putting this code in form load of your contact form and see what it does.
window.status=”Hello CrmUser!”;
window.resizeTo(600,600);
function G_GlowField()
{
event.srcElement.runtimeStyle.backgroundColor=”Yellow”;
var p=window.createPopup()
var pbody=p.document.body
pbody.style.backgroundColor=”lime”
pbody.style.border=”solid black 1px”
pbody.innerHTML=”Mandatory Field”
p.show(150,150,200,50,document.body)
}
function G_RevertField()
{
event.srcElement.runtimeStyle.backgroundColor=””;
}
crmForm.all.firstname.attachEvent(“onmouseover”,G_GlowField);
crmForm.all.firstname.attachEvent(“onmouseout”,G_RevertField);
crmForm.all.firstname.attachEvent(“onmousedown”,G_RevertField);
Or Better check this link
Using the attachEvent method to show users context sensitive help
Bye
This was originally posted here.

Like
Report
*This post is locked for comments