Loading ...
Sorry, an error occurred while loading the content.

Java like CSS

Expand Messages
  • bubblefisch2002
    Hello group, I am doing a little bit of HTML-coding, am using Win2K and Dreamweaver for that purpose. By making a tree-menu for my html-pages I use a
    Message 1 of 1 , Mar 4, 2006
    View Source
    • 0 Attachment
      Hello group,

      I am doing a little bit of HTML-coding, am using Win2K and
      Dreamweaver for that purpose.
      By making a tree-menu for my html-pages I use a Dreamweaver-function
      to create some little pop-up-submenues. This creates some java-code
      which always is the same, except the text naming the targets.
      I think it should be possible to centralize the code-fragments which
      are always the same and just set a link to that file like you can do
      it with CSS but how can I do that.
      What do I have to do to for that?

      Here are 2 of these "modules" created by Dreamweaver:

      1)--------------------
      window.mm_menu_0227162327_0 = new Menu("root",120,16,"Arial,
      Helvetica, sans-
      serif",10,"#000000","#FFFFFF","#99FFFF","#0099FF","left","middle",1,0,
      1000,-5,7,true,true,true,0,false,false);
      mm_menu_0227162327_0.addMenuItem("Implantate","window.open
      ('Implantate/Implantate1.htm', 'mainFrame');");
      mm_menu_0227162327_0.addMenuItem
      ("rationelles Implantieren","window.open
      ('Implantate/rationellesImplantieren.htm', 'mainFrame');");
      mm_menu_0227162327_0.addMenuItem("Sofortimplantat","window.open
      ('Implantate/SofortImplantat.htm', 'mainFrame');");
      mm_menu_0227162327_0.hideOnMouseOut=true;
      mm_menu_0227162327_0.bgColor='#0033CC';
      mm_menu_0227162327_0.menuBorder=0;
      mm_menu_0227162327_0.menuLiteBgColor='#FFFFFF';
      mm_menu_0227162327_0.menuBorderBgColor='#003399';

      2)------------------------------
      window.mm_menu_0227165001_0 = new Menu("root",120,16,"Arial,
      Helvetica, sans-
      serif",10,"#000000","#FFFFFF","#99FFFF","#0099FF","left","middle",1,0,
      1000,-5,7,true,true,true,0,true,true);
      mm_menu_0227165001_0.addMenuItem
      ("Endo beim Milchzahn","window.open
      ('KinderZMK/MZEndo.htm', 'mainFrame');");
      mm_menu_0227165001_0.addMenuItem("Milchzahnkronen","window.open
      ('KinderZMK/MZKronen.htm', 'mainFrame');");
      mm_menu_0227165001_0.hideOnMouseOut=true;
      mm_menu_0227165001_0.bgColor='#0033CC';
      mm_menu_0227165001_0.menuBorder=0;
      mm_menu_0227165001_0.menuLiteBgColor='#FFFFFF';
      mm_menu_0227165001_0.menuBorderBgColor='#003399';

      Thanks, Raimund.
    Your message has been successfully submitted and would be delivered to recipients shortly.