Click to See Complete Forum and Search --> : code execution


cvinzens
01-11-2004, 06:33 PM
Sounds awkward, but I do have to give in!!

Using Netscape 7.1, javascript ..... I am pretty sure I did select all necessary options, I also tested the functionality ( enable / off ) on one of the web sites--> http://www.heise.de/security/dienste/browsercheck/tests/java.shtml ,
and got positiv answers ( enabled ) but I still have trouble to get some javascript funtions to work.

commands in javascript like window.Xpen or
checkString are not being executed.

Additional info:
Read out from javascript console:
Error: window.Xpen is not a function
Sorcefile: http://www.alinghi.com/fr/scripts/fullscreen.js

:confused: well, I am confused

What am I doing wrong? or what is missing? Programm / Configuration...???


Is there someone out there which could help??? TX in advance!


Regards Conrad

96turnerri
01-11-2004, 06:38 PM
java and javascript are different try

<html>
<head>
<title>Java / JS</title>
</head>

<body>

<script="text/javascript">
document.write("<b>Java Enabled ?: </b>");
if (navigator.javaEnabled() < 1) document.write("No");
if (navigator.javaEnabled() == 1) document.write("Yes");
</script>

</body>

if says java enabled ? yes javascript and java are both enabled if nothing appears you dont have javascript enabled

cvinzens
01-11-2004, 06:59 PM
Java has been enabled and working. So i am not sure if the problem would be with Java.

To my humble understanding I thought Javascript is not using Java?

I am open to any other suggestion, since I defintly ran out of ideas.


Regards, Conrad

fredmv
01-11-2004, 10:59 PM
Originally posted by cvinzens
window.Xpen is not a functionYou merely misspelled the method name. After looking at your external JavaScript source file, it appears to be corrected.

96turnerri
01-12-2004, 06:55 AM
you rright its not but that link you gave us, german i think was to test java not javascript

cvinzens
02-18-2004, 12:08 PM
Thanks to all trying to assist! It feels comfortable to get such support.

I ended up to format C: my HD. Thats the way I got rid of my problem.

The new installation runs fine.

See You,
Conrad :rolleyes: