I just realized another problem with my so called "solution" =)
My JS Code:
<script type="text/javascript">
$(function() {
function runEffect(){
var selectedEffect = $('#slide').val();
var options = {};
if(selectedEffect == 'scale'){ options = {percent: 0}; }
else if(selectedEffect == 'size'){ options = { to: {width: 200,height: 60} }; }
$("#effect1, #effect2").toggle(selectedEffect,options,500);
};
$("#moduleMenuBtn1, #moduleMenuBtn2").click(function() {
runEffect();
return false;
});
});
</script>
I have 9 boxes, all with a "Menu" button that should slide down a menu for a particular box (not all at once).
How can I change the code to get "Menu" button1 to react with "menu1" and not all menus at once?
My solution to have #menuBtn1, #menuBtn2, etc, is not working =)