tagboard

« Older   Newer »
  Share  
General~Dynamics
view post Posted on 24/6/2011, 19:32




ragazzi come faccio a cambiare il colore dello spazietto della tagboard dove si scrive e dove ad esempio voi avete scritto ''regolamento tag...'' ?? per favore č urgene :/
 
Top
view post Posted on 25/6/2011, 06:47

Sanitą mentale?! Spiacente, non ricordo di aver mai avuto un simile fastidio...

Group:
<<\\Capi-Clan//>>
Posts:
5,845

Status:


<!-- MESSAGGIO AVVERTIMENTO TAGBOARD -->
<script type="text/javascript">
var message="Regolamento TAG: 1)NO SPAM - 2)NO INSULTI - 3)NO PAROLACCIE!.....PENA BAN!!";
var tag=document.tagboard.ffmsg;

function modifyvalue() {
if (tag.value=="") {
tag.value=message;
tag.style.fontStyle="italic";
tag.style.color="#00AAFF";
} }

function resetvalue() {
if (tag.value==message) {
tag.value="";
tag.style.fontStyle="normal";
tag.style.color="#55FF00";
} }

document.onload=modifyvalue();
document.tagboard.onsubmit=function() {if (tag.value==message) return false};
tag.onfocus=resetvalue;
tag.onblur=modifyvalue;
document.tagboard.I.onfocus=resetvalue;
document.tagboard.B.onfocus=resetvalue;
document.tagboard.U.onfocus=resetvalue;
document.tagboard.fcolor.onfocus=resetvalue;
</script><script type="text/javascript"></script>

le parti colorate sono quelle che devi sostituire
questo codice va messo in codice html e non in colori e stili
 
Web   Top
General~Dynamics
view post Posted on 25/6/2011, 08:53




graziee :D
 
Top
2 replies since 24/6/2011, 19:32   96 views
  Share