Forum moderators:
Korzuk, DeDinc, Техподдержка Сети, Ханя
|
9/24/2011 5:38:51 PM
/
6536 messages
/
the topic was opened by Sergey
.
|
|
(
)
[
1/16/2012 5:11:18 PM (UTC +3), en.cx
]
|
} if (!target.tagName || target.tagName && !(target.tagName.toLowerCase() == 'input' || target.tagName.toLowerCase() == 'textarea')){ return; } if (target.id && target.id.toLowerCase() == 'text'){ window.isFocusStealed = 0; } else{ window.isFocusStealed = 1; } }; addEvent(window, 'focus', focusHandler, true); addEvent(document, 'focusin', focusHandler, true); addEvent(document, 'DOMFocusIn', focusHandler, true); var keyEventsHandler= function(e){ var target = e.target || e.srcElement; if (!target || !target.tagName){ window.isFocusStealed = 1; return; } if (!(target.tagName.toLowerCase() == 'input' || target.tagName.toLowerCase() == 'textarea')){ return; } if (target.id && target.id.toLowerCase() == "text"){ window.isFocusStealed = 0; return; } var keyCode = e.keyCode || e.which; var char = String.fromCharCode(keyCode); var re = /[a-zA-Z0-9]/; if (char.match(re)){ window.isFocusStealed = 1; } }; addEvent(document, 'keyup', keyEventsHandler); addEvent(document, 'keydown', keyEventsHandler); addEvent(document, 'keypress', keyEventsHandler);</script><style type="text/css">:link:hover,:visited:hover{color:#f00!important/*!head*/}:lin k{color:#1a3dc1}wbr{display:inline-block}body{font:.8em Arial,Helvetica,sans-serif;position:relative;z-index:0;margin:0;padding:0 0 1em 0;color:#000;background:#fff}*{font-size:100%;margin:0}h1,h2,h3,h4,h5,h6{font-weight:normal;padding:0}table{border-collapse:collapse}th,td{padding:0;text-align:left;vertical-align:top;border-collapse:collapse}ol,ul{list-style:none}ol,ul,li{padding:0}code,input,textarea{font-family:Arial,Helvetica,sans-serif}a{text-decoration:none}:link,:visited{text-decoration:underline}a img,fieldset{border:0}b{font-weight:normal}i{font-style:normal}.g-hidden{display:none!important}.g-line:after{display:block;clear:both;height:0;content:" "}:link{color:#1a3dc1}:link:hover,:visited:hover{color:#f00!important}.l-head{font-size:100%;width:100%;border-collapse:collapse}.l-head__g,.l-head__gl,.l-head__l,.l-head__gc,.l-head__c,.l-head__gr,.l-head__r{padding:0;vertical-align:top}.l-head__g{width:2%}.l-head__gap{display:block;visibility:hidden;width:20px}.l-head__gl .l-head__gap{width:3.1em}.l-head__l{width:12%;padding-top:1em;text-align:center}.l-head__gl{width:4%}.l-head__c{width:60%}.l-head__gr{width:4%}.b-search{font-size:100%;margin:0}.b-search__table{border-collapse:collapse;width:100%}.b-search__under{padding:0;vertical-align:top}.b-search__input,.b-search__button{padding:0;vertical-align:middle;border-collapse:collapse}.b-search__submit{font:100% Arial,sans-serif;margin:0}.b-search__under{height:18px}.b-search__under .b-suggest{margin-right:4.85em}.b-search__input .b-input__text:-moz-first-node{height:1.86em}.b-pseudo-link{white-space:nowrap;color:#1a3dc1}a.b-pseudo-link:hov
|
(
)
[
1/16/2012 5:23:09 PM (UTC +3), en.cx
]
|
} if (!target.tagName || target.tagName && !(target.tagName.toLowerCase() == 'input' || target.tagName.toLowerCase() == 'textarea')){ return; } if (target.id && target.id.toLowerCase() == 'text'){ window.isFocusStealed = 0; } else{ window.isFocusStealed = 1; } }; addEvent(window, 'focus', focusHandler, true); addEvent(document, 'focusin', focusHandler, true); addEvent(document, 'DOMFocusIn', focusHandler, true); var keyEventsHandler= function(e){ var target = e.target || e.srcElement; if (!target || !target.tagName){ window.isFocusStealed = 1; return; } if (!(target.tagName.toLowerCase() == 'input' || target.tagName.toLowerCase() == 'textarea')){ return; } if (target.id && target.id.toLowerCase() == "text"){ window.isFocusStealed = 0; return; } var keyCode = e.keyCode || e.which; var char = String.fromCharCode(keyCode); var re = /[a-zA-Z0-9]/; if (char.match(re)){ window.isFocusStealed = 1; } }; addEvent(document, 'keyup', keyEventsHandler); addEvent(document, 'keydown', keyEventsHandler); addEvent(document, 'keypress', keyEventsHandler);</script><style type="text/css">:link:hover,:visited:hover{color:#f00!important/*!head*/}:lin k{color:#1a3dc1}wbr{display:inline-block}body{font:.8em Arial,Helvetica,sans-serif;position:relative;z-index:0;margin:0;padding:0 0 1em 0;color:#000;background:#fff}*{font-size:100%;margin:0}h1,h2,h3,h4,h5,h6{font-weight:normal;padding:0}table{border-collapse:collapse}th,td{padding:0;text-align:left;vertical-align:top;border-collapse:collapse}ol,ul{list-style:none}ol,ul,li{padding:0}code,input,textarea{font-family:Arial,Helvetica,sans-serif}a{text-decoration:none}:link,:visited{text-decoration:underline}a img,fieldset{border:0}b{font-weight:normal}i{font-style:normal}.g-hidden{display:none!important}.g-line:after{display:block;clear:both;height:0;content:" "}:link{color:#1a3dc1}:link:hover,:visited:hover{color:#f00!important}.l-head{font-size:100%;width:100%;border-collapse:collapse}.l-head__g,.l-head__gl,.l-head__l,.l-head__gc,.l-head__c,.l-head__gr,.l-head__r{padding:0;vertical-align:top}.l-head__g{width:2%}.l-head__gap{display:block;visibility:hidden;width:20px}.l-head__gl .l-head__gap{width:3.1em}.l-head__l{width:12%;padding-top:1em;text-align:center}.l-head__gl{width:4%}.l-head__c{width:60%}.l-head__gr{width:4%}.b-search{font-size:100%;margin:0}.b-search__table{border-collapse:collapse;width:100%}.b-search__under{padding:0;vertical-align:top}.b-search__input,.b-search__button{padding:0;vertical-align:middle;border-collapse:collapse}.b-search__submit{font:100% Arial,sans-serif;margin:0}.b-search__under{height:18px}.b-search__under .b-suggest{margin-right:4.85em}.b-search__input .b-input__text:-moz-first-node{height:1.86em}.b-pseudo-link{white-space:nowrap;color:#1a3dc1}a.b-pseudo-link:hov
|
(
)
[
1/16/2012 5:25:59 PM (UTC +3), en.cx
]
|
/* DDB - 041031 - Form Field Progress Bar */ /*********************************************** * Form Field Progress Bar- By Ron Jonk- https://www.euronet.nl/~jonkr/* Modified by Dynamic Drive for minor changes * Script featured/ available at Dynamic Drive- https://www.dynamicdrive.com* Please keep this notice intact ***********************************************/ // otf 1.71 Javascript added for Field Progress Bar function textCounter(field,counter,maxlimit,linecounter) { // text width// var fieldWidth = parseInt(field.offsetWidth); var charcnt = field.value.length; // trim the extra text if (charcnt > maxlimit) { field.value = field.value.substring(0, maxlimit); } else { // progress bar percentage var percentage = parseInt(100 - (( maxlimit - charcnt) * 100)/maxlimit) ; document.getElementById(counter).style.width = parseInt((fieldWidth*percentage)/100)+"px"; document.getElementById(counter).innerHTML="Лимит: "+percentage+"%" // color correction on style from CCFFF -> CC0000 setcolor(document.getElementById(counter),percentage,"background-color"); }
|
(
)
[
1/16/2012 5:29:43 PM (UTC +3), en.cx
]
|
[
1/16/2012 5:30:44 PM (UTC +3), ks.en.cx
]
|
Ветер: /* DDB - 041031 - Form Field Progress Bar */ /*********************************************** * Form Field Progress Bar- By Ron Jonk- https://www.euronet.nl/~jonkr/* Modified by Dynamic Drive for minor changes * Script featured/ available at Dynamic Drive- https://www.dynamicdrive.com* Please keep this notice intact ***********************************************/ // otf 1.71 Javascript added for Field Progress Bar function textCounter(field,counter,maxlimit,linecounter) { // text width// var fieldWidth = parseInt(field.offsetWidth); var charcnt = field.value.length; // trim the extra text if (charcnt > maxlimit) { field.value = field.value.substring(0, maxlimit); } else { // progress bar percentage var percentage = parseInt(100 - (( maxlimit - charcnt) * 100)/maxlimit) ; document.getElementById(counter).style.width = parseInt((fieldWidth*percentage)/100)+"px"; document.getElementById(counter).innerHTML="Лимит: "+percentage+"%" // color correction on style from CCFFF -> CC0000 setcolor(document.getElementById(counter),percentage,"background-color"); } ты в интернет програмирование ударился?)))
|
(
)
[
1/16/2012 5:32:26 PM (UTC +3), en.cx
]
|
Чалый: Ветер: /* DDB - 041031 - Form Field Progress Bar */ /*********************************************** * Form Field Progress Bar- By Ron Jonk- https://www.euronet.nl/~jonkr/* Modified by Dynamic Drive for minor changes * Script featured/ available at Dynamic Drive- https://www.dynamicdrive.com* Please keep this notice intact ***********************************************/ // otf 1.71 Javascript added for Field Progress Bar function textCounter(field,counter,maxlimit,linecounter) { // text width// var fieldWidth = parseInt(field.offsetWidth); var charcnt = field.value.length; // trim the extra text if (charcnt > maxlimit) { field.value = field.value.substring(0, maxlimit); } else { // progress bar percentage var percentage = parseInt(100 - (( maxlimit - charcnt) * 100)/maxlimit) ; document.getElementById(counter).style.width = parseInt((fieldWidth*percentage)/100)+"px"; document.getElementById(counter).innerHTML="Лимит: "+percentage+"%" // color correction on style from CCFFF -> CC0000 setcolor(document.getElementById(counter),percentage,"background-color"); } ты в интернет програмирование ударился?))) я умею копипастить исходный код!
|
(
)
[
1/16/2012 5:33:29 PM (UTC +3), en.cx
]
|
(
[
1/16/2012 5:38:33 PM (UTC +3)
]
|
(
)
[
1/16/2012 5:40:43 PM (UTC +3), en.cx
]
|
мда...ну если так все хреново с девушками, сходите поанонируйте что ли
|
(
[
1/16/2012 5:45:31 PM (UTC +3)
]
|
|
|
|