Agent Moose
|
|
« on: November 07, 2008, 06:50:05 pm » |
|
Footers: <script> var CopyRight = "TEXT HERE";
//Created by Agent Moose (smcodes.smfforfree3.com) document.getElementById("footerarea").innerHTML += "<center><span class='smalltext'>" + CopyRight + "</span></center>"; </script> Just change TEXT HERE to the text you want it to be. Enjoy
|
|
|
|
|
Spoken
Exclusive
Offline
Gender:
Posts: 454
Badges: (View All)
|
|
« Reply #1 on: November 10, 2008, 09:59:51 am » |
|
Does this work in IE?
|
|
|
|
|
Vitality
Exclusive
Offline
Gender:
Posts: 154
Badges: (View All)
|
|
« Reply #2 on: November 10, 2008, 04:32:14 pm » |
|
It should. I don't see why it wouldn't. The script isn't simply adding something to the footerarea.
|
CODE
|
|
|
Spoken
Exclusive
Offline
Gender:
Posts: 454
Badges: (View All)
|
|
« Reply #3 on: November 10, 2008, 04:36:23 pm » |
|
Here is the code i used <script> var CopyRight = "Testing, testing. 1, 2, 3.";
//Created by Agent Moose (smcodes.smfforfree3.com) document.getElementById("footerarea").innerHTML += "<center><span class='smalltext'>" + CopyRight + "</span></center>"; </script>
|
|
|
|
deathwilldie
|
|
« Reply #4 on: November 10, 2008, 04:48:07 pm » |
|
This would work in IE. Is it not working for you?
|
|
|
|
Spoken
Exclusive
Offline
Gender:
Posts: 454
Badges: (View All)
|
|
« Reply #5 on: November 10, 2008, 04:59:53 pm » |
|
Nope its not working for me.
|
|
|
|
shimmy shabby
|
|
« Reply #6 on: November 10, 2008, 05:02:45 pm » |
|
Tested it in IE 7 on my test for, (Server 3) didn't work for me either. Trying to make it work though. But try this one, idk if it will work or not. <script> var CopyRight = "Testing, testing. 1, 2, 3.";
//Created by Agent Moose (smcodes.smfforfree3.com) $("#footerarea").innerHTML += "<center><span class='smalltext'>" + CopyRight + "</span></center>"; </script>
|
|
« Last Edit: November 10, 2008, 05:04:33 pm by shimmy shabby »
|
Report Spam
Logged
|
|
|
|
deathwilldie
|
|
« Reply #7 on: November 10, 2008, 05:05:08 pm » |
|
That's odd. I'll see what Agent can do about it.
|
|
|
|
Vitality
Exclusive
Offline
Gender:
Posts: 154
Badges: (View All)
|
|
« Reply #8 on: November 10, 2008, 06:25:50 pm » |
|
Tested it in IE 7 on my test for, (Server 3) didn't work for me either. Trying to make it work though. But try this one, idk if it will work or not. <script> var CopyRight = "Testing, testing. 1, 2, 3.";
//Created by Agent Moose (smcodes.smfforfree3.com) $("#footerarea").append("<center><span class='smalltext'>" + CopyRight + "</span></center>"); </script> If you're going to add text or something of the like in jQuery, you should use append(). I altered the snippet in the quote.
|
CODE
|
|
|
shimmy shabby
|
|
« Reply #9 on: November 10, 2008, 06:29:36 pm » |
|
Tested it in IE 7 on my test for, (Server 3) didn't work for me either. Trying to make it work though. But try this one, idk if it will work or not. <script> var CopyRight = "Testing, testing. 1, 2, 3.";
//Created by Agent Moose (smcodes.smfforfree3.com) $("#footerarea").append("<center><span class='smalltext'>" + CopyRight + "</span></center>"); </script> If you're going to add text or something of the like in jQuery, you should use append(). I altered the snippet in the quote. Yea, i already tried that. Didn't do make it work so i didn't bother adding it in
|
|
|
|
deathwilldie
|
|
« Reply #10 on: November 10, 2008, 06:48:36 pm » |
|
Well Agent said that it could be because he changed it into Javascript. It was in JQuery before. It doesn't work because of something that IE does with Javascript when adding things into the footer.
|
|
|
|
Spoken
Exclusive
Offline
Gender:
Posts: 454
Badges: (View All)
|
|
« Reply #11 on: November 10, 2008, 08:11:04 pm » |
|
So it wont work in IE?
|
|
|
|
shimmy shabby
|
|
« Reply #12 on: November 10, 2008, 08:12:41 pm » |
|
I guess right now . But i encourage you to download firefox anyways, its a much better browser. And i hope moose can get it to work with IE also though.
|
|
|
|
deathwilldie
|
|
« Reply #13 on: November 11, 2008, 09:41:20 pm » |
|
Well I beleive he has this code on SMC in jquery. That one should work on all the browsers.
|
|
|
|
Spoken
Exclusive
Offline
Gender:
Posts: 454
Badges: (View All)
|
|
« Reply #14 on: November 12, 2008, 08:37:37 am » |
|
Forget it I just tok the code out
|
|
|
|
|
|