In Safari 9.0.3 it doesn’t show scrollbars - it works in chrome. The problem is the scroll bars, it looks like a frame - I suppose what I want to do isn’t possible. I will revise my design. The imbedded scrollbars go against the design rules of this project, it would have to be the native scroll bars.
Thanks for all of your help everyone, I appreciate your time.
Added CSS3 @media Rule to chance the style in small devices
@media only screen and (max-width: 680px) { /* Extra Feature: Change behavior with mediaquery */
.footer_content a {font-size: 80%;}
#footer_fixed { background-color: rgba(255,77,65,0.52);}
}
Note: with this Rule you can hide/show (none/block) the navbar
@media only screen and (max-width: 480px) {
#footer_fixed {display: none;}
}
Added javascript to show tre scene name in the Project
var checkHash = function() {
var hash = window.location.hash.substring(1);
for(var i = 0; i < hypeDocument.sceneNames().length; i++) {
if(hypeDocument.sceneNames()[i] == hash) {
hypeDocument.showSceneNamed(hash);
break;
}
}
};
if (window.loadedHashLocation != true) {
window.loadedHashLocation = true;
checkHash();
window.onhashchange = checkHash;
}
window.location.hash = "#" + hypeDocument.currentSceneName();
MANUAL EDITING:
Edit the index.html with the commented code.
Add your url + scene name to all links
Note: update your links also in Hype (to reuse it)
<!-- ADD YOUR URL AND PASTE THIS CODE AFTER <body>
<div id="footer_fixed">
<div class="footer_content"> <a href="http://www.yoururl.com/index.html#scene1">menu 1</a> <a href="http://www.yoururl.com/index.html#scene2">menu 2</a> <a href="http://www.yoururl.com/index.html#scene3">menu 3</a> my site and credits</div>
</div>
END-->
This helps a lot! You are very kind to have taken the time to do this. I really do appreciate your, and everyones time with this, it will give me a good start for the project indeed!
While this works perfectly in most situations, I found that this breaks the “on enter viewport”. Even after scrolling and making the object visible on the viewport of the browser, it doesn’t trigger the events.