Разработка web-сайта ТФ МГУКИ. Создание информационного массива "Учебная часть"
Дипломная работа - Компьютеры, программирование
Другие дипломы по предмету Компьютеры, программирование
enu(num,snum,s2num){(snum!=-1){(oSlide[num][snum].subs==0) return
}(s2num!=-1){(oSlide[num][snum][s2num].subs==0) return
}((num!=active || snum!=sactive || s2num!=s2active) && !going){going=true;isthere=0;sisthere=0;moveUp(num,snum,s2num)}
oSlide[i].starty+pxspeed&&active!=i)oSlide[i].moveBy(0,-pxspeed){if(active!=i)oSlide[i].moveIt(oSlide[i].x,oSlide[i].starty);isthere=i}">}moveUp(num,snum){(snum==-1){(i=0;ioSlide[i].starty+pxspeed && active!=i) oSlide[i].moveBy(0,-pxspeed){if(active!=i) oSlide[i].moveIt(oSlide[i].x,oSlide[i].starty); isthere=i}
}
(isthere<oSlide.length-1) setTimeout("moveUp("+num+","+snum+")",timspeed)swmenu2(num,snum)
}else{(num==oSlide.length-1) isthere=num(sactive!=-1){ //Is out!
oSlide[num].sub[i].starty+pxspeed) oSlide[num].sub[i].moveBy(0,-pxspeed){oSlide[num].sub[i].moveIt(oSlide[num].sub[i].x,oSlide[num].sub[i].starty); sisthere=i}">//Slide subs=0(i=sactive+1;ioSlide[num].sub[i].starty+pxspeed) oSlide[num].sub[i].moveBy(0,-pxspeed){oSlide[num].sub[i].moveIt(oSlide[num].sub[i].x,oSlide[num].sub[i].starty); sisthere=i}
}
oSlide[i].starty + oSlide[num].sub[sactive].y +subheight*j ) oSlide[i].moveBy(0,-pxspeed){oSlide[i].moveIt(oSlide[i].x,oSlide[i].starty + oSlide[num].sub[sactive].y +subheight*j ); isthere=i}">//Slide main(i=num+1;ioSlide[i].starty + oSlide[num].sub[sactive].y +subheight*j ) oSlide[i].moveBy(0,-pxspeed){oSlide[i].moveIt(oSlide[i].x,oSlide[i].starty + oSlide[num].sub[sactive].y +subheight*j ); isthere=i}
}
oSlide[i].starty+snum*between+between)oSlide[i].moveBy(0,-pxspeed){oSlide[i].moveIt(oSlide[i].x,oSlide[i].starty+snum*between+between);isthere=i}">}else{ //Slide to the one clicked(i=num+1;ioSlide[i].starty + snum*between+between) oSlide[i].moveBy(0,-pxspeed){oSlide[i].moveIt(oSlide[i].x,oSlide[i].starty + snum*between+between); isthere=i}
}
}(isthere<oSlide.length-1 || (sactive!=-1 && sisthere<oSlide[num].sub.length-1 && sactive!=oSlide[num].sub.length-1)) setTimeout("moveUp("+num+","+snum+")",timspeed)swmenu2(num,snum)
}
}swmenu2(num,snum){=0;=0;(active>-1 && snum==-1){
//Hiding submenus(j=0;j<oSlide[active].subs;j++){oSlide[active].sub[j].hideIt()}[active].bgImg(level0_regular)[active].moveIt(0,oSlide[active].starty)
}(sactive>-1){
//Hiding submenus(j=0;j<oSlide[active][sactive].sub.length;j++){oSlide[active][sactive].sub[j].hideIt()}[active].sub[sactive].bgImg(oSlide[active].sub[sactive].origimg)[active].sub[sactive].moveIt(10,oSlide[active].sub[sactive].starty)
//Move back to place(i=sactive+1;i<oSlide[active].sub.length;i++){[active].sub[i].moveIt(oSlide[active].sub[i].x,oSlide[active].sub[i].starty)
}
}=num
-1){=snum(j=0;j-1){=snum(j=0;j<oSlide[num][snum].sub.length;j++){oSlide[num][snum].sub[j].showIt()}[num].sub[snum].moveBy(10,3)[num].sub[snum].bgImg(level1_round2)
}else{=-1(j=0;j<oSlide[active].subs;j++){oSlide[active].sub[j].showIt()}[num].moveBy(10,3)[num].bgImg(level0_round)
}(num!=oSlide.length-1) moveDown(num,snum){=num(num,snum)
}
}moveDown(num,snum){
//if(num==oSlide.length-1) isthere=num(i=num+1;i<oSlide.length;i++){(snum==-1){(oSlide[i].y<(oSlide[num].subs-1)*subheight+oSlide[i].starty+between-pxspeed) oSlide[i].moveBy(0,pxspeed){oSlide[i].moveIt(oSlide[i].x,(oSlide[num].subs-1)*subheight+oSlide[i].starty+between); isthere=i}
}else{(oSlide[i].y<(oSlide[num].subs-1)*subheight+oSlide[i].starty+between-pxspeed + (oSlide[num][snum].subs-1)*subheight+between) oSlide[i].moveBy(0,pxspeed){oSlide[i].moveIt(oSlide[i].x,(oSlide[num].subs-1)*subheight+oSlide[i].starty+between + (oSlide[num][snum].subs-1)*subheight+between); isthere=i}
}
}(snum!=-1){(i=snum+1;i<oSlide[num].sub.length;i++){(oSlide[num].sub[i].y<(oSlide[num][snum].subs-1)*subheight+oSlide[num].sub[i].starty+between-pxspeed) oSlide[num].sub[i].moveBy(0,pxspeed){oSlide[num].sub[i].moveIt(oSlide[num].sub[i].x,(oSlide[num][snum].subs-1)*subheight+oSlide[num].sub[i].starty+between); sisthere=i}
}
}(snum==-1){(isthere<oSlide.length-1) setTimeout("moveDown("+num+","+snum+")",timspeed)going=false
}else{(isthere<oSlide.length-1 || (sisthere<oSlide[num].sub.length-1 && snum!=oSlide[num].sub.length-1)) setTimeout("moveDown("+num+","+snum+")",timspeed)going=false
}
}test=0=new Array(); var a=0; var b=0; var c=0; var d=0makeMenu(type,text,lnk,target,end){=""; tg="";
if(target) tg=target="+target+"
if(!lnk) lnk="#"
\n(type=="top"){[a]=newArray();(text=="seperator"){+=\t\n[a].seperator=1
}else{
<a href="+lnk+" +tg+ onclick="swmenu(+a+,-1,-1); if(bw.ie || bw.ns6) this.blur();
if(lnk=="#") str+=return false
str+=">
}
menus[a].subs=0; a++; b=0
<a +tg+ onclick="swmenu(+(a-1)+,+b+,-1); if(bw.ie || bw.ns6) this.blur();
if(lnk=="#") str+=return false
str+=" href="+lnk+">
}else if(type=="sub2"){+=\t\t\n++; menus[a-1][b-1].subs=c; menus[a-1][b-1][c-1]=new Array(); d=0; menus[a-1][b-1][c-1].subs=0
}(end) str+="".write(str)
}preLoadBackgrounds(){
for(i=0;i<arguments.length;i++){
this[i]=new Image()
this[i].src=arguments[i]
}return this}
=28=25=22=13=15=200=10_regular="files/level0_regular.gif"_round="files/level0_round.gif"_regular="files/level1_regular.gif"_round="files/level1_round.gif"_sub="files/level1_sub.gif"_sub_round="files/level1_sub_round.gif"_round2="files/level1_round2.gif"_regular="files/level2_regular.gif"_round="files/level2_round.gif"(level0_regular,level0_round,level1_regular,level1_round,level1_sub,level1_sub_round,level1_round2,level2_regular,level2_round)">=28 =25 =22 =13 =15 =200 =10 _regular="files/level0_regular.gif"_round="files/level0_round.gif"_regular="files/level1_regular.gif"_round="files/level1_round.gif"_sub="files/level1_sub.gif"_sub_round="files/level1_sub_round.gif"_round2="files/level1_round2.gif"_regular="files/level2_regular.gif"_round="files/level2_round.gif"(level0_regular,level0_round,level1_regular,level1_round,level1_sub,level1_sub_round,level1_round2,level2_regular,level2_round)
//There are 3 different types of menus you can make
//top = Main menus
//sub = Sub menus
//sub2 = SubSub menus
//You control the look of the menus in the stylesheet
//makeMenu(TYPE,TEXT,LINK,TARGET, END (THE LAST MENU))
//Menu 0 (top,Специальности)(sub,Специальности,files/spez.htm)
//Menu 1(top,Правила приёма)(sub,Правила приёма,files/pravila.htm)
//Menu 2(top,График учёбы)
makeMenu(sub,График учёбы,files/grafik.htm)
//Menu 3(top,Расписание)
makeMenu(sub,Расписание)
makeMenu(sub2,Курс 1,files/raspisanie1.htm)
makeMenu(sub2,Курс 2,files/raspisanie2.htm)
makeMenu(sub2&