Показать сообщение отдельно
Старый 08.09.2009, 11:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,646 / 848 (80) +++++++
Регистрация: 28.10.2006
mscrm4ever: CRM 4.0 Changing Tab Order
Источник: http://mscrm4ever.blogspot.com/2009/...tab-order.html
==============

A while back i posted a solution for changing vertical tabbing to horizontal tabbing. The code ran a bit slow with lookups and so the code below is a revision of the previous posting with the fix.


function OnCrmPageLoad()
{
ReArangeTabIndex();
}

function ReArangeTabIndex()
{
for( var i = 0 ; i < crmForm.all.length ; i++ )
{
var element = crmForm.all[ i ];
if (element.tabIndex)
{
if (element.className == "ms-crm-Hidden-NoBehavior" || element.tagName == "A")
{
continue;
}

element.tabIndex = 1000 + (i*10);
}
}
}

OnCrmPageLoad();



Источник: http://mscrm4ever.blogspot.com/2009/...tab-order.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.