简体   繁体   English

为什么在使用谷歌浏览器时我的拇指消失了?

[英]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.

相关问题 为什么在设置“visibility:hidden;”和“border-collapse:collapse;”时,Google Chrome中的表格单元边框会消失? - Why do table cell borders disappear in Google Chrome when setting “visibility:hidden;” and “border-collapse: collapse;”? 为什么在带%的float时div消失? - why do divs disappear when using float with %? 当我添加 display: flex 时,为什么我的图像会消失? - Why do my images disappear when I add display: flex? 为什么使用滚动时我的内容会消失 - Why does my content disappear when using scroll 为什么单击菜单时我的轮播消失了? - Why my carousel disappear when click on menu? 当我单击表单按钮时,为什么我的DOM更改消失了? - Why do my DOM changes disappear when I click a form button? 当我尝试将它们拖放到彼此中时,为什么所有JQuery拖放对象都消失了? - Why do all of my JQuery drag and drop objects disappear when I try to drop them into each other? 使用Google组织结构图时,为什么Chrome会显示额外的行? - Why is Chrome showing extra line when using Google org chart? Mac 上的 Chrome:使用 `position:sticky` 时滚动条消失 - Chrome on Mac: Scrollbars disappear when using `position: sticky` 为什么我的图像背景在浮动位置上消失了:左? - Why do my image background disappear on float: left?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM