Änderungen

Zur Navigation springen Zur Suche springen
867 Bytes hinzugefügt ,  19:47, 13. Mär. 2007
Zeile 440: Zeile 440:  
Anlegen eines Links:
 
Anlegen eines Links:
 
<pre>
 
<pre>
vi /www/20-cgi-bin-webcam
+
cd /www
 +
vi 20-cgi-bin-webcam
 +
</pre>
 +
 
 +
Text einfügen:
    +
<pre>
 
<TR><TD>^M
 
<TR><TD>^M
 
             <DIV CLASS="plugin"><A CLASS="plugin" HREF="cgi-bin-webcam.html">Webcam</A></DIV></TD>^M
 
             <DIV CLASS="plugin"><A CLASS="plugin" HREF="cgi-bin-webcam.html">Webcam</A></DIV></TD>^M
 
           </TR>^M
 
           </TR>^M
 +
</pre>
 +
Dann noch die Site anlegen
 +
<pre>
 +
cd /www
 +
vi cgi-bin-webcam.html
 
</pre>
 
</pre>
 +
 +
und Text einfügen:
    
=== als Bild ===
 
=== als Bild ===
   −
=== Mit Java Applett ===
+
<pre>
 +
 
 +
</pre>
 +
 
 +
=== Mit Java Applet ===
 +
 
 +
<pre>
 +
#!/bin/sh
 +
 
 +
export DATE="18.11.2006";SCRIPT=${0#/rom}
 +
export TITLE="Webcam"
 +
. ${SCRIPT%/*}/cgi-bin-pre.sh
 +
 
 +
cat<<EOF
 +
<center>
 +
<H1>Webcam</H1>
 +
    <applet code=com.charliemouse.cambozola.Viewer
 +
    archive=cambozola.jar width="320" height="240" style="border-width:1; border-color:gray; border-style:solid;">
 +
    <param name="url" value="http://10.63.223.1:8000">
 +
    <param name="failureimage" value="offline.jpg">
 +
    <param name="accessories" value="ZoomIn,ZoomOut,Pan,Info">
 +
    </applet>
 +
</center>
 +
EOF
 +
 
 +
. ${SCRIPT%/*}/cgi-bin-post.sh
 +
</pre>
 +
 
 +
*das Applet --> [http://www.charliemouse.com/code/cambozola/index.html Cambozola-Viewer + Server]
 +
*das offline.jpg ist automatisch dabei wenn ihr das PWC-Modul installiert habt

Navigationsmenü