Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : Mail > Fix Mail Select Buttons
Mottie (SuperAdmin) 3/3/2010 6:27 PM EST : Fix Mail Select Buttons
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

Fix Mail Select Buttons

GuildPortal admin site link to the original post

This short script basically just adds the classes needed to make the mail select buttons look like buttons. The buttons should already match your site theme (the [New Message] & [Custom Folders] buttons at the top).

 Mail Before
 
 Mail After

The Code

Add the following code ideally to a hidden Free Form Text/HTML type widget on your Mail page. Alternatively, you can just add the script to your Footer Area (Control Panel > Custom HTML & Script > Footer Area)
<script type="text/javascript">
$(document).ready(function(){
 $('.gpWidget-mailcenterlrg').find('div.mBottom').find('a.tooltip').addClass('ToolLinkButton ui-state-default ui-corner-all');
})
</script>
Edit (3/4/2010): Added some code so that the Sent Items list doesn't also get converted into buttons
This topic was moved from forum Instructions to forum Archive on 3/11/2010 6:03 PM by Mottie.
This topic was moved from forum Archive to forum Instructions on 4/6/2010 5:00 PM by Mottie.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

 
 
Key 
New posts No new posts
New posts ( popular ) No new posts ( popular )
New posts ( sticky ) No new posts ( sticky )
New posts ( locked ) No new posts ( locked )
 
 
Who's Online 
There are   members online.
 
 
So-and-so has logged on!
%title%
%message%