Jump to content

KDM

Newbie
  • Posts

    3
  • Joined

  • Last visited

KDM's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. Спасибо большое,все работает!
  2. пробовал.в stmenu.js сделано через document.write.То есть каждую строчку скрипта писал в document.write.Потом в html,где нужно выводить меню пишу <script type="text/javascript" src="menu.js"></script>.Но когда запускаю документ на месте меню пустота.Я в java не знаток,не знаю даже что и делать
  3. Доброго времени суток!Есть сайт,в нем сделано меню. 01 <script type="text/javascript" src="stmenu.js"></script> 02 03 </head> 04 <body> 05 <div id="container"> 06 <div id="holder" class="clearfix"> 07 <div id="logo"> 08 <h1>ООО "СИК ТулабетонСтрой"</h1> 09 </div> 10 <div> 11 <script type="text/javascript"> 12 <!-- 13 14 stm_bm(["menu41c9",960,"","blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand","",1,25],this); 15 stm_bp("p0",[0,4,0,0,1,4,0,7,100,"",-2,"",-2,50,2,2,"#999999","transparent","",3,0,0,"#000000"]); 16 stm_ai("p0i0",[0,"О компании","","",-1,-1,0,"index.html","_self","","","","",0,0,0,"","",0,0,0,1,1,"#E6EFF9",1,"#0066FF",1,"bg2.gif","",3,3,0,0,"#E6EFF9","#000000","#000000","#000000","8pt Verdana","8pt Verdana",0,0,"bg1.gif","","bg3.gif","",6,6,22],130,0); 17 stm_aix("p0i1","p0i0",[0,"Продукция и цены","","",-1,-1,0,"","_self","","","","",0,0,0,"arrow_r.gif","arrow_r.gif",7,7,0,1,1,"#E6EFF9",1,"#FFFFFF"],130,0); 18 stm_bp("p1",[1,4,0,-1,0,4,0,0,100,"",-2,"",-2,50,2,2,"#CCCCCC","#FFFFFF","",3,1,1,"#FFFFFF"]); 19 stm_ai("p1i0",[0,"Товарный бетон","","",-1,-1,0,"tovbet.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#FFFFFF",1,"#FFFFFF",1,"","",0,0,1,1,"#FFFFFF","#FFFFFF","#000000","#000000","8pt Verdana","8pt Verdana",0,0,"","","","",0,0,0],130,0); 20 stm_ai("p1i1",[6,1,"#0033FF","",-1,-1,0]); 21 stm_aix("p1i2","p1i0",[0,"Товарный раствор","","",-1,-1,0,"tovrast.html"],130,0); 22 stm_aix("p1i3","p1i1",[]); 23 stm_aix("p1i4","p1i0",[0,"Транспортные услуги","","",-1,-1,0,"transusl.html"],130,0); 24 stm_ep(); 25 stm_aix("p0i2","p0i1",[0,"Контроль качества","","",-1,-1,0,"control.html","_self","","","","",0,0,0,"","",0,0],130,0); 26 stm_aix("p0i3","p0i0",[0,"Сертификаты","","",-1,-1,0,"sert.html","_self","","","","",0,0,0,"","",0,0,0,1,1,"#E6EFF9",1,"#FFD602"],130,0); 27 stm_aix("p0i4","p0i3",[0,"Контакты","","",-1,-1,0,"contacts.html"],130,0); 28 stm_aix("p0i5","p0i3",[0,"Фотогалерея","","",-1,-1,0,"foto.html"],120,0); 29 stm_ep(); 30 stm_em(); 31 //--> 32 </script> Страничек в сайте добавляется и так как добавлять в каждую страницу текст меню неудобно,то хочу сделать,чтобы меню загружалось из файла например menu.js,но не получается.Почитал форум,но что-то не нашел решения.Помогите пожалуйста - нужно очень срочно.Надеюсь на вашу отзывчивость .
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy