I am trying to display please wait or some animated gif to indicate to the user that there is a process going on. Especially during email send takes long time to process. However these are shown only after the email has been sent. Basically it does not output the echo even though the echo is very much kept in the beginning before the processing starts. Any thoughts?
I am looking for the same. Did you find a way ?
I had to remove the < around āscriptā in order for this to paste⦠hope you can decipher
1 Like
ahh now I see⦠EACH line has to be indented 4 spaces⦠Thanks!
Here is the code
//PACE progress Loader
//on app init
?>
<script>paceOptions = { ajax: false, document: false, eventLag: false }</script>
<script src="<?php echo sc_url_library('prj', 'pace_loader', 'pace.min.js'); ?>"></script>
<!-- <script <script data-pace-options='{"ghostTime":100}'src="<?php echo sc_url_library('prj', 'pace_loader', 'pace.min.js'); ?>"></script> -->
<link rel="stylesheet" href="<?php echo sc_url_library('prj', 'pace_loader', 'pace_theme1.css'); ?>">
<?php
1 Like