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 ::: CSS For Profile Link (Username), Profile Pic, etc by Member
New Topic    Add Reply
Topic: CSS For Profile Link (Username), Profile Pic, etc by Member  (?)  Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend
ezNutrocker

EzNutz
Posts: 86
Posted: 6/12/05 3:38 pm    
CSS For Profile Link (Username), Profile Pic, etc by Member
Summary: Adds a class to the "user" portion of a post, by userlevel.

MEMBER LEVEL
 
 Member<a name="userclass" class="memberlevel"></a>


Example of setting the class for a user level.

HEAD (box #1):
 
<style type="text/css">
.memberlevel span.title a { font-size: 20px; color: #ff0000; }
.modlevel span.title a { font-size: 30px; color: #0000ff; }
</style>


In this example of CSS to style the user area, we change the user profile link for users of "memberlevel" and "modlevel".

FOOTER (box #4):
 
<script type="text/javascript">
/* CHANGE PROFILE LINKS FOR SPECIFIC USER CLASSES */
uc = document.getElementsByName("userclass");
for ( ux=0; ux < uc.length; ux++ ) {
        uc[ux].parentNode.parentNode.className += " " + uc[ux].className;
        }
/* END CHANGE PROFILE LINKS FOR SPECIFIC USER CLASSES */
</script>


History:
6/11/2003 - written by phalen180

Credits:
written by phalen180
requested by Acky12 and others


  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.