Advertise Here

Author Topic: [Code] How to make doubled sided image names  (Read 24691 times)

0 Members and 1 Guest are viewing this topic.

Offline clairebear

  • SMF For Free Master
  • *
  • Posts: 1019
    • View Profile

  • Total Badges: 23
    Badges: (View All)
    Fifth year Anniversary Search Level 5 1000 Posts Poll Voter
Re: [Code] How to make doubled sided image names
« Reply #15 on: March 13, 2009, 12:47:32 pm »
woohoo ive done it n i love this!!!

can anyone recomend a place i can get little gif images for free?
www.teardrop.mysmf.com

A support forum for support in loss from early miscarriage to five years.

Offline clairebear

  • SMF For Free Master
  • *
  • Posts: 1019
    • View Profile

  • Total Badges: 23
    Badges: (View All)
    Fifth year Anniversary Search Level 5 1000 Posts Poll Voter
Re: [Code] How to make doubled sided image names
« Reply #16 on: March 13, 2009, 02:20:23 pm »
I got this working n it ses u can ahve as many as u like .. but each time i add the last one on this is all go!!
and no one has it naymore :(

Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Barbara","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif'/>Barbara<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif'/>","#6600FF",""];
vfour[vfour.length] = ["Claire","<img src='http://i93.photobucket.com/albums/l47/xtinaalex/little things/thfgfgfdgfg1.gif'/>Claire<img src='http://i93.photobucket.com/albums/l47/xtinaalex/little things/thfgfgfdgfg1.gif'/>","#A74CAB",""];
vfour[vfour.length] = ["mummytoInghean","<img src='http://i514.photobucket.com/albums/t342/teardropstuff/flower.gif'/>mummytoInghean<img src='http://i514.photobucket.com/albums/t342/teardropstuff/flower.gif'/>","#EE82EE",""];
vfour[vfour.length] = ["Fiona","<img src='http://i514.photobucket.com/albums/t342/teardropstuff/star.png'/>Fiona<img src='http://i514.photobucket.com/albums/t342/teardropstuff/star.png'/>","#FF1CAE",""];
vfour[vfour.length] = ["juliejool","<img src='http://i514.photobucket.com/albums/t342/teardropstuff/13.png'/>juliejool<img src='http://i514.photobucket.com/albums/t342/teardropstuff/13.png'/>","#FF34B3",""];

for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML == vfour[f][0]){
this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='" + vfour[f][2] + "'>" + vfour[f][3] + vfour[f][(vfour[f][1] != "" ? 1 : 0)] + "</font>");
};});};}
name_across_board();
</script>


 
« Last Edit: March 13, 2009, 02:26:08 pm by clairebear »
www.teardrop.mysmf.com

A support forum for support in loss from early miscarriage to five years.

Offline clairebear

  • SMF For Free Master
  • *
  • Posts: 1019
    • View Profile

  • Total Badges: 23
    Badges: (View All)
    Fifth year Anniversary Search Level 5 1000 Posts Poll Voter
Re: [Code] How to make doubled sided image names
« Reply #17 on: March 13, 2009, 02:33:29 pm »
its ok its cuz i need gif not png

www.teardrop.mysmf.com

A support forum for support in loss from early miscarriage to five years.

Offline ace22shox

  • SMF For Free Newbie
  • *
  • Posts: 3
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Code] How to make doubled sided image names
« Reply #18 on: March 14, 2009, 11:18:40 am »
Quote
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Mod ace","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif'/>Mod ace <img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif'/>","yellow",""];

for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML == vfour[f][0]){
this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='" + vfour[f][2] + "'>" + vfour[f][3] + vfour[f][(vfour[f][1] != "" ? 1 : 0)] + "</font>");
};});};}
name_across_board();
</script>





but then change the names.


Offline legend ftw

  • SMF For Free Member
  • *
  • Posts: 98
    • View Profile

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] How to make doubled sided image names
« Reply #19 on: April 07, 2009, 03:45:50 pm »
Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["Mod ace","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif'/>Mod ace <img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/mod_gold.gif'/>","FFCC00",""];

for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML == vfour[f][0]){
this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='" + vfour[f][2] + "'>" + vfour[f][3] + vfour[f][(vfour[f][1] != "" ? 1 : 0)] + "</font>");
};});};}
name_across_board();
</script>

Offline dudeimjacob

  • SMF For Free Newbie
  • *
  • Posts: 4
    • View Profile

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
Re: [Code] How to make doubled sided image names
« Reply #20 on: May 17, 2009, 04:23:58 pm »
Ugh, I dont get what you are saying! Where do you even copy and paste this info to and what is a header and footer? Please explain -.-

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
Re: [Code] How to make doubled sided image names
« Reply #21 on: May 17, 2009, 04:28:39 pm »
The header and footer is where you place codes for your forum

Admin CP > Configuration - Manage Styles > Headers/Footers

You can place these codes there ;)
<--- Donate to SMF For Free! :D

Offline Pan

  • SMF For Free Member
  • *
  • Posts: 33
    • View Profile
    • MangaFive Forum Community

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] How to make doubled sided image names
« Reply #22 on: May 19, 2009, 04:53:59 am »
Thanks it's working :D

Offline saciid.1

  • SMF For Free Member
  • *
  • Posts: 22
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] How to make doubled sided image names
« Reply #23 on: September 24, 2009, 10:57:25 am »
I Need Majure Help

Offline LaundryLady

  • Helpers
  • *
  • Posts: 3253
  • Internet Challenged
    • View Profile

  • Total Badges: 26
    Badges: (View All)
    Seventh year Anniversary Sixth year Anniversary Search Poll Voter Level 5
Re: [Code] How to make doubled sided image names
« Reply #24 on: September 24, 2009, 03:54:34 pm »
Well, why don't you tell us:

Your Forum URL
The Code you are using
and
What kind of help you need.

Last time I looked, mind reading wasn't on my resume.


And I Play:  Mafia-Mandemz

Offline Coder4ever

  • SMF For Free Member
  • *
  • Posts: 68
  • Coding Fan - Stylesheets - Graphics
    • View Profile
    • ProFifaLeagues

  • Total Badges: 11
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: [Code] How to make doubled sided image names
« Reply #25 on: November 13, 2009, 09:12:29 pm »
Good work. Works great. Thanks.
http://profifaleagues.smfforfree3.com/index.php
Like to code? Why not join these forums. If you want help with coding also join up.

Offline rebelman2

  • SMF For Free Member
  • *
  • Posts: 21
  • Im cool like dat
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] How to make doubled sided image names
« Reply #26 on: November 21, 2009, 10:44:24 pm »
Didnt work this is what i got
Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["owner len","owner len","red","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png' />"];
vfour[vfour.length] = ["admin ben","admin ben","red","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png' />"];
for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML.match(vfour[f][0])){
this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='" + vfour[f][2] + "'>" + vfour[f][3] + vfour[f][(vfour[f][1] != "" ? 1 : 0)] + "</font>");
};});};}
name_across_board();
</script>


Fourm link: http://m4g3dscape.mysmf.com/index.php
Also could you give me the code to add this crown to "Admin ben's account?
http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/12234013pa5.gif
And the code to give this to my moderators:
http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/modcrownaw2.png
Sorry for asking alot

« Last Edit: November 21, 2009, 11:02:15 pm by rebelman2 »


517 (new) runescape private server: http://m4g3dscape.tk

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
Re: [Code] How to make doubled sided image names
« Reply #27 on: November 22, 2009, 08:53:14 am »
Code: [Select]
<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["owner len","owner len","red","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png' />"];
vfour[vfour.length] = ["admin ben","admin ben","red","<img src='http://i137.photobucket.com/albums/q232/LaundryLady1947/Runescape/deleteafteriu0.png' />"];

for(f=0;f<vfour.length;f++){
$("a[href*='u=']").each(function() {
if(this.innerHTML.match(vfour[f][0])){
this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='" + vfour[f][2] + "'>" + vfour[f][3] + vfour[f][(vfour[f][1] != "" ? 1 : 0)] + "</font>");
};});};}
name_across_board();
</script>

Try it that way.
<--- Donate to SMF For Free! :D

Offline rebelman2

  • SMF For Free Member
  • *
  • Posts: 21
  • Im cool like dat
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: [Code] How to make doubled sided image names
« Reply #28 on: November 22, 2009, 09:50:03 am »
didnt work


517 (new) runescape private server: http://m4g3dscape.tk

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] How to make doubled sided image names
« Reply #29 on: November 22, 2009, 10:29:38 am »
Do you have this in your header?

Code: [Select]
<script src="/jquery.js"></script>

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1049 Views
Last post September 06, 2008, 04:40:49 pm
by simply sibyl
2 Replies
2509 Views
Last post November 26, 2008, 03:38:15 pm
by - Lawrence -
2 Replies
3045 Views
Last post December 06, 2008, 10:59:03 am
by OutOfOrder
1 Replies
1314 Views
Last post March 14, 2009, 08:26:20 pm
by Andrew
0 Replies
2232 Views
Last post October 19, 2013, 08:12:33 pm
by Jen Lee