If you are seeing this message, it is possible the page did not load properly. Please hit reload/refresh on your browser.
If you still see this message, you probably do not have a browser that supports web standards, although its content is accessible to any browser or Internet device.

Cool Tips & Tricks Cool Tips & Tricks

Help Communities:
Help Forums Bug Base
<< Prev Topic | Next Topic >>
Cool Tips & Tricks ::: Javascript FAQ ::: Image Before All Profile Links...
New Topic    Add Reply
Topic: Image Before All Profile Links...  (?)  Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend
Te1emachus

Registered User
Posts: 76
Posted: 1/3/05 5:01 pm    
Image Before All Profile Links...
Pretty self-explanatory; adds the image you edit to replace the blue text, before each profile link on the board. If you're using a transparent .gif, you can set the second variable to false to eliminate the extra space.

<head> code </head> » (First Box):
 
<script type="text/javascript">

profileImage = "http://www.ezboard.com/image/_1template/nav_comm_communitycenter.gif";
useSpace = "true";

/* DO NOT EDIT BELOW */
function everyBody(){
        dl = document.links;
        if (useSpace == "true"){
                sP = " ";
        }
        else{
                sP = "";
        }
        for ( tm = 0; tm < dl.length; tm++ ){
                if (dl[tm].href.indexOf("PublicProfile") != -1){
                        thisMember = dl[tm].innerHTML;
                        dl[tm].innerHTML = "<img src='" + profileImage + "' alt='" + thisMember + "' border='0' />" + sP + thisMember;
                }
        }
}
</script>




Custom Footer (fourth box):
 
<script type="text/javascript">
everyBody();
</script>


  reply to this message

Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend

New Topic    Add Reply

jump to:
Topic Control Image::: Topic Commands
<< Prev Topic | Next Topic >>

Icon Legend

reply button:::Reply to Post Button   edit button:::Edit Post Button  delete button:::Delete Post Button (Moderator Only)

subscribe/unsubscribe to thread button:::Subscribe to Thread Button   email to friend button:::Email to Friend Button  



- Cool Tips & Tricks - Javascript FAQ -

Communitiesezboard Help Communities:

Help Forums Help Forums Bug Base Bug Base





Powered By ezboard® Ver. 7.32
Copyright ©1999-2007 ezboard, Inc.