Den 24-02-2004 01:25, skrev Lars Christensen:
> [snip applet kode]
> HTML 4.01 strict kode:
> <div class="ticker">
> <object codetype="application/java" classid="java:TickerLine.class"
> height="13" width="642">
> <PARAM name="TickerFont" value="ticker/VerdanaDk.gif">
> <PARAM name="BackgroundColor" value=" #F5F5DC">
> <PARAM name="TickerDelay" value="70,2000">
> <PARAM name="TickerRect" value="90,1,642,13">
> <PARAM name="TickerUrl" value="ticker/main.txt">
> <PARAM name="Repetition" value="0">
> </object>
> </div>
> [...]
>
> Mangler jeg at definere noget eller er det gjort forkert?
Prøv at angive codetype som: codetype="application/x-java-applet"
Det virker for mig. Hvis du vil have IE med på banen, skal du givetvis
bruge:
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
og
codebase="
http://java.sun.com/products/plugin/autodl/jinstall-1_4_0-win.cab"
(tilpas til den krævede JRE version)og et code parameter.
sådan at det bliver til:
<div class="ticker">
<!-- Generel -->
<object codetype="application/x-java-applet" classid="java:TickerLine.class"
height="13" width="642">
<param name="TickerFont" value="ticker/VerdanaDk.gif">
<param name="BackgroundColor" value=" #F5F5DC">
<param name="TickerDelay" value="70,2000">
<param name="TickerRect" value="90,1,642,13">
<param name="TickerUrl" value="ticker/main.txt">
<param name="Repetition" value="0">
<!-- IE -->
<object codetype="application/x-java-applet"
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase="
http://java.sun.com/products/plugin/autodl/jinstall-1_4_0-win.cab"
height="13" width="642">
<param name="code" value="TickerLine.class" />
<param name="TickerFont" value="ticker/VerdanaDk.gif">
<param name="BackgroundColor" value=" #F5F5DC">
<param name="TickerDelay" value="70,2000">
<param name="TickerRect" value="90,1,642,13">
<param name="TickerUrl" value="ticker/main.txt">
<param name="Repetition" value="0">
<!-- - Java -->
Se dog at få Java
<!-- - Java -->
</object>
<!-- IE -->
</object>
<!-- Generel -->
</div>
Håber at det hjælper
--
Mvh / Regards
Morten K. Hansen
http://hansen-winkel.dk/
Replying by mail? Change 'spam' to my first name.