Autor Zpráva
janka03
Profil
Mám vľavo na stránke trojúrovňové, samorozbaľovacie, vertikálne menu. V strednej časti stránky potom umiestnené video. Po rozbalení poslednej úrovne menu mi to menu zasahuje až do oblasti videa tak, že video prekrýva textovú časť menu. Dá sa to nejakým parametrom nastaviť ?

Menu je volané ako externý skript:
<script type='text/javascript' src='MENU/menu.js'></script>
a video
<embed width="227" height="202" src="VIDEO/aaa.mpg">

Možno v tom skripte pre menu by sa dal nastaviť nejaký parameter. Teraz ho mam takto:

var NoOffFirstLineMenus=8; // Number of first level items
var LowBgColor='0093c8'; // Background color when mouse is not over
var LowSubBgColor='0093c8'; // Background color when mouse is not over on subs
var HighBgColor='FBB776'; // Background color when mouse is over
var HighSubBgColor='FBB776'; // Background color when mouse is over on subs
var FontLowColor='FFFFFF'; // Font color when mouse is not over
var FontSubLowColor='FFFFFF'; // Font color subs when mouse is not over
var FontHighColor='000000'; // Font color when mouse is over
var FontSubHighColor='000000'; // Font color subs when mouse is over
var BorderColor='000000'; // Border color
var BorderSubColor='000000'; // Border color for subs
var BorderWidth=1; // Border width
var BorderBtwnElmnts=1; // Border between elements 1 or 0
var FontFamily="Verdana, Tahoma, Arial" // Font family menu items
var FontSize=8; // Font size menu items
var FontBold=0; // Bold menu items 1 or 0
var FontItalic=0; // Italic menu items 1 or 0
var MenuTextCentered='left'; // 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=292; // Menu offset x coordinate
var StartLeft=5; // Menu offset y coordinate
var VerCorrect=1; // Multiple frames y correction
var HorCorrect=1; // Multiple frames x correction
var LeftPaddng=14; // Left padding
var TopPaddng=2; // Top padding
var FirstLineHorizontal=0; // 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=1; // Keep selected path highligthed
var Arrws=['MENU/tri.gif',5,10,'MENU/tridown.gif',10,5,'MENU/trileft.gif', 5,10];

// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

atd.... Menu2_3=new Array("Mnu2_3","","",2,18,0);
Menu2_3_1=new Array("Menu2_3_1","","",4,18,180);
Menu2_3_1_1=new Array("Menu2_3_1_1","a.htm","",0,20,110);
Menu2_3_1_2=new Array("Menu2_3_1_2","b.htm","",0,20,80);
Menu2_3_1_3=new Array("Menu2_3_1_3","c.htm","",0,20,80);
Menu2_3_1_4=new Array("Menu2_3_1_4","d.htm","",0,20,80);
Menu2_3_2=new Array("Menu2_3_2","e.htm","",0,18,180);

Vďaka všetkým za radu !!

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm: