News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Where is my "Header" and "footer"

Started by Ja$on, July 21, 2011, 12:41:10 AM

Previous topic - Next topic

Ja$on

Okay so i found this tut how to add an icon next to your name for Ur forums but it says

Put this in your HEADER if you do not already have it:


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



and...
This code goes in your FOOTER:
Instructions for editing it are under the code.


<script>
function name_across_board(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var vfour = new Array()
vfour[vfour.length] = ["OLD NAME","NEW NAME","COLOR","<img src='IMAGE URL' />"];
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>



if u dont get what im trying to get help with i need to add this:


but i only need help with where the footer and header is..

Illori


Advertisement: