Autor Zpráva
zaibat
Profil *
potreboval bych helpnout s timto skriptem(pokracovani dole):

<script type='text/javascript'>

function Go(){return}

/********************************************************************* **
YOU CAN MANUALLY CHANGE THE MENU HERE, BUT BE VERY CAREFUL !
********************************************************************** */

Menu1=new Array("Home","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Center /Ostatni/pages/clanove%20stranky/prava.htm","",0,22,120);

Menu2=new Array("Rules","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Cente r/Ostatni/pages/clanove%20stranky/rules.htm","",0,0,80);

Menu3=new Array("Members","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Cen ter/Ostatni/pages/clanove%20stranky/members.htm","",0,0,80);

Menu4=new Array("Training","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Ce nter/Ostatni/pages/clanove%20stranky/training.htm","",0,0,80);

Menu5=new Array("Joint us","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Center/Ostatni/ pages/clanove%20stranky/joint_us.htm","",0,0,80);

Menu6=new Array("Wars","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Center /Ostatni/pages/clanove%20stranky/wars.htm","",0,0,80);

Menu7=new Array("Results","","",2,0,80);
Menu7_1=new Array("FW","","",2,20,80);
Menu7_1_1=new Array("Old","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Center/ Ostatni/pages/clanove%20stranky/results_fw_old.htm","",0,20,80);
Menu7_1_2=new Array("Recent","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Cent er/Ostatni/pages/clanove%20stranky/results_fw.htm","",0,20,0);
Menu7_2=new Array("ESL","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Center/ Ostatni/pages/clanove%20stranky/results_esl.htm","",0,20,0);

Menu8=new Array("Questbook","http://www.blueboard.cz/kniha_0.php?id=75976","",0, 0,80);

Menu9=new Array("KlanChat","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Ce nter/Ostatni/pages/clanove%20stranky/team_chat.htm","",0,0,80);

Menu10=new Array("Demos","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Cente r/Ostatni/pages/clanove%20stranky/demos.htm","",0,20,80);

Menu11=new Array("Enquiry","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Cen ter/Ostatni/pages/clanove%20stranky/enquiry.htm","",0,20,80);

Menu12=new Array("Contact","file:///C:/Documents%20and%20Settings/J%E1/Plocha/Cen ter/Ostatni/pages/clanove%20stranky/kontakt.htm","",0,20,80);


var NoOffFirstLineMenus=12; // Number of first level items
var LowBgColor='000000'; // Background color when mouse is not over
var LowSubBgColor='333333'; // Background color when mouse is not over on subs
var HighBgColor='808080'; // Background color when mouse is over
var HighSubBgColor='333333'; // Background color when mouse is over on subs
var FontLowColor='808080'; // Font color when mouse is not over
var FontSubLowColor='969696'; // Font color subs when mouse is not over
var FontHighColor='C0C0C0'; // Font color when mouse is over
var FontSubHighColor='FFFFFF'; // Font color subs when mouse is over
var BorderColor='808080'; // Border color
var BorderSubColor='808080'; // Border color for subs
var BorderWidth=1; // Border width
var BorderBtwnElmnts=1; // Border between elements 1 or 0
var FontFamily="Tahoma, Verdana, Arial" // Font family menu items
var FontSize=11; // Font size menu items
var FontBold=1; // Bold menu items 1 or 0
var FontItalic=0; // Italic menu items 1 or 0
var MenuTextCentered='center'; // Item text position 'left', 'center' or 'right'
var MenuCentered='left'; // Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top'; // Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap=.2; // horizontal overlap child/ parent
var ChildVerticalOverlap=.2; // vertical overlap child/ parent
var StartTop=1; // Menu offset x coordinate
var StartLeft=1; // Menu offset y coordinate
var VerCorrect=0; // Multiple frames y correction
var HorCorrect=0; // Multiple frames x correction
var LeftPaddng=1; // Left padding
var TopPaddng=1; // Top padding
var FirstLineHorizontal=1; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=1; // Frames in cols or rows 1 or 0
var DissapearDelay=1000; // delay before menu folds in
var TakeOverBgColor=1; // Menu frame takes over background color subitem frame
var FirstLineFrame='navig'; // Frame where first level appears
var SecLineFrame='space'; // Frame where sub levels appear
var DocTargetFrame='space'; // Frame where target documents appear
var TargetLoc=''; // span id for relative positioning
var HideTop=0; // Hide first level when loading new document 1 or 0
var MenuWrap=1; // enables/ disables menu wrap 1 or 0
var RightToLeft=0; // enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0; // Level 1 unfolds onclick/ onmouseover
var WebMasterCheck=0; // menu tree checking on or off 1 or 0
var ShowArrow=1; // Uses arrow gifs when 1
var KeepHilite=0; // Keep selected path highligthed
var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10]; // Arrow source, width and height


/********************************************************************* **
DO NOT EDIT ANYTHING BELOW THIS LINE - IT WILL BREAK THE SCRIPT !
********************************************************************** */

var AgntUsr=navigator.userAgent.toLowerCase();
var DomYes=document.getElementById?1:0;
var NavYes=AgntUsr.indexOf('mozilla')!=-1&&AgntUsr.indexOf('compatible')== -1?1:0;
var ExpYes=AgntUsr.indexOf('msie')!=-1?1:0;
var Opr=AgntUsr.indexOf('opera')!=-1?1:0;
var Opr6orless=window.opera && navigator.userAgent.search(/opera.[1-6]/i)!=-1 //DynamicDrive.com added code
var DomNav=DomYes&&NavYes?1:0;
var DomExp=DomYes&&ExpYes?1:0;
var Nav4=NavYes&&!DomYes&&document.layers?1:0;
var Exp4=ExpYes&&!DomYes&&document.all?1:0;
var PosStrt=(NavYes||ExpYes)&&!Opr6orless?1:0;
var FrstLoc,ScLoc,DcLoc;
var ScWinWdth,ScWinHght,FrstWinWdth,FrstWinHght;
var ScLdAgainWin;
var FirstColPos,SecColPos,DocColPos;
var RcrsLvl=0;
var FrstCreat=1,Loadd=0,Creatd=0,IniFlg,AcrssFrms=1;
var FrstCntnr=null,CurrntOvr=null,CloseTmr=null;
var CntrTxt,TxtClose,ImgStr;
var Ztop=100;
var ShwFlg=0;
var M_StrtTp=StartTop,M_StrtLft=StartLeft;
var StaticPos=0;
var LftXtra=DomNav&&!Opr?LeftPaddng:0; //Changed for Opera
var TpXtra=DomNav?TopPaddng:0;
var M_Hide=Nav4?'hide':'hidden';
var M_Show=Nav4?'show':'visible';
var Par=parent.frames[0]&&FirstLineFrame!=SecLineFrame?parent:window;
var Doc=Par.document;
var Bod=Doc.body;
var Trigger=NavYes&&!Opr?Par:Bod; //Changed for Opera

MenuTextCentered=MenuTextCentered==1||MenuTextCentered=='center'?'cent er':MenuTextCentered==0||MenuTextCentered!='right'?'left':'right';
WbMstrAlrts=["Item not defined: ","Item needs height: ","Item needs width: "];

if(Trigger.onload)Dummy=Trigger.onload;
if(DomNav||Opr)Trigger.addEventListener('load',Go,false); //Changed for Opera
else Trigger.onload=Go;

function Dummy(){return}

function CnclSlct(){return false}

function RePos(){
FrstWinWdth=ExpYes?FrstLoc.document.body.clientWidth:FrstLoc.innerWid th;
FrstWinHght=ExpYes?FrstLoc.document.body.clientHeight:FrstLoc.innerHe ight;
ScWinWdth=ExpYes?ScLoc.document.body.clientWidth:ScLoc.innerWidth;
ScWinHght=ExpYes?ScLoc.document.body.clientHeight:ScLoc.innerHeight;
if(MenuCentered=='justify'&&FirstLineHorizontal){
FrstCntnr.style.width=FrstWinWdth;
ClcJus();
var P=FrstCntnr.FrstMbr,W=Menu1[5],i;
for(i=0;i<NoOffFirstLineMenus;i++){P.style.width=W;P=P.PrvMbr}}
StaticPos=-1;
if(TargetLoc)ClcTrgt();
if(MenuCentered)ClcLft();
if(MenuVerticalCentered)ClcTp();
PosMenu(FrstCntnr,StartTop,StartLeft)}

function UnLoaded(){
if(CloseTmr)clearTimeout(CloseTmr);
Loadd=0; Creatd=0;
if(HideTop){
var FCStyle=Nav4?FrstCntnr:FrstCntnr.style;
FCStyle.visibility=M_Hide}}

function ReDoWhole(){
if(ScWinWdth!=ScLoc.innerWidth||ScWinHght!=ScLoc.innerHeight||FrstWin Wdth!=FrstLoc.innerWidth||FrstWinHght!=FrstLoc.innerHeight)Doc.locatio n.reload()}

function Check(WMnu,NoOf){
var i,array,ArrayLoc;
ArrayLoc=parent.frames[0]?parent.frames[FirstLineFrame]:self;
for(i=0;i<NoOf;i++){
array=WMnu+eval(i+1);
if(!ArrayLoc[array]){WbMstrAlrt(0,array); return false}
if(i==0){ if(!ArrayLoc[array][4]){WbMstrAlrt(1,array); return false}
if(!ArrayLoc[array][5]){WbMstrAlrt(2,array); return false}}
if(ArrayLoc[array][3])if(!Check(array+'_',ArrayLoc[array][3])) return false}
return true}

function WbMstrAlrt(No,Xtra){
return confirm(WbMstrAlrts[No]+Xtra+' ')}

function Go(){
Dummy();
if(Loadd||!PosStrt)return;
BeforeStart();
Creatd=0; Loadd=1;
status='Building menu';
if(FrstCreat){
if(FirstLineFrame =="" || !parent.frames[FirstLineFrame]){
FirstLineFrame=SecLineFrame;
if(FirstLineFrame =="" || !parent.frames[FirstLineFrame]){
FirstLineFrame=SecLineFrame=DocTargetFrame;
if(FirstLineFrame =="" || !parent.frames[FirstLineFrame])FirstLineFrame=SecLineFrame=DocTargetFr a
Leo
Profil
Myslite si, ze to nekdo bude cist? Co takhle vyextrahovat podstatu problemu? Leo
Toto téma je uzamčeno. Odpověď nelze zaslat.