[英]Why do my thumbs disappear when using google chrome?
So I made my own portfolio website of my photography - www.ignasphoto.com . 因此,我建立了自己的摄影作品集网站-www.ignasphoto.com 。 Now since I am pretty new to html/css and all that this is one of my first work.
现在,由于我是html / css的新手,所以这是我的第一批工作。 However I am experiencing a problem with my thumb list on the main index page when using Google chrome.
但是,使用Google chrome时,我在主索引页面上的拇指列表遇到了问题。 Sometimes a few or all of the thumbs are not visible when the page is loaded and only apear after refreshing the page.
有时,在加载页面时,一些或全部拇指不可见,只有在刷新页面后才会出现。 They sometimes disappear after I click on a thumb and then come back to the index page and reappear only after refreshing the page.
它们有时在我单击拇指后消失,然后返回到索引页面,并且仅在刷新页面后才重新出现。 What did I do wrong?
我做错了什么?
I know this isn't the answer to your question but I noticed when viewing the source of your website that you have in your <head>
you have a <script>
used to set the parameters of of your effects. 我知道这不是您问题的答案,但是我注意到在查看您的
<head>
中的网站资源时,您有一个<script>
用于设置效果参数。
If you wish to neaten things up a bit you could move that script in to a .js file and then link to it. 如果您希望整理一下内容,可以将该脚本移入.js文件,然后链接到该文件。
So if you created a new file in your root directory called effect.js and cut and pasted everything BETWEEN the <script>
and </script>
in to effect.js then you can call it in your head using: 因此,如果您在根目录中创建了一个名为effect.js的新文件,并将
<script>
和</script>
所有内容剪切并粘贴到effect.js中,则可以使用以下命令在头中调用它:
<script type="text/javascript" src="effect.js"></script>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.