[Klone-users] Building several web pages with html extension
smlabs
smlabs at libero.it
Tue Sep 30 07:55:54 EDT 2008
ok, thanks in advance.
In the following I've written down the html source. In particular this
page works fine without the call to the klone function.
When I call "webcamStart(); " inside the html code the page returns bad
format and the webcamStart() doesn't work.
Of course I tested webcamStart alone and works fine.
webcam.html
<!-- Klone include-->
<%!
#include <northfuncs.h>
%>
</table><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en"><head><title>TITLE</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta name="keywords" content="your,keywords,goes,here">
<meta name="author" content="simone">
<link rel="stylesheet" href="v01.css" type="text/css" media="screen">
</head>
<body>
<!-- Klone function -->
<%
webcamStart();
%>
<div id="container">
<div id="sitename">
<h1 style="font-weight: bold;">
BLUEnode </h1>
<h2>
</h2>
</div>
<div id="mainmenu">
<ul>
<li><a href="index.html">PRINCIPALE</a></li>
<li><a href="webcam.html">WEBCAM</a></li></ul>
</div>
<div id="wrap">
<div id="leftside">
<h1>MENU</h1>
<p>
<a class="nav" href="index.html">PRINCIPALE</a><span class="hide"> | </span>
<a class="nav active" href="webcam.html">Webcam</a>
</p>
<h1><br>
</h1>
<br>
</div>
<br>
<div id="content">
<h1><br>
</h1>
<h1><strong>Webcam!</strong><br /></h1>
<br>
<applet codebase="." archive="JWebcamPlayer.jar"
code="JWebcamPlayer.class" name="JWebcamPlayer" ID="JWebcamPlayer"
align="center" width="400" height="400" MAYSCRIPT>
<param name="Color" value="#ffffff">
<param name="Server" value="127.0.0.1">
<param name="Port" value="7676">
<PARAM NAME="scriptable" value="true">
<PARAM NAME="mayscript" value="true">
<strong>You need to download Java.<br>
Click <a href="http://www.java.com/en/download/manual.jsp">here:
http://www.java.com/en/download/manual.jsp</a></strong><br>
</applet>
<p><h1>Clicca sulla finestra per regolare contrasto e luminosità
poi clicca nuovamente quando hai finito. </p></h1>
<p class="right"><em><strong>Author</strong></em></p><br></div>
<div class="clearingdiv"> </div>
</div>
</div>
</body></html>
On the other side with the following webcamStart() works.
<%!
#include <northfuncs.h>
%>
<html>
<head> <title>klapp</title> </head>
<body>
<h1>KLone app example</h1>
<blockquote>
Call a function from libmy and display the returned value:
<blockquote>
<i>
<%
io_printf(out, "FunctionWebcam: launching app !");
webcamStart();
%>
</i>
</blockquote>
</blockquote>
</body>
</html>
where's the mistake?
thomas fossati ha scritto:
> Hi,
>
> On Sep 30, 2008, at 7:22 AM, smlabs wrote:
>> does anyone an idea?
>>
>> I forward the previous post because I followed the instructions to
>> create a web page using klone
>> but maybe I don't understand how I have to use the tags <%...
>
> if you post your code we can give it a look.
>
> ciao, t.
>
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>
More information about the klone-users
mailing list