Infinite loading of iframe
風
2020-04-07 07:48:16
0
4
1225

I am taking the course of teacher PETER-ZHU and found that in the tp6 framework, there is an iframe page that will be loaded infinitelyQQ图片20200407004654.pngQQ图片20200407004726.pngQQ图片20200407004736.png

風

reply all(1)
風

Could you please help me solve this problem

  • reply This should be a bug in the framework. I can't see the code for your left menu now, and I don't know the specific situation. You can use the js method on the left menu. After clicking, execute the event and change the src value of the iframe. That's it.
    查无此人 author 2020-04-07 10:32:35
  • reply Teacher, the value of src can be accessed separately. The only situation that cannot be solved is that the iframe page will keep loading. I dare not change the files in the H UI and keep them as they are. I looked for the files in JS if(!bStop){ creatIframe(href,title); min_titleList(); } else{ show_navLi.removeClass("active").eq(bStopIndex).addClass("active"); iframe_box.find(".show_iframe").hide().eq(bStopIndex).show().find("iframe").attr("src",href); } Didn't see the corresponding event
    author 2020-04-07 20:42:46
  • reply Do you have any corresponding tutorials that you can recommend so I can learn from them?
    author 2020-04-07 20:43:33
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template