dasdream
New Member
Warning:Watch the attitude and the language or go bye bye. Expires:01/04/05 Banned!!!
Posts: 143
inherit
Warning:Watch the attitude and the language or go bye bye. Expires:01/04/05 Banned!!!
58011
0
Oct 4, 2005 17:22:40 GMT -8
dasdream
143
September 2005
dasdream
|
Post by dasdream on Sept 26, 2005 17:11:11 GMT -8
Forum URL: wrestlingi.proboards59.comhere's the code but the image doesn't work. Whats wrong? <script type="text/javascript"> <!-- /* locked thread message */ var locked='<img src="http://i11./a189/dasdream/Lock.jpg" /> Message'; var td = document.getElementsByTagName('td'); for(t=0;t<td.length;t++) if(td[t].width=="50%" && td[t].align=="right" && td[t].firstChild.firstChild.alt=="[Send Topic To Friend]"){ td[t].valign="top"; td[t].innerHTML=locked+td[t].innerHTML; } //--> </script>
|
|
inherit
44527
0
Jul 7, 2007 12:08:03 GMT -8
Maniac :þ
2,465
May 2005
aeforumscrew
|
Post by Maniac :þ on Sept 26, 2005 18:12:43 GMT -8
Did you enter it into the correct area? For instance, check where you found the code, and make sure you entered it in the correct header or footer. Captain Maniac
|
|
dasdream
New Member
Warning:Watch the attitude and the language or go bye bye. Expires:01/04/05 Banned!!!
Posts: 143
inherit
Warning:Watch the attitude and the language or go bye bye. Expires:01/04/05 Banned!!!
58011
0
Oct 4, 2005 17:22:40 GMT -8
dasdream
143
September 2005
dasdream
|
Post by dasdream on Sept 26, 2005 18:41:37 GMT -8
it just says footer. Not specifec
|
|
inherit
Proboards Legend
212
0
May 11, 2006 12:32:55 GMT -8
california
21,035
December 1999
california
|
Post by california on Sept 26, 2005 21:12:51 GMT -8
The code is supposed to add a locked icon into the title bar next to the [send topic to friend] and [print] buttons. That image is gigantic, if it did load it would look horrible in the title bar. Ideally you should be using an image around 80-150 x 20, and no 'message' after the image.
Now, the code isn't working for you because you are an admin and the thread isn't really locked for you, meaning that you can still reply to it. The code looks to see whether or not there's a reply button in the bar. So you'll need to log in as a normal member if you want to test it.
The code goes in the Global footer.
|
|