|
uCoz Community » uCoz Modules » File Catalog, Site Catalog, Publisher, Ad Board, Online Games » Available for users only Script in Ad Board |
Available for users only Script in Ad Board |
I wanted to put that script below into my Ad Board.. I wanted to change the "Available for users only" into my own like "Please register ".. but it doesn't seem to work.. It works perfectly in my forum.. How can I make it to work? Can someone please help me.. Thanks..
Code <script> e=document.getElementsByTagName("span"); for(i=0;i<e.length;i++) { if(e[i].className=='UhideBlockL') { e[i].innerHTML=e[i].innerHTML.replace('Available for users only','<font size="3" face="Comic Sans MS"><b>Dear Guest, You are not a Registered User. Please Register or Login first to see the links. Thanks.</b></font>'); } } </script> Post edited by xuka - Tuesday, 2014-01-07, 5:17 AM
|
| |||
| |||