<script>
Event.observe(window,'load', function () {
$$('.acs_content_div').each(Element.hide);
$('acs_content_data').show();
$$('.acs_tab').each(function (tab, ix) {
tab.observe('click', function(e) {
$$('.acs_content_div').each(Element.hide);
var acs_tab_id= tab.getAttribute("id");
var acs_content_id= acs_tab_id.replace(/tab/, "content");
$(acs_content_id).show();
});
});
});
</script>
|
Sag etwas dazu: