Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Fehler in Java code

Empfohlene Antworten

Hab ein kleines Problem weiß aber nicht was ich falsch gemacht hab!!!

<script> <--- dieses Tag nennen wir es 1 öffnet den ganz abschnitt

<!--

var color = Math.pow(2,screen.pixelDepth);

var cookie = (navigator.cookieEnabled == true) ? "on" : "off";

var java = (navigator.javaEnabled() == true) ? "on" : "off";

document.write('dieses Tag nennen wir es 2 öffnet den kurzen abschnitt----><script src="http://lesida.de/cgi-bin/uos/uos.cgi? id=fw1&action=index&cookie=' + cookie + '&java=' + java + '&e=js&location=' + escape(document.location) + '&ref=' + escape(document.referrer) + '&ref2=' + escape(top.document.referrer) + '&farbe=' + color + '&bit=' + screen.colorDepth + '&width=' + screen.width + '&height=' + screen.height + '"></script><----dieses tag sollte eigentlich tag 2 schließen tut es aber nicht es schließt tag 1');

//-->

</script> <-----und dieses ist eigentlich für tag 1 vorgesehen

kann mir jemand helfen ich find den fehler einfach nicht!!!

JavaScript != Java deswegen verschoben!

Äh Mist, kannste mal den Thread Titel anpassen, Wolle?

Verwirrt sonst nur!

Gruß Jaraz

Original geschrieben von maCfarmeR

Hab ein kleines Problem weiß aber nicht was ich falsch gemacht hab!!!

<script> <--- dieses Tag nennen wir es 1 öffnet den ganz abschnitt

<!--

var color = Math.pow(2,screen.pixelDepth);

var cookie = (navigator.cookieEnabled == true) ? "on" : "off";

var java = (navigator.javaEnabled() == true) ? "on" : "off";

document.write('dieses Tag nennen wir es 2 öffnet den kurzen abschnitt----><script src="http://lesida.de/cgi-bin/uos/uos.cgi? id=fw1&action=index&cookie=' + cookie + '&java=' + java + '&e=js&location=' + escape(document.location) + '&ref=' + escape(document.referrer) + '&ref2=' + escape(top.document.referrer) + '&farbe=' + color + '&bit=' + screen.colorDepth + '&width=' + screen.width + '&height=' + screen.height + '"></script><----dieses tag sollte eigentlich tag 2 schließen tut es aber nicht es schließt tag 1');

//-->

</script> <-----und dieses ist eigentlich für tag 1 vorgesehen

kann mir jemand helfen ich find den fehler einfach nicht!!!

Hi!

Kann es vielleicht sein, dass man <script> - Tags nicht schachteln sollte oder besser gesagt nicht kann?

du kannst aber beliebige viele und ich glaub an beliebiger Stelle das <script> Tag einsetzen!

Gruß

Azrael

ich hab keine ahnung woran es liegt!!!

des is für nen counter von der website des counter anbieters runterkopiert!!!

Servus,

also ich habe das Ding mal kopiert, Deine Kommentare entfernt und laufen lassen. Bei mir kommt eine gelbe Fläche mit ein paar Hitzahlen.

Ist der sonstige Code in Ordnung? Oder besser: Sag doch mal, was nicht läuft. Mit ich hab keine Ahnung und ohne genaue Angaben machst Du es den Leuten hier nicht leicht.

Hier übrigens der Code:


<html>
<head>
</head>
<body>
<script>
<!--
var color = Math.pow(2,screen.pixelDepth);
var cookie = (navigator.cookieEnabled == true) ? "on" : "off";
var java = (navigator.javaEnabled() == true) ? "on" : "off";
document.write('<script src="http://lesida.de/cgi-bin/uos/uos.cgi? id=fw1&action=index&cookie=' + cookie + '&java=' + java + '&e=js&location=' + escape(document.location) + '&ref=' + escape(document.referrer) + '&ref2=' + escape(top.document.referrer) + '&farbe=' + color + '&bit=' + screen.colorDepth + '&width=' + screen.width + '&height=' + screen.height + '"></script>');
//-->
</script>
</body>
[/PHP]

Peter

hat sich erledigt trotzdem danke an alle!!!

Servus,

bei sowas bietet sich an, noch zu sagen, wie es sich erledigt hat. Vielleicht haben Andere auch mal das Problem...

Peter

des hät ich acuh gemacht wenn ich das wüßte, ich weiss es aber wirklich nicht!!! ich hab rum probiert und rumprobiert und irgendwann gings dann!!!

sorry:(

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.