Posts: 9
Threads: 3
Joined: Sep 2014
I would like to change the time period (increase) of the fadeout effect in the form submission confirmation box. The one that says: Thank you Your comment ... blah blah blah ... Actually I would like for that green success box to remain un-faded just like the red error one. Could somebody point me to the right file / lines of code to accomplish this? Thank you.
Posts: 9
Threads: 3
Joined: Sep 2014
Got it ... it's not in css. The file that needs to be modified is includes/template/form.php
just comment out the following (line 626)
Modified script
Code:
<script type="text/javascript">
// <![CDATA[
jQuery(document).ready(function() {
jQuery('.cmtx_approval_box'); //.delay(2000).fadeOut(2000);
jQuery('.cmtx_success_box');//.delay(2000).fadeOut(2000);
});
// ]]>
</script>
as opposed to original script:
Code:
<script type="text/javascript">
// <![CDATA[
jQuery(document).ready(function() {
jQuery('.cmtx_approval_box').delay(2000).fadeOut(2000);
jQuery('.cmtx_success_box').delay(2000).fadeOut(2000);
});
// ]]>
</script>
That will have the desired effect of keeping the succes confirmation box active in the form area of the comments.