the code for the update of the votecount (in ajax) I want the background to change of the link_summary votebox when i click vote.
so far, I made a new IF statement in the link_summary template, and a new ID in the css file, I got everything working, the "number of votes" has a different background then "voted on numbers"
i changed it to:
Code:
<ul class="news-shakeit">
{if $link_shakebox_currentuser_votes eq 0}
<li class="mnm-count" id="main{$link_id}"><a href="javascript:{$link_shakebox_javascript_vote}" id="mnms-{$link_shakebox_index}">{$link_shakebox_votes} {#PLIGG_Visual_Votes#}</a>
{else}
<li class="mnm-count2" id="main{$link_id}"><a class="temp" id="mnms-{$link_shakebox_index}">{$link_shakebox_votes} {#PLIGG_Visual_Votes#}</a>
{/if}
</li>
<li class="menealo" id="mnmlink-{$link_shakebox_index}">
{if $link_shakebox_currentuser_votes eq 0}
<a href="javascript:{$link_shakebox_javascript_vote}">{#PLIGG_Visual_Vote_For_It#}</a></li>
{else}
<span>{#PLIGG_Visual_Vote_Cast#}</span>
{/if}
</ul>
and added a new CSS entry (mnm-count2)
HOEVER. ONLY ON PAGELOAD are they differenciated. when I click VOTE, it does NOT change the class. how can i change that? where is the javascript? I looked in the js folder, but there is none (other then the xml one)