打开我的网站时左尖括号为白色
我有一个奇怪的问题。 当我进入我的网站 http://www.dinomuhic.com 时,我有时会在左上角看到一个左尖括号在显示我的页面之前,将其放在白色背景的角上一小段时间(1-2 秒)。
我不知道为什么会发生这种情况。我认为这是因为我在 document.ready 状态发送了一个 AJAX 请求,但我删除了它并将 AJAX 在第一次进入时加载的内容直接放入 DOM 中,因此不必加载并遍历所有 AJAX 代码但它仍然弹出。
它看起来真的很不专业,如果它必须对页面的加载速度做一些事情,我宁愿使用预加载器而不是发生这种情况。也许你们中的一些人知道为什么会发生这种情况。
谢谢
PS:请上帝保佑,不要告诉我摆脱 jQuery/UI 或类似的按钮。有数百万个其他页面使用这些并且他们没有这样的问题。谢谢
I have a strange problem.
When I enter my site http://www.dinomuhic.com I sometimes see a left angle bracket in the top left corner on white background for a short time (1-2 sec) before my page is displayed.
I don't know why this is happening. I thought its because I send an AJAX request at document.ready state but I removed it and placed the stuff, which the AJAX would load at first entering, directly into the DOM so it doesnt have to be loaded and go through all the AJAX code but it still pops up.
It looks really unprofessional and if it has to do something with laoding speed of the page I would rather use a preloader instead of this happening. Perhaps some of you know why its happening.
Thank you
PS: and PLEASE for the love of god, don't tell me to get rid of jQuery/UI or the like buttons. There are millions of other pages which use these and they don't have such problems. Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因为它位于元重定向之前的代码中。这是你的罪魁祸首:
注意index.php"><
Cuz it's in your code before your meta redirect. Here's your culprit:
Notice the index.php"><