GHOST-ITA |
|
| Ecco lo script che fa comparire qualsiasi messaggio voi volete in Tag Board DA INSERIRE IN FONDO AL FORUMCODICE <script type="text/javascript"> //Generato con il FFMag FastScripts - Script by ~ DarkStyle var tagMessage = "INSERISCI QUELLO CHE VUOI QUI"; var alertTagMessage = "Non puoi inviare il messaggio predefinito!"; var tagTextInput = document.tagboard ? document.tagboard.ffmsg : 0; var tagInput = document.tagboard ? document.tagboard.elements : 0;
if(tagTextInput && tagMessage!="") { function modifyvalue() { if (tagTextInput.value == "") { tagTextInput.style.fontWeight='bold'; tagTextInput.value=tagMessage; } }
function resetvalue() { if (tagTextInput.value==tagMessage) { tagTextInput.value=''; tagTextInput.style.fontWeight='normal'; } }
document.onload=modifyvalue(); tagTextInput.onfocus=resetvalue; tagTextInput.onblur=modifyvalue; for(i = 0; i < tagInput.length; i++) { var ind = new function() {this.i = i;}; if(tagInput[ind.i].className == 'codebuttons' && tagInput[ind.i].type != 'submit') {tagInput[ind.i].onfocus = resetvalue;} } for(j = 0; j < tagInput.length; j++) { var ind1 = new function() {this.j = j;}; if(tagInput[ind1.j].type == 'submit' && tagInput[ind1.j].value != 'Aggiorna') {tagInput[ind1.j].onclick = function() {if(tagTextInput.value == tagMessage) {alertTagMessage ? alert(alertTagMessage) : void(0); return false;} } } }}</script>
|
| |