December 08, 2024, 10:17:34 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
 
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  

Add Text To Copyright

Pages: [1] 2   Go Down
  Print  
Author Topic: Add Text To Copyright  (Read 2887 times)
Agent Moose
Administrator
Adminitrator
Offline Offline

Gender: Male
Posts: 1,470



View Profile WWW
Badges: (View All)
« on: November 07, 2008, 06:50:05 pm »

Footers:
Code:
<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 Smiley
Report Spam   Logged


Share on Facebook Share on Twitter

Spoken
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 454



View Profile
Badges: (View All)
« Reply #1 on: November 10, 2008, 09:59:51 am »

Does this work in IE?
Report Spam   Logged

Vitality
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 154



View Profile
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.
Report Spam   Logged


CODE
Spoken
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 454



View Profile
Badges: (View All)
« Reply #3 on: November 10, 2008, 04:36:23 pm »

Here is the code i used

Code:
<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>
Report Spam   Logged

deathwilldie
Administrator
Adminitrator
Offline Offline

Posts: 1,769


View Profile WWW
Badges: (View All)
« Reply #4 on: November 10, 2008, 04:48:07 pm »

This would work in IE.  Is it not working for you?
Report Spam   Logged

Spoken
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 454



View Profile
Badges: (View All)
« Reply #5 on: November 10, 2008, 04:59:53 pm »

Nope its not working for me.
Report Spam   Logged

shimmy shabby
Exclusive
Exclusive
Offline Offline

Posts: 432



View Profile
Badges: (View All)
« 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.
Code:
<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




@Everypme: Yea my days of sig chatting are over, it's just so hard to go to my profile, and edit my signature everytime i see a response. Actually, it isn't, but... I'm just that lazy
deathwilldie
Administrator
Adminitrator
Offline Offline

Posts: 1,769


View Profile WWW
Badges: (View All)
« Reply #7 on: November 10, 2008, 05:05:08 pm »

That's odd.  I'll see what Agent can do about it.
Report Spam   Logged

Vitality
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 154



View Profile
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.
Code:
<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.
Report Spam   Logged


CODE
shimmy shabby
Exclusive
Exclusive
Offline Offline

Posts: 432



View Profile
Badges: (View All)
« 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.
Code:
<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
Report Spam   Logged




@Everypme: Yea my days of sig chatting are over, it's just so hard to go to my profile, and edit my signature everytime i see a response. Actually, it isn't, but... I'm just that lazy
deathwilldie
Administrator
Adminitrator
Offline Offline

Posts: 1,769


View Profile WWW
Badges: (View All)
« 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.
Report Spam   Logged

Spoken
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 454



View Profile
Badges: (View All)
« Reply #11 on: November 10, 2008, 08:11:04 pm »

So it wont work in IE?
Report Spam   Logged

shimmy shabby
Exclusive
Exclusive
Offline Offline

Posts: 432



View Profile
Badges: (View All)
« Reply #12 on: November 10, 2008, 08:12:41 pm »

I guess right now Sad . 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.
Report Spam   Logged




@Everypme: Yea my days of sig chatting are over, it's just so hard to go to my profile, and edit my signature everytime i see a response. Actually, it isn't, but... I'm just that lazy
deathwilldie
Administrator
Adminitrator
Offline Offline

Posts: 1,769


View Profile WWW
Badges: (View All)
« 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.
Report Spam   Logged

Spoken
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 454



View Profile
Badges: (View All)
« Reply #14 on: November 12, 2008, 08:37:37 am »

Forget it I just tok the code out
Report Spam   Logged

Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy