Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<A HREF="home.html" target="contentFrame">Home</A>[code], but you can also change the URL using JS.
Within the navigation page you add this function
[code]function loadUrl(url) {
targetFrame = parent.frames.mainFrame.frames.contentFrame;
targetFrame.location.href = url;
//sets focus on loaded document
targetFrame.window.focus();
}
<A HREF="javascript:loadUrl('home.html')">Home</a>
function reloadNav(url) {
targetFrame = top.frames.navFrame;
targetFrame.location.href = url;
}
top.reloadNav('nav.asp?param=someValue')
top.location.reload();