Hello everyone, Writing this in the template file produces my map with the option for a rubber band box: <applet codebase="/js/jBox" archive="jBoxPNG.jar,png.jar" code="jBoxPNG.class" width="450" height="450" name="jBox"> <param name="image" value="http://[host][img]"> </applet>
Now I'm trying to implement my applet in a way that it doesnt require the activation-click for IE6 users. Following this guide (http://java.sun.com/developer/technicalArticles/J2SE/Desktop/ieappletgu ide/)it should work like this: In the js-file: document.write('<applet codebase="/tutorial/java/jBox" archive="jBoxPNG.jar,png.jar" code="jBoxPNG.class" width="450" height="450" name="jBox"'); document.write('<param name="image" value="http://[host][img]">'); document.writeln('</applet>'); In the template: <script src="/js/dmap.js"></script> The script is being loaded but I get the following error: "Applet error. Malformed image url" I tried replacing the image url with a direct image url to an existing image but still the same error. Unfortunately I'm completely new to javascript and can't seem to solve this. Any help would be appreciated. Best Regards Janosch -------------------------------------------------------------------------------- Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. Der rechtsverbindliche elektronische Schriftverkehr mit der Stadt Trier ist über diese E-Mail-Adresse derzeit noch nicht möglich. -------------------------------------------------------------------------------- _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
