Показать сообщение отдельно
  #13 (permalink)  
Старый 17.02.2012, 01:52
Новичок на форуме
Отправить личное сообщение для adzerkot Посмотреть профиль Найти все сообщения от adzerkot
 
Регистрация: 17.02.2012
Сообщений: 8

Сообщение от рони Посмотреть сообщение
adzerkot,
укажите в onclick функцию а не строку
document.getElementById('minmax').onclick=function ()
{
  minmin('exp');
}
Сообщение от рони Посмотреть сообщение
adzerkot,
рискните так )))
function maxmax(id)
{
document.getElementById('minmax').onclick=function (){minmin('exp') };
document.getElementById('hgh').style.height=(document.body.clientHeight-195)+'px';
document.getElementById(id).style.width=document.body.clientWidth+'px';
document.getElementById('ckk').style.top='0px';
document.getElementById('ckk').style.left='0px';
document.getElementById('ckk').className="";
}
function minmin(id)
{
document.getElementById('minmax').onclick=function (){maxmax('exp') };
document.getElementById(id).style.width='1110px';
document.getElementById('hgh').style.height='350px';
document.getElementById('ckk').style.top='25px';
document.getElementById('ckk').style.left='25px';
document.getElementById('ckk').className="rouming";
}
не пойму как, но помогло! СПА-СИ-БО!!!!
Ответить с цитированием