Custom Modal Help
Design and Skin Customization
Dazed:Thanks Brian. Was there in change in JR6? This was working in JR5.
No - this is not related to anything in the core - this is ALL template and javascript. The problem here is you are trying to CREATE a modal window via the "MixAP_modal()" javascript function, and it looks like you are passing a BAD DOM id to that function - all DOM ids must NOT begin with a number.
Change it to this:
<a onclick="MixAP_modal('#review-{$item._item_id}')" title="Reviews For {$item.audio_title}">{jrCore_icon icon="pen"}</a>
<div class="modal" id="review-{$item._item_id}" style="display: none">
<div style="padding: 1em 1em 0">
<h2>Reviews For {$item.audio_title}</h2>
<div style="float: right;">
{jrCore_icon icon="close" size="22" class='simplemodal-close'}
</div>
</div>
<div class="wrap">
<div style="max-height: 400px; overflow: auto">
{jrComment_form module="jrAudio" profile_id=$item._profile_id item_id=$item._item_id}
</div>
</div>
</div>
This also assumes that MixAP_modal() is correct as well. If that does not work you may need to style the inner div - you've got no classes on it.