hmischel@diligentsystems.com
2015-04-06, 00:22
Pinegrow is a really handy tool that Hank introduced us to.
I am starting to play around with it and thought I would work through several examples to show it usefulness.
I am clearly not an expert on it, so anyone that wants to extend the demo's, feel free.
Here is the first one. It just puts a nav bar in a webview.
https://youtu.be/DlEHGGe00VA
Here is my default LianjaBootstrap file.
<%@ Language=VFP%>
<%
///////////////////////////////////////////////////////////////////////////////////////////////////////////
private m_embedded = getParameter("embedded", "false")
private m_libpath
set macros on
set fixed on
if isServer()
m_libpath = "../../library/"
else
m_libpath = "lib:/"
endif
if m_embedded = "false"
? '<html>'
? '<head>'
? '<link rel="stylesheet" href="&m_libpath/bootstrap-3.3.4/css/bootstrap.min.css">'
? '<script src="&m_libpath/jquery-1.10.2/jquery-1.10.2.min.js" type="text/javascript"></script>'
? '<script src="&m_libpath/bootstrap-3.3.4/js/bootstrap.min.js" type="text/javascript"></script>'
? '</head>'
endif
%>
<body style="overflow-y:hidden;">
</body>
</html>
Herb
I am starting to play around with it and thought I would work through several examples to show it usefulness.
I am clearly not an expert on it, so anyone that wants to extend the demo's, feel free.
Here is the first one. It just puts a nav bar in a webview.
https://youtu.be/DlEHGGe00VA
Here is my default LianjaBootstrap file.
<%@ Language=VFP%>
<%
///////////////////////////////////////////////////////////////////////////////////////////////////////////
private m_embedded = getParameter("embedded", "false")
private m_libpath
set macros on
set fixed on
if isServer()
m_libpath = "../../library/"
else
m_libpath = "lib:/"
endif
if m_embedded = "false"
? '<html>'
? '<head>'
? '<link rel="stylesheet" href="&m_libpath/bootstrap-3.3.4/css/bootstrap.min.css">'
? '<script src="&m_libpath/jquery-1.10.2/jquery-1.10.2.min.js" type="text/javascript"></script>'
? '<script src="&m_libpath/bootstrap-3.3.4/js/bootstrap.min.js" type="text/javascript"></script>'
? '</head>'
endif
%>
<body style="overflow-y:hidden;">
</body>
</html>
Herb