ads by google

New Topic

Cardboard Virtual Reality - VR Bible

http://bibleway.us/vr.html simply open up this link and plugin your cardboard

 

 

How to turn any website into cardboard vr:

<html>
<style>
    html, body, iframe { height: 100%; }
    body {
    margin: 0;
}
style>
    <div id="divvy" style="width:100%;height:100%;">
        
    <iframe style="border:none;width:49.5%;height:100%;overflow:hidden;position:left;" id="left" name="left" onscroll="console.log('scrolling..');"; src="https://bibleway.us" onload="insertDivFromFrame('divvy','left');" onscroll="parent.document.frames['Right'].document.body.scrollTop = document.body.scrollTop;">iframe>
    <iframe id="right" style="border:none;width:49.5%;overflow:hidden;position:right;height:100%;background:-moz-element(#left)" onscroll="parent.document.frames['Left'].document.body.scrollTop = document.body.scrollTop;">iframe>
    div>
<script>
    //window.parent.document.getElementById('left').scrollTop=document.body.scrollTop;
window.setInterval(function(){
   // document.frames['Left']
  elem= window.parent.document.getElementById('right');
  elem2= window.parent.document.getElementById('left');
  console.log(elem2.scrollTop);
  var scrollTop = document.documentElement ? document.documentElement.scrollTop : document.body.scrollTop;
  elem.scrollTop=elem2.scrollTop;
}, 2000);
//copyright bibleway.us Kristoffer Bernssen AGPL
script>
html>


If you see this; please contact the administrator and give the following information:ccbot/2.0 (http://commoncrawl.org/faq/)
Thank you.

Bibleway.usĀ©
Bible World
Contact Policy