custom-pages icon indicating copy to clipboard operation
custom-pages copied to clipboard

Bug: Loading animation don't go away on Snippets

Open 001101 opened this issue 8 years ago • 1 comments

Very very cool feature with the snippets, thats so awesome! Have now used it for a PHP iFrame, it's just a plain PHP File and it works good, but the loading animation don't go away, have also tested to embed it into a iframe HTML file, but also not working.

Is there a trick to disable the loading animation?

Thanks!!

001101 avatar Oct 09 '16 12:10 001101

A friend has fixed it:

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <script type="text/javascript">
  window.parent.$("iframe[src='"+location.href+"']").css("background","none");
  </script>
</head>
<body>
<?php
the code
 ?>
</body>
</html>

001101 avatar Oct 10 '16 14:10 001101