We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Gender Icons
Topic Started: Jul 23 2011, 12:40 AM (365 Views)
Jayallen-ZNR
Member
[ * ]
Board Address: 'Private'
Board Software: ZetaBoards
Description: In the profile field, I have a Gender option. "Male", "Female", "Transgendered" and so on, and these show in the mini-profile on the posting page. I would like to make the text designation of each gender into picture icons instead. For example, the word 'male' would be replaced with the male symbol, the female with the female symbol, etc.

1] Is it possible?
2] Would someone help me by making a code that would allow me to do this?

It would be greatly appreciated.


John
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type="text/javascript">
$("dl.user_profile dd:contains(Male)").html("<img src='IMAGE_URL' alt='Male' />");
$("dl.user_profile dd:contains(Female)").html("<img src='IMAGE_URL' alt='Female' />");
$("dl.user_profile dd:contains(Transgendered)").html("<img src='IMAGE_URL' alt='Transgendered' />");
</script>
Replace 'IMAGE_URL' with the applicable image URL.
Offline Profile Goto Top
 
Jayallen-ZNR
Member
[ * ]
Bless your heart, it worked perfectly! Thank you! :D
Offline Profile Goto Top
 
Eccentric Feline
Member Avatar
梦想
[ *  *  *  *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic