Zum Inhalt springen

Empfohlene Beiträge

Geschrieben

Guten Tag,

Hab ein Problelm! Hab ein Java-Menu mit dem Programm Sothink DHTML Menu 9 gebaut und wollte dieses in meine Website einfügen. Leider bockt der IE diese. Erst nach dem "Zulassen der Aktivität" wird das Menü Sichtbar.

Im Head:

<script type="text/javascript" src="stmenu.js"></script>
Im Body:
<div id="menu">

<a href="http://www.dhtml-menu-builder.com"  style="display:none;visibility:hidden;">Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com</a>

<script type="text/javascript">

<!--

stm_bm(["menu7def",900,"","blank.gif",4,"","",0,0,250,0,1000,1,0,0,"","602",67109119,0,1,2,"default","hand","",1,30],this);

stm_bp("p0",[0,4,0,0,0,0,9,0,100,"",-2,"",-2,50,0,0,"#999999","transparent","",0,0,0,"#000000"]);

stm_ai("p0i0",[0,"Aktuelles","","",-1,-1,0,"maint.htm","mainFrame","","","","",9,7,0,"","",0,0,0,1,1,"#2d2e26",1,"#2d2e26",1,"5674_04.gif","5674_14.gif",3,3,0,0,"#FFFFF7","#000000","#FFFFFF","#000000","10pt Verdana","10pt Verdana",0,0,"5674_03.gif","5674_13.gif","5674_04-.gif","5674_16-.gif",7,9,36],100,36);

stm_bpx("p1","p0",[0,4,0,0,0,0,0,0,100,"",-2,"",-2,78,0,0,"#799BD8","#b6e0f8"]);

stm_ai("p1i0",[0," Archiv","","",-1,-1,0,"archiv.htm","mainFrame","","","","",0,0,0,"","",0,0,0,1,1,"#B6E0F8",0,"#b6e0f8",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#f92525","8pt Verdana","8pt Verdana",0,0,"","","","",0,0,0],0,28);

stm_ep();

stm_aix("p0i1","p0i0",[0,"AH Stahl","","",-1,-1,0,"ahstahl.htm","mainFrame","","","","",0,0,0,"","",0,0,0,1,1,"#2d2e26",1,"#2d2e26",1,"5674_04.gif","5674_14.gif",3,3,0,0,"#FFFFF7","#FFFFFF","#FFFFFF","#000000","10pt Verdana","10pt Verdana",0,0,"5674_04-----.gif","5674_13-2.gif"],100,36);

stm_bpx("p2","p1",[]);

stm_aix("p2i0","p1i0",[0,"  Profil","","",-1,-1,0,"","_self"],12,28);

stm_aix("p2i1","p1i0",[0,"  |  ","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#b6e0f8",0,"#b6e0f8",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#000000"],2,28);

stm_aix("p2i2","p1i0",[0,"Historie","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#b6e0f8"],2,28);

stm_aix("p2i3","p2i1",[],2,28);

stm_aix("p2i4","p2i2",[0,"Leistungsspektrum"],2,28);

stm_aix("p2i5","p2i1",[],2,28);

stm_aix("p2i6","p2i2",[0,"Events"],2,28);

stm_aix("p2i7","p2i1",[],2,28);

stm_aix("p2i8","p2i2",[0,"Lehrlingsausbildung"],2,28);

stm_aix("p2i9","p2i2",[0,"  |  "],0,28);

stm_aix("p2i10","p2i2",[0,"Sponsoring","","",-1,-1,0,"#","mainFrame"],0,28);

stm_aix("p2i11","p2i9",[],0,28);

stm_aix("p2i12","p2i2",[0,"Anfahrt"],0,28);

stm_ep();

stm_aix("p0i2","p0i1",[0,"Team","","",-1,-1,0,"","_self"],100,36);

stm_bpx("p3","p1",[]);

stm_aix("p3i0","p2i2",[0,"  Geschäftsleitung"],2,28);

stm_aix("p3i1","p2i1",[],2,28);

stm_aix("p3i2","p2i2",[0,"Verkauf"],2,28);

stm_aix("p3i3","p2i1",[],2,28);

stm_aix("p3i4","p2i2",[0,"Service/Teile"],2,28);

stm_aix("p3i5","p2i1",[],2,28);

stm_aix("p3i6","p2i2",[0,"Buchhaltung"],2,28);

stm_aix("p3i7","p2i1",[],2,28);

stm_aix("p3i8","p2i2",[0,"Werkstatt  "],2,28);

stm_aix("p3i9","p2i9",[],0,28);

stm_aix("p3i10","p2i2",[0,"Karosserie"],0,28);

stm_aix("p3i11","p2i9",[],0,28);

stm_aix("p3i12","p2i2",[0,"Lackiererei"],0,28);

stm_aix("p3i13","p2i9",[],0,28);

stm_aix("p3i14","p2i2",[0,"Lehrlinge"],0,28);

stm_ep();

stm_aix("p0i3","p0i2",[0,"Neuwagen"],100,36);

stm_bpx("p4","p1",[]);

stm_aix("p4i0","p2i2",[0," VW Konfigurator"],0,28);

stm_aix("p4i1","p2i9",[],0,28);

stm_aix("p4i2","p2i2",[0,"Versicherungsservice"],0,28);

stm_aix("p4i3","p2i9",[],0,28);

stm_aix("p4i4","p2i2",[0,"Finanzierung"],0,28);

stm_aix("p4i5","p2i9",[],0,28);

stm_aix("p4i6","p2i2",[0,"Leasing"],0,28);

stm_aix("p4i7","p2i9",[],0,28);

stm_aix("p4i8","p2i2",[0,"VW Individual"],0,28);

stm_aix("p4i9","p2i9",[],0,28);

stm_aix("p4i10","p2i2",[0,"Großkunden"],0,28);

stm_aix("p4i11","p2i9",[],0,28);

stm_aix("p4i12","p2i2",[0,"Verkaufsberater"],0,28);

stm_ep();

stm_aix("p0i4","p0i2",[0,"Gebrauchtwagen"],100,36);

stm_bpx("p5","p1",[]);

stm_aix("p5i0","p2i2",[0," Angebot des Monats"],0,28);

stm_aix("p5i1","p2i9",[],0,28);

stm_aix("p5i2","p2i2",[0,"Mobile Shop"],0,28);

stm_ep();

stm_aix("p0i5","p0i1",[0,"Service","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#2d2e26",1,"#2d2e26",1,"5674_04.gif","5674_14.gif",3,3,0,0,"#FFFFF7","#000000"],100,36);

stm_bpx("p6","p1",[]);

stm_aix("p6i0","p2i2",[0,"  Leistungen"],2,28);

stm_aix("p6i1","p2i1",[],2,28);

stm_aix("p6i2","p2i2",[0,"Werkstatttermin"],2,28);

stm_aix("p6i3","p2i1",[],2,28);

stm_aix("p6i4","p2i2",[0,"Notdienst"],2,28);

stm_aix("p6i5","p2i9",[],0,28);

stm_aix("p6i6","p2i2",[0,"HU / AU Service"],0,28);

stm_aix("p6i7","p2i9",[],0,28);

stm_aix("p6i8","p2i2",[0,"Tuning"],0,28);

stm_aix("p6i9","p2i9",[],0,28);

stm_aix("p6i10","p2i2",[0,"Oldtimerservice"],0,28);

stm_aix("p6i11","p2i9",[],0,28);

stm_aix("p6i12","p2i2",[0,"Unfallspezialist"],0,28);

stm_aix("p6i13","p2i9",[],0,28);

stm_aix("p6i14","p2i2",[0,"Infos"],0,28);

stm_ep();

stm_aix("p0i6","p0i5",[0,"Teile/Zubehör"],100,36);

stm_bpx("p7","p1",[]);

stm_aix("p7i0","p2i2",[0,"  VW Zubehör"],2,28);

stm_aix("p7i1","p2i1",[],2,28);

stm_aix("p7i2","p2i2",[0,"Audi Zubehör"],2,28);

stm_aix("p7i3","p2i1",[],2,28);

stm_aix("p7i4","p2i2",[0,"Skoda Zubehör  "],2,28);

stm_aix("p7i5","p2i9",[],0,28);

stm_aix("p7i6","p2i2",[0,"Originalteile"],0,28);

stm_aix("p7i7","p2i9",[],0,28);

stm_aix("p7i8","p2i2",[0,"NORA"],0,28);

stm_aix("p7i9","p2i9",[],0,28);

stm_aix("p7i10","p2i2",[0,"Schnäppchenmarkt"],0,28);

stm_aix("p7i11","p2i9",[],0,28);

stm_aix("p7i12","p2i2",[0,"Räder / Reifen"],0,28);

stm_aix("p7i13","p2i9",[],0,28);

stm_aix("p7i14","p2i2",[0,"Hersteller"],0,28);

stm_aix("p7i15","p2i9",[],0,28);

stm_aix("p7i16","p2i10",[0,"Infos"],0,28);

stm_ep();

stm_aix("p0i7","p0i0",[0,"Öffnungszeiten","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#2d2e26",0,"#2d2e26",1,"5674_04.gif","5674_14.gif",3,3,0,0,"#FFFFF7","#000000","#FFFFFF","#000000","10pt Verdana","10pt Verdana",0,0,"5674_04.gif","5674_13-2.gif","5674_03-1.gif","5674_13-1.gif",6,7],100,36);

stm_ep();

stm_em();

//-->

</script>

</div>

Geschrieben

Hab ein Problelm! Hab ein Java-Menu mit dem Programm Sothink DHTML Menu 9 gebaut und wollte dieses in meine Website einfügen. Leider bockt der IE diese. Erst nach dem "Zulassen der Aktivität" wird das Menü Sichtbar.

Das ist kein Java sondern JavaScript. Ich denke, dass das Blockieren auch korrekt ist (es handelt sich ja um JavaScript Code), damit sehe ich keinen Fehler

Geschrieben

Ja ok bei mir is klar aber wenn andere user dies anschauen wollen muessen die ja auch immer die SIcherhheitseinstellungen ändern. Kann man dieses Problem nicht irgendwie umgehen?

Geschrieben

Hättet ihr mir dann einen Rat was ich da machen könnte. Denn das Menü wäre Ideal für die Seite. Aber mit der Blockade natürluch unzumutbar.:confused::confused::confused::confused::confused::confused:

Geschrieben

Ich frage mich gerade wo die Diskussion hinauslaufen soll !?

Benutzt Du JavaScript und/oder andere Techniken wie Flash musst Du eben auch mit den Problemen, die dadurch entstehen leben. Wenn Du Html + CSS verwendest hast Du nun mal weniger Probleme.

Geschrieben
Hättet ihr mir dann einen Rat was ich da machen könnte.

Ein Menü bauen, das auch ohne JavaScript funktioniert. Der Quelltext sieht ja gruselig aus. :rolleyes: "mainFrame" lässt darauf schließen, dass Du gleich noch dein Frameset entsorgen solltest.

Geschrieben
Ein Menü bauen, das auch ohne JavaScript funktioniert.

Ein aktueller Lösungsansatz wäre:

Das Menü mit Listen von links bauen (ol, li)

mit CSS das ganze als Drop-Down Menü darstellen.

Das funktioniert dann auch ohne CSS sehr gut, wird von Suchmaschinen und Screenreadern verstanden, und hat gar keine Sicherheitsprobleme.

selfhtml erklärt den Code dazu Schritt für Schritt

SELFHTML: Stylesheets / CSS-basierte Layouts / Navigationsleisten

Wenn man den Code gar nicht verstehen will kann man den generator verwenden:

CSS Menu Generator

Dein Kommentar

Du kannst jetzt schreiben und Dich später registrieren. Wenn Du ein Konto hast, melde Dich jetzt an, um unter Deinem Benutzernamen zu schreiben.

Gast
Auf dieses Thema antworten...

×   Du hast formatierten Text eingefügt.   Formatierung wiederherstellen

  Nur 75 Emojis sind erlaubt.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Editor leeren

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...