|
MW_System_Load.prototype.addsevent = function(func){
if(this.objects.addEventListener){
this.objects.addEventListener(this.types,func,false);
return true;
} else if (this.objects.attachEvent){
this.objects.attachEvent("on" + this.types,func);
} else {
return false;
}
}
MW_System_Load.prototype.browser = function(){
this.ver = navigator.appVersion;
this.agent = navigator.userAgent.toLowerCase();
this.dom = document.getElementById ? 1:0;
this.all = document.all ? 1:0;
this.ie5 = (this.ver.indexOf("MSIE 5")>-1 && this.dom) ? 1:0;
this.ie6 = (this.ver.indexOf("MSIE 6")>-1 && this.dom) ? 1:0;
this.ie4 = (document.all && !this.dom) ? 1:0;
this.ie = this.ie4 || this.ie5 || this.ie6;
this.opera = this.agent.indexOf("opera")>-1;
this.gecko = (this.agent.indexOf("gecko")!=-1) ? 1:0;
this.bw = (this.ie || this.opera || this.gecko);
return this;
}
MW_System_Load.prototype.findobj = function(obj){
this.parent = window.document;
if(this.parent[obj]){ return this.parent[obj]; }
if(this.parent.all && this.parent.all[obj]){ return this.parent.all[obj]; }
if(this.parent.layers && this.parent.layers[obj]){ return this.parent.layers[obj]; }
if(this.parent.getElementById && this.parent.getElementById(obj)){ return this.parent.getElementById(obj); }
return null;
}
var MW = new MW_System_Load();
function MW_System_Hint(){}
MW_System_Hint.prototype.show = function(obj,str){
var hint = MW.findobj('hint');
if(!obj){ return; }
if(!MW.documes){ return; }
if(!hint){ return; }
hint.className = 'hint';
hint.style.left = 15;
hint.style.top = 50;
obj.onmouseout = function(advance){
hint.style.width = '';
hint.style.visibility = 'hidden';
if(hint.firstChild) hint.removeChild(hint.firstChild);
hint.appendChild(document.createTextNode(str));
};
obj.onmousemove = function(advance){
//str = str.replace(//g,">");
hint.style.width = '';
hint.innerHTML = str;
vc = document.getElementsByTagName((document.compatMode && document.compatMode=="CSS1Compat") ? "HTML":"BODY")[0];
x = window.event ? event.clientX + vc.scrollLeft : advance.pageX;
y = window.event ? event.clientY + vc.scrollTop : advance.pageY;
vcwidth = vc.clientWidth ? vc.clientWidth + vc.scrollLeft : window.innerWidth + window.pageXOffset;
vcheight = vc.innerHeight ? window.innerHeight + window.pageYOffset : vc.clientHeight + vc.scrollTop;
if(hint.offsetWidth>500){ hint.style.width = '200'; }
if((x + hint.offsetWidth + 15) > vcwidth){
hint.style.left = x - hint.offsetWidth - 4;
} else {
hint.style.left = x + 15;
}
if((y + hint.offsetHeight + 19) > vcheight){
hint.style.top = y - hint.offsetHeight;
} else {
hint.style.top = y + 25;
}
//if(typeof(hint.style.MozOpacity)!="undefined"){
hint.style.opacity = '.91';
hint.style.filter = "alpha(opacity:91)";
//}
hint.style.visibility = 'visible';
};
}
MW_System_Hint.prototype.initialize = function(){
var hint = document.createElement("DIV");
hint.setAttribute('id','hint');
document.getElementsByTagName('body')[0].appendChild(hint);
hint.style.visibility = 'hidden';
var hintmarker = ['a','img','img','input','span','div','textarea'];
var textmarker = ['title','alt','title','title','title','title','title'];
var lenmarker = hintmarker.length;
for(var i=0; i
|
|
Привет Гость зарегистрируйтесь или войдите

|
| |
|
|
|
|
|
Реклама |
  |
- Страница 3 из 4
- «
- 1
- 2
- 3
- 4
- »
|
|
Форум » Ленточный вариант форума |
| |
Ленточный вариант форума |
| Тема | Ответы | Просмотры | Автор темы | Обновления↓ |
 |
 |
Правила раздела
|
0 |
646 |
CRueL |
14.06.2011, 10:04
Сообщение от: Best
|
 |
 |
Правила раздела
|
0 |
707 |
CRueL |
14.06.2011, 10:01
Сообщение от: Best
|
 |
 |
Пример подачи заявки
|
0 |
703 |
CRueL |
14.06.2011, 09:24
Сообщение от: Best
|
 |
 |
Правила раздела
|
0 |
632 |
CRueL |
14.06.2011, 09:20
Сообщение от: Best
|
 |
 |
Понижение пинга в CS 1.6
|
0 |
654 |
CRueL |
14.06.2011, 09:18
Сообщение от: Best
|
 |
 |
Правила раздела
|
0 |
595 |
CRueL |
14.06.2011, 09:16
Сообщение от: Best
|
 |
 |
Топ 10 ошибок в КС
|
0 |
920 |
CRueL |
14.06.2011, 09:13
Сообщение от: Best
|
 |
 |
800$ в начале игры - что же с ними делать.
|
0 |
566 |
CRueL |
14.06.2011, 09:11
Сообщение от: Best
|
 |
 |
Установка и настройка Counter Strike (Для новичков)
|
0 |
661 |
CRueL |
14.06.2011, 09:10
Сообщение от: Best
|
 |
 |
Правила раздела
|
0 |
510 |
CRueL |
14.06.2011, 09:08
Сообщение от: Best
|
 |
 |
Форма подачи заявки на рекламу
|
0 |
1140 |
CRueL |
14.06.2011, 09:01
Сообщение от: Best
|
 |
 |
Переход в группу Проверенный
|
0 |
685 |
CRueL |
14.06.2011, 08:59
Сообщение от: Best
|
 |
 |
Заказ титула
|
0 |
594 |
CRueL |
14.06.2011, 08:43
Сообщение от: Best
|
 |
 |
Поменять ник
|
0 |
566 |
CRueL |
14.06.2011, 08:41
Сообщение от: Best
|
 |
 |
Набор файловиков
|
0 |
579 |
CRueL |
14.06.2011, 08:38
Сообщение от: Best
|
 |
 |
Набор Модераторов
|
0 |
604 |
CRueL |
14.06.2011, 08:28
Сообщение от: Best
|
 |
 |
Набор Журналистов
|
0 |
601 |
CRueL |
14.06.2011, 08:27
Сообщение от: Best
|
 |
 |
Пример подачи жалоб
|
0 |
688 |
CRueL |
14.06.2011, 08:24
Сообщение от: Best
|
 |
 |
Пример подачи
|
0 |
755 |
CRueL |
14.06.2011, 08:19
Сообщение от: Best
|
 |
 |
Правила раздела "Графика для CS-FLY.Do.Am
|
0 |
717 |
CRueL |
14.06.2011, 08:15
Сообщение от: Best
|
 |
 |
Правила сайта
|
0 |
834 |
CRueL |
14.06.2011, 08:11
Сообщение от: Best
|
 |
 |
Конкурс на лучшую шапку
|
0 |
640 |
CRueL |
14.06.2011, 08:06
Сообщение от: Best
|
 |
 |
Конкурс - "Восстановим репу"
|
0 |
697 |
CRueL |
14.06.2011, 08:03
Сообщение от: Best
|
 |
 |
Предложения по сайту
|
0 |
636 |
CRueL |
14.06.2011, 08:01
Сообщение от: CRueL
|
 |
 |
Снятие замечания
|
0 |
603 |
CRueL |
14.06.2011, 08:00
Сообщение от: Best
|
Найдено 77 тем. На странице показано 25 тем. |
|
|
|