固定Bootstrap导航栏以768 x 1024视图消失(Fixed Bootstrap navbar disappearing with 768 x 1024 view)
我下载了自举AZY响应1页模板,无法使固定导航栏保持在屏幕顶部768 x 1024(iPad - 人像)分辨率。 从240 x 320到1024 x 768,它仍然固定在所有其他位置的顶部。
我创造了一个小提琴: http : //jsfiddle.net/B2sw6/
我尝试使用它但它不起作用:
.navbar-fixed-top { position: fixed; right: 0; left: 0; z-index: 1030; top: 0; }
如果将中心分隔条拖到约。 768px宽度您将看到黑色导航栏与页面的其余部分向上滚动而不是保留在顶部。
有没有人有任何关于如何更新CSS以纠正此问题的提示?
I downloaded the bootstrap AZY responsive 1 page template and cannot get the fixed navbar to stay at the top of the screen for 768 x 1024 (iPad - Portrait) resolution. It remains fixed at the top for all others from 240 x 320 to 1024 x 768.
I've created a fiddle: http://jsfiddle.net/B2sw6/
I tried using this but it didn't work:
.navbar-fixed-top { position: fixed; right: 0; left: 0; z-index: 1030; top: 0; }
If you drag the center divider bar across to approx. 768px width you will see the black navbar scrolls up with the rest of the page instead of remaining in place at the top.
Does anyone have any hints on how to update the CSS to correct this?
原文:https://stackoverflow.com/questions/15825442
最满意答案
只需添加VR图像/视频文件的正确路径即可。
<iframe width="100%" height="700px" allowfullscreen frameborder="0" src=" **full_url_path_till_vr_file** &is_stereo=false"></iframe>
有关详细信息,请访问以下链接:
After looking everywhere for the answer i found this blog
http://blog.mastermaps.com/2014/01/photo-spheres-with-threejs.html
it gave me the right answers to wrap my 360 image in a sphere so it could be display as a 360 image using Threejs once i did that i was able to load the image with full 360 rotation action into the index.html file and finally displaying in my test.html
相关问答
更多-
如何创建360图像查看器?(How to create 360 image viewer?)[2022-03-16]
你可以使用谷歌SDK的Vr。 https://developers.google.com/vr/android/ You can use Vr from google SDK. https://developers.google.com/vr/android/ -
我的网站上的VR 360图像(VR 360 images on my site)[2022-11-19]
只需添加VR图像/视频文件的正确路径即可。 有关详细信息,请访问以下链接: 嵌入VR视图 After looking everywhere for the answer i found this blog http://blog.masterm ... -
以360度查看图像(View images in 360 degrees)[2023-07-07]
使用Papervision3D实现与您提供的链接类似的操作。 你可以在这里开始吧 。 如果您对Papervision的学习曲线有疑虑,可以下载与您想要的非常相似的已经制作的应用程序。 我建议看看ActiveDen 。 这是我发现的一个 。 Use Papervision3D to achieve things similar to that link you provided. You can get started here. If you have concerns about the learning ... -
从iPad画廊重新创建Javascript支持的360°VR视图(Recreating the Javascript-powered 360° VR view from the iPad gallery)[2022-05-24]
这个怎么样: Reel是一个jQuery插件,它采用一个图像标签,并使其成为预先构建的动画帧序列的实时“投影”。 其目标是提供某种东西或某个地方的360°视图。 广泛使用的Flash技术的很好选择。 How about this: Reel is a jQuery plugin which takes an image tag and makes it a live "projection" of pre-built animation frames sequence. Its aim is to prov ... -
如果你有一个基本的图像(或文本或其他东西),你可以使用CSS3转换来移动它(这是在FoWD的404页面上使用的 - 使用CSS3转换转换的静态图像)。 许多浏览器都不支持它们,但如果您知道目标支持它,则可以使用它。 此页面显示如何使用CSS转换创建旋转效果: http : //davidwalsh.name/css-transform-rotate 。 此外,这是FoWD的404页面上用于使图像旋转的代码: #earth { -webkit-animation-name: earthRotation ...
-
通常,这些网站在上传时会创建几个版本的图像。 常见的例子是小(缩略图),中等,大,全尺寸。 这些转换是在上传时完成的,因为在动态调整这么多图像时会有很大的性能损失。 Usually, these sites create a few versions of the image when they are uploaded. Common examples are small (thumbnail), medium, large, full-size. These transformations are do ...
-
YouTube 360视频iframe在移动浏览器中无法使用(YouTube 360 video iframe does not work in mobile browser)[2024-01-26]
鉴于缺乏其他答复,并在其他人发现这种情况下,我采取了这种(不幸的)略为hacky解决方案在这个过渡期似乎工作。 if(window.innerWidth < 760){ $('.video').on('click', function( e ) { e.preventDefault(); //assumes that by forcing window to go to youtube will kick up option to open in app where e ... -
仅从相隔45度的8幅图像中插入360度图像(Interpolating 360 degree Images out of only 8 images that are 45 degrees apart)[2022-08-19]
这部电影对正在发生的事情极具欺骗性。 Sony RayModeler不是“自动立体”显示器,它是由高速旋转LED阵列产生的全体积显示器。 该设备需要所有360个图像,设备中没有8个图像到360的插值。 8相机业务只是标准的无源多视图立体声设置,与RayModeler分开。 关于这个主题的论文有数百篇,见http://vision.middlebury.edu/mview/ 如果你想解决你所描述的问题,它被称为“光场插值”,你可以在Atalay和Mount的论文中阅读它, http://www.cs.umd. ... -
检查大小是没有意义的,大多数正确编码的电影使用标准尺寸,如1080p(1920x1080),WQHD(2560×1440)或4K(3840×2160),因为更好的硬件解码。 要做到这一点,他们没有方形像素。 因此,你不应该按比例猜测任何东西。 你应该做的,是检查天顶和最低点的存在。 如果它是相同的颜色(假设最标准的等距矩形投影 ),则检查图像的最顶部和最底部区域。 如果您涉及立体视觉,这种方法需要一些调整。 您必须为每个眼睛区域重复此过程。 作为奖励,您还可以推断出一些立体视觉类型 - 例如,您可以区分上下 ...
-
如何从Azure Media服务blob在我的网站上传输360视频?(How can I stream 360 videos on my site from Azure Media service blob?)[2021-12-12]
您需要找到一个可以专门处理这类视频的视频播放器。 默认的HTML5视频播放器没有。 快速搜索向我展示了一些选项,例如Kolor Eyes播放器。 将该播放器放到您的页面上,然后简单地指向播放器的源(src),使其指向blob存储所在的地址.mp4。 You'll need to find a video player that can specifically handle that kind of video. The default HTML5 video player does not. A quic ...