[JavaScript] Problem bei Java mit Frameset

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • [JavaScript] Problem bei Java mit Frameset

    Hallo,

    ich habe ein Problem wie kann ich in diesem JavaScript eintragen das bei den Links nicht der Header ändert sondern das mainframe.
    oder wenn Zwei Frames neu geladen werden sollen aber Header und leftframe erhalten bleiben sollen.

    Hier der Quellcode des Scriptes:

    // Milonic DHTML Menu version 3.2.0
    menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}


    ////////////////////////////////////
    // Editable properties START here //
    ////////////////////////////////////

    timegap=400 // The time delay for menus to remain visible
    followspeed=5 // Follow Scrolling speed
    followrate=5 // Follow Scrolling Rate
    suboffset_top=6; // Sub menu offset Top position
    suboffset_left=12; // Sub menu offset Left position

    effect = "fade(duration=0.2);Shadow(color='#000000', Direction=135, Strength=3)" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters

    style1=[ // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
    "000000", // Mouse Off Font Color
    "DFDFDF", // Mouse Off Background Color
    "000000", // Mouse On Font Color
    "BFBFBF", // Mouse On Background Color
    "BFBFBF", // Menu Border Color
    11, // Font Size
    "normal", // Font Style
    "normal", // Font Weight
    "Verdana,Tahoma,Helvetica", // Font Name
    4, // Menu Item Padding
    "arrow.gif", // Sub Menu Image (Leave this blank if not needed)
    0, // 3D Border & Separator bar
    "000000", // 3D High Color
    "000000", // 3D Low Color
    , // Referer Item Font Color (leave this blank to disable)
    , // Referer Item Background Color (leave this blank to disable)
    , // Top Bar image (Leave this blank to disable)
    , // Menu Header Font Color (Leave blank if headers are not needed)
    , // Menu Header Background Color (Leave blank if headers are not needed)
    ]


    addmenu(menu=[ // This is the array that contains your menu properties and details
    "mainmenu", // Menu Name - This is needed in order for the menu to be called
    148, // Menu Top - The Top position of the menu in pixels
    11, // Menu Left - The Left position of the menu in pixels
    , // Menu Width - Menus width in pixels
    0, // Menu Border Width
    , // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
    style1, // Properties Array - this is set higher up, as above
    1, // Always Visible - allows the menu item to be visible at all time
    "center", // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
    , // Filter - Text variable for setting transitional effects on menu activation - see above for more info
    , // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times)
    1, // Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style
    , // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
    "right", // Position of TOP sub image left:center:right
    , // Type of menu use "form" or blank
    , // Right To Left - Used in Hebrew for example.
    , // Open the Menus OnClick - leave blank for OnMouseover
    , // Menu Header Text (only works on Vertical menus)
    , // Reserved for future use
    , // Reserved for future use
    , // Reserved for future use
    ,"Startseite","../index.htm",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
    ,"Impressum","frame/impressum_frame.php",,,1
    ,"Produkte","show-menu=produkte",,"",0
    ,"Firmenprofil","show-menu=firmenprofil",,"",0
    ,"Service","show-menu=service",,"",0
    ,"Kontakt","show-menu=kontakt",,"",0
    ,"Qualität","show-menu=quali",,"",0
    ,"Links ","links.php",,,0
    ])

    addmenu(menu=["info-center",,,170,1,"left",style1,,"left",effect,,,,,,,,,,,,
    ,"Energie sparen","energie_sparen.htm",,,1
    ,"Hilfe zur Selbsthilfe 1","selbsthilfe1.htm",,,1
    ,"Hilfe zur Selbsthilfe 2","selbsthilfe2.htm",,,1
    ,"Informationen","informationen.htm",,,1
    ,"Energiesparverordnung","energiesparverordnung.htm",,,1
    ])

    addmenu(menu=["produkte",,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,"Produkte","frame/produkte_frame.php",,,1
    ,"Einsatzbereiche","einsatzbereiche.php",,,1
    ])

    addmenu(menu=["firmenprofil",,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,"Wir über uns","wir_ueber_uns.php",,,1
    ,"Unsere Sicherungen","unsere_leistungen.php",,,1
    ,"Unternehmensphilosophie","unternehmensphilosophie.php",,,1
    ,"Historie","historie.php",,,1
    ])

    addmenu(menu=["quali",,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,"Qualität","qualitaet.php",,,1
    ,"Tüv Zertifikat","../images/zd050304.pdf",,,1
    ])

    addmenu(menu=["service",,,150,1,"center",style1,,"left",effect,,,,,,,,,,,,
    ,"Normenumstellung","normenumstellung.php",,,1
    ,"all-tight Beschaffungssystem","beschaffungssystem.php",,,1
    ,"RoHS / Richtlinie 2002/95/EG","../images/elektro_eurichtlinie_inhaltsstoffe.pdf",,,1
    ])


    addmenu(menu=["kontakt",,,120,1,"center",style1,,"left",effect,,,,,,,,,,,,
    ,"E-mail","kontakt.php",,,1
    ,"Kontaktadressen","kontaktadressen.php",,,1
    ,"Anfahrt","show-menu=anfahrt2",,,1

    ])

    addmenu(menu=["anfahrt2",,,160,1,"center",style1,,"left",effect,,,,,,,,,,,,
    ,"Wegbeschreibung","anfahrt.php",,,1
    ,"Wegbeschreibung als PDF-Dokument","anfahrt.pdf",,,1
    ])


    addmenu(menu=["links",,,120,1,"",style1,,"",effect,,,,,,,,,,,,
    ,"Videos", "videos.htm",,,1
    ,"Links", "links.php",,,1
    ])


    dumpmenus() // This must be the last line in this file


    der link zu dem Fehler den ich habe ist
    http://www.LuckySounds.net/all-tight/deutsch/Test2.htm

    Ich würde mich freuen wenn mir da jemand helfen könnte.

    Gruß Izcer

  • #2
    [COLOR=red]JAVA != JAVASCRIPT! [/COLOR]

    Lies die Doku zu dem Menü...
    Sunshine CMS
    BannerAdManagement
    Borlabs - because we make IT easier
    Formulargenerator [color=red]Neu![/color]
    Herkunftsstatistik [color=red]Neu![/color]

    Kommentar


    • #3
      Welche Doku?
      Bitte ein Link dazu.

      Kommentar


      • #4
        Welche Doku?
        Bitte ein Link dazu.
        Die findest Du mormalerweise dort, wo Du das Script bekommen hast.
        Die Zeit hat ihre Kinder längst gefressen

        Kommentar


        • #5
          Ich habe das Script nicht bekommen, ich baue für einen Bekanten die Homepage um. Und da war dieses Script vorhanden. Da ich nicht weiß wo ich ein anderes Menü was genau so aufgebaut ist herbekomme, suche ich die lösung zu dem Problem oder jemand kann mir sagen wo ich ein solches Script herbekomme.

          Kommentar


          • #6
            Re: [JavaScript] Problem bei Java mit Frameset

            Original geschrieben von Izcer
            Hier der Quellcode des Scriptes:

            // Milonic DHTML Menu version 3.2.0
            Da steht der Scriptname - also füttere google damit.
            I don't believe in rebirth. Actually, I never did in my whole lives.

            Kommentar

            Lädt...
            X