Post by Trip on Nov 22, 2014 9:26:10 GMT -5
Hello again everybody!
I've finally decided today to enhance my Image Beside Name hack to the best of my ability.
This will give 3 different users 3 different images beside their name (in link form) on the page.
I present:
Image Beside Name Version 3 [FINAL]
This will be my final version of this particular hack.
Code Specifications:
Code Speed: Moderate
Compatibility: IE4+ Recommended
Browser Speed Limit: No Limit
TOS Check: Permitted
UserType: N/A
Goes in Main Footer:
^: Simply follow the instructions in the code comments section itself and you should have no problem getting it to work. ^^
If you have any questions or comments, please post them here or PM me.
EDIT: Before you 'claim' to have any problems with it working, you should know that I labled it "Tri-Home Version" for a reason........it will only work on the Main Page when you click the 'HOME' link. This was implemented for the sole purpose of evading a Fatal Error.
Don't worry, people will click it when they need to get back to Main Page, heehee.
Thanks! ^^
I've finally decided today to enhance my Image Beside Name hack to the best of my ability.
This will give 3 different users 3 different images beside their name (in link form) on the page.
I present:
Image Beside Name Version 3 [FINAL]
This will be my final version of this particular hack.
Code Specifications:
Code Speed: Moderate
Compatibility: IE4+ Recommended
Browser Speed Limit: No Limit
TOS Check: Permitted
UserType: N/A
Goes in Main Footer:
<script language="JavaScript">
<!--
//Image Beside Name v3 [Tri-Home Version]
//Created by Trip
//Do not post this code anywhere else without my permission
//ENTER THE DISPLAYED USERNAMES FOR SIDEIMAGE MOD HERE
USER1 = "USER DISPLAYED NAME HERE";
USER2 = "USER DISPLAYED NAME HERE";
USER3 = "USER DISPLAYED NAME HERE";
//CHANGE YOUR IMAGES HERE
IMG1 = "<img src='http://WHATEVER.GIF' border='0'>";
IMG2 = "<img src='http://WHATEVER.GIF' border='0'>";
IMG3 = "<img src='http://WHATEVER.GIF' border='0'>";
/*-->DO NOT EDIT BELOW<--*/
if(location.href.match(/\/index.cgi$/)){
veer = document.links;
var staff = new Array(3);
staff[0] = USER1;
staff[1] = USER2;
staff[2] = USER3;
var cul = new Array(3);
cul[0] = IMG1;
cul[1] = IMG2;
cul[2] = IMG3;
for(q=0;q<veer.length;q++){
for(x=0;x<staff.length;x++){
for(y=0;y<cul.length;y++){
if(veer[q].innerHTML.match(staff[x])){
veer[q].innerHTML = veer[q].innerHTML.replace(staff[y],staff[x]+cul[x]);
}}}}}
//-->
</script>
^: Simply follow the instructions in the code comments section itself and you should have no problem getting it to work. ^^
If you have any questions or comments, please post them here or PM me.
EDIT: Before you 'claim' to have any problems with it working, you should know that I labled it "Tri-Home Version" for a reason........it will only work on the Main Page when you click the 'HOME' link. This was implemented for the sole purpose of evading a Fatal Error.
Don't worry, people will click it when they need to get back to Main Page, heehee.
Thanks! ^^