Новичок
Профиль
Группа: Участник
Сообщений: 17
Регистрация: 23.11.2009
Репутация: нет Всего: нет
|
Здравствуйте! на одном сайте скачала код меню-вертушки. http://www.scriipt.ru/formavertushka.htmЧуть отредактировала,цвета,слова. все норм. но теперь когда нажимаю на пункты меню, страницы 1) вообще не открываются 2) не открываются в фрейме (name="frame"). Дело, в том, что на главной странице у меня три фрейма: 1-шапка 2-меню-вертушка 3-место для отображения пунктов меню. Вот код главной страницы: | Код | <html> <head> <title>1111</title> </head> <frameset rows="250,150,*" border=0> <frame src="logo.html" scrolling=no noresize > <frame src="menu.htm" scrolling=no noresize>
<frame src="begin.html" name="frame" noresize> </frameset> </html>
|
А вот код меню-вертушки: | Код | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- saved from url=(0067)http://www.web-script.narod.ru/scripts/JavaScript_index_of_all.html --> <!-- Copyright 2002 Maks Komogorov | http://web-script.narod.ru/ | [email protected] --><HTML><HEAD><TITLE></TITLE> <META HTTP-EQUIV=Content-Type CONTENT="text/html"> <META HTTP-EQUIV=Content-Language CONTENT=kz> <META CONTENT="MSHTML 6.00.2800.1081" NAME=GENERATOR></HEAD> <BODY TEXT=#cccccc VLINK=#ffc109 ALINK=#ffc109 LINK=#ffc109>
<LINK HREF="general.css" TYPE=text/css REL=stylesheet > <DIV ALIGN=center> <CENTER> <script language=JavaScript1.2 SRC="menucode.js"> </SCRIPT>
<script> function lib_bwcheck(){ this.ver=navigator.appVersion; this.agent=navigator.userAgent this.dom=document.getElementById?1:0 this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ie=this.ie4||this.ie5||this.ie6 this.mac=this.agent.indexOf("Mac")>-1 this.opera5=this.agent.indexOf("Opera 5")>-1 this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom) return this } var bw=new lib_bwcheck() var mDebugging=2 oCMenu=new makeCoolMenu("oCMenu") oCMenu.useframes=0 oCMenu.frame="" oCMenu.useclick=0 oCMenu.useNS4links=1 oCMenu.NS4padding=2 oCMenu.checkselect=0 oCMenu.pagecheck=1 oCMenu.checkscroll=0 oCMenu.resizecheck=1 oCMenu.wait=500 oCMenu.usebar=1 oCMenu.barcolor="Green" oCMenu.barwidth="100%" oCMenu.barheight="menu" oCMenu.barx=0 oCMenu.bary=0 oCMenu.barinheritborder=0 oCMenu.rows=1 oCMenu.fromleft=20 oCMenu.fromtop=0 oCMenu.pxbetween=30 oCMenu.menuplacement="center"
//TOP LEVEL PROPERTIES - FOR LEVEL[0] oCMenu.level[0]=new Array() oCMenu.level[0].width=110 oCMenu.level[0].height=25 oCMenu.level[0].bgcoloroff="Green" oCMenu.level[0].bgcoloron="#66cc99" oCMenu.level[0].textcolor="White" oCMenu.level[0].hovercolor="Yellow" oCMenu.level[0].style="padding:2px; font-family:arial,helvetica; font-size:12px; font-weight:bold" oCMenu.level[0].border=0 oCMenu.level[0].bordercolor="black" oCMenu.level[0].offsetX=0 oCMenu.level[0].offsetY=-1 oCMenu.level[0].NS4font="tahoma,arial,helvetica" oCMenu.level[0].NS4fontSize="2" oCMenu.level[0].clip=1 oCMenu.level[0].clippx=15 oCMenu.level[0].cliptim=60 oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
oCMenu.level[0].align="bottom" //SUB LEVEL[1] PROPERTIES oCMenu.level[1]=new Array() oCMenu.level[1].width=oCMenu.level[0].width-2 oCMenu.level[1].height=22 oCMenu.level[1].style="padding:2px; font-family:arial,helvetica; font-size:11px; font-weight:bold" oCMenu.level[1].align="bottom" oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20 oCMenu.level[1].offsetY=0 oCMenu.level[1].border=1 oCMenu.level[1].bordercolor="#006699" //SUB LEVEL[2] PROPERTIES oCMenu.level[2]=new Array() oCMenu.level[2].width=150 oCMenu.level[2].height=20 oCMenu.level[2].bgcoloroff="#009999" oCMenu.level[2].bgcoloron="#0099cc" oCMenu.level[2].style="padding:2px; font-family:arial,helvetica; font-size:10px; font-weight:bold" oCMenu.level[2].align="bottom" oCMenu.level[2].offsetX=0 oCMenu.level[2].offsetY=0 oCMenu.level[2].border=1 oCMenu.level[2].bordercolor="#006699" oCMenu.level[2].NS4font="arial,helvetica" oCMenu.level[2].NS4fontSize="1" oCMenu.level[2].clip=1 oCMenu.level[2].clippx=20 oCMenu.level[2].cliptim=50 oCMenu.makeMenu('top0','',' Первый пункт','','') oCMenu.makeMenu('sub00','top0','Подпункт1','http://www.scriipt.ru/') <!-- / Вот этот сайт открывается, только в 2-ом фрейме --> oCMenu.makeMenu('sub01','top0','Подпункт2','/news.html') <!-- / Эти файлы лежат в той же папке где и этот документ -->
oCMenu.makeMenu('sub02','top0','Подпункт3','/propose.html') <!-- / Но они не открываются -->
oCMenu.makeMenu('top1','',' Второй пункт','') oCMenu.makeMenu('sub10','top1','Подпункт1','/scripts/JavaScript_index.html') oCMenu.makeMenu('sub11','top1','Подпункт2','/scripts/JavaScript_index_of_all.html') oCMenu.makeMenu('sub12','top1','Подпункт3','/applets/JavaApplet_index.html') oCMenu.makeMenu('sub13','top1','Подпункт4','/scripts/other.html')
oCMenu.makeMenu('top3','',' Третий пункт','') oCMenu.makeMenu('sub30','top3','Подпункт1','/index.html') oCMenu.makeMenu('sub31','top3','Подпункт2','')
oCMenu.makeMenu('top5','',' Четвертый пункт','') oCMenu.makeMenu('sub50','top5','Подпункт1','') oCMenu.makeMenu('sub51','top5','Подпункт2','/chat.html') oCMenu.makeMenu('sub52','top5','Подпункт3','/guestbook.html') oCMenu.makeMenu('sub53','top5','Подпункт4','') oCMenu.makeMenu('top6','',' Пятый пункт','','',182,0) oCMenu.makeMenu('sub060','top6','Подпункт1','/archive/your_opinion.html',0,180) oCMenu.makeMenu('sub061','top6','Подпункт2','/archive/question_form.html',0,180) oCMenu.makeMenu('sub063','top6','Подпункт3','/archive/Email.html',0,180)
oCMenu.makeStyle(); oCMenu.construct() </SCRIPT> <BR><BR> </CENTER></DIV> <P ALIGN=left></P> </BODY></HTML>
|
Я еще новичок в этом) Помогите плиз. Как можно сделать так чтобы пункты меню открывались в 3-ем фрейме и чтобы они вообще открывались.
|