Xplorer4x4 |
03-15-2007 06:42 AM |
Chad, I doubt half the community knows how to edit the hex codes to change the green, so instead why not use the built in vB CSS attributes. This way everything will show up with the same color scheme of the skin.
PHP Code:
<if condition="$post['field10']"><div id="postmenumyspace_$post[postid]" style="border: 1px solid .alt2; background-color: .alt2; margin-bottom: 4px; width:175px; height:21px" width="100%" class="smallfont"><a target="_blank" href="http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=$post[field20]"> <img border="0" src="$stylevar[imgdir_misc]/icon_myspace.gif" alt="View myspace profile"><script type="text/javascript"> vbmenu_register("postmenumyspace_$post[postid]", true); </script></a></div></if>
PHP Code:
<!-- post $post[postid] myspace menu -->
<div class="vbmenu_popup" id="postmenumyspace_$post[postid]_menu" style="display:none">
<table class="contactTable" border="0" cellpadding="0" cellspacing="0" width="300" id="table1" bgcolor=".alt2">
<tr>
<td class="thead" style align="left" height="15" width="300">
<b><span class="whitetext12">Contacting $post[username]</span></b></td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="300" id="table2">
<tr>
<td>
<img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="5" width="1"></td>
</tr>
<tr>
<td class="vbmenu_option" align="center" height="5" nowrap="nowrap" width="120">
<a id="ctl00_Main_ctl00_UserContactLinks1_MailLink" href="http://Mail.myspace.com/index.cfm?fuseaction=mail.message&friendID=$post[field10]">
<img src="$stylevar[imgdir_misc]/sendMailIcon.gif" align="middle" border="0"></a>
</td>
<td height="5" width="15">
<img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="8" width="15"></td>
<td class="vbmenu_option" align="center" height="5" nowrap="nowrap" valign="top" width="150">
<a id="ctl00_Main_ctl00_UserContactLinks1_ForwardLink" href="http://Mail.myspace.com/index.cfm?fuseaction=mail.forward&friendID=$post[field10]&f=forwardprofile">
<img src="$stylevar[imgdir_misc]/forwardMailIcon.gif" align="middle" border="0"></a>
</td>
</tr>
<tr>
<td colspan="3">
<img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="2" width="1"></td>
</tr>
<tr>
<td class="vbmenu_option" align="center" height="5" nowrap="nowrap" valign="top" width="130">
<a id="ctl00_Main_ctl00_UserContactLinks1_AddFriendLink" href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=$post[field10]">
<img src="$stylevar[imgdir_misc]/addFriendIcon.gif" align="middle" border="0"></a>
</td>
<td height="5" width="15">
<img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="1" width="15"></td>
<td class="vbmenu_option" align="center" height="2" nowrap="nowrap" valign="middle" width="150">
<a id="ctl00_Main_ctl00_UserContactLinks1_AddFavoriteLink" href="http://collect.myspace.com/index.cfm?fuseaction=user.addToFavorite&friendID=$post[field10]&public=0">
<img src="$stylevar[imgdir_misc]/addFavoritesIcon.gif" align="middle" border="0"></a></td>
</tr>
<tr>
<td colspan="3">
<img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="2" width="1"></td>
</tr>
<tr>
<td class="vbmenu_option" align="center" height="5" nowrap="nowrap" width="120">
<a id="ctl00_Main_ctl00_UserContactLinks1_AddFriendLink0" href="http://collect.myspace.com/index.cfm?fuseaction=RateImage.UserRating&UserID=$post[field10]">
<img src="$stylevar[imgdir_misc]/icon_rank_user4.gif" align="middle" border="0"></a>
</td>
<td height="5" width="15">
<img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="8" width="15"></td>
<td class="vbmenu_option" align="center" height="5" nowrap="nowrap" valign="top" width="150">
<a id="ctl00_Main_ctl00_UserContactLinks1_BlockFriendLink" onclick="return confirm('Are you sure you want to block this user?\n- to block this user, hit OK\n- otherwise, hit Cancel');" href="http://collect.myspace.com/index.cfm?fuseaction=block.blockUser&userID=$post[field10]">
<img src="$stylevar[imgdir_misc]/blockuser.gif" align="middle" border="0"></a></td>
</tr>
<tr>
<td colspan="3">
<img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="2" width="1"></td>
</tr>
<tr>
<td class="vbmenu_option" align="center" height="5" nowrap="nowrap" valign="top" width="130">
<a id="ctl00_Main_ctl00_UserContactLinks1_MailLink0" href="http://groups.myspace.com/index.cfm?fuseaction=groups.addtogroup&friendID=$post[field10]">
<img src="$stylevar[imgdir_misc]/icon_add_to_group.gif" align="middle" border="0"></a>
</td>
<td height="5" width="15">
<img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="1" width="15"></td>
<td class="vbmenu_option" align="center" height="2" nowrap="nowrap" valign="middle" width="150">
<a href="http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=$post[field10]">
<img border="0" src="$stylevar[imgdir_misc]/icon_myspace.gif" width="59" height="18"></a></td>
</tr>
<tr>
<td>
<img src="$stylevar[imgdir_misc]/clear.gif" border="0" height="5" width="1"></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!-- / post $post[postid] myspace menu -->
The font color will obviously not change since that is embedded into the image, so I may edit this even more and simply cut out the text from the buttons.
|