Показать сообщение отдельно
  #6 (permalink)  
Старый 26.05.2009, 09:46
mahno
 
Сообщений: n/a

с body не помогло(((
Это меню - два скрипта , 1-й подключается в <head> (думаю 1-я часть не причём) , а 2-й в теле, после <body>:

2-й:

//Variables to set
between=28 //The pixel between the menus and the submenus
mainheight=25 //The height of the mainmenus
subheight=22 //The height of the submenus
pxspeed=13 //The pixel speed of the animation
timspeed=15 //The timer speed of the animation
menuy=80 //The top placement of the menu.
menux=0 //The left placement of the menu
//Images - Play with these
level0_regular="level0_regular.gif"
level0_round="level0_round.gif"
level1_regular="level1_regular.gif"
level1_round="level1_round.gif"
level1_sub="level1_sub.gif"
level1_sub_round="level1_sub_round.gif"
level1_round2="level1_round2.gif"
level2_regular="level2_regular.gif"
level2_round="level2_round.gif"

//Leave this line
preLoadBackgrounds(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 
makeMenu('top','???????')
	makeMenu('sub','Newest news','/news/index.asp')
	makeMenu('sub','News archive','/news/archive.asp')

//Menu 1
makeMenu('top','Scripts')
	makeMenu('sub','New scripts','/script/search.asp?new=1')
	makeMenu('sub','All scripts','/script/index.asp')
	makeMenu('sub','Categories')
	  makeMenu('sub2','Menu scripts','/script/search.asp?category=menu')
	  makeMenu('sub2','Text scripts','/script/search.asp?category=text')
	  makeMenu('sub2','Animation scripts','/script/search.asp?category=animation')
	  makeMenu('sub2','Other scripts','/script/search.asp?category=other')        

//Menu 2    
makeMenu('top','Tutorials')
  makeMenu('sub','Tutorials','/tutorials/index.asp')
//Menu 3
makeMenu('top','Forums')
  makeMenu('sub','Cool sites','forums/forum.asp?FORUM_ID=1&CAT_ID=1&Forum_Title=Cool+sites')
  makeMenu('sub','CoolMenus','forums/forum.asp?FORUM_ID=2&CAT_ID=1&Forum_Title=CoolMenus')
  makeMenu('sub','Crossbrowser','forums/forum.asp?FORUM_ID=3&CAT_ID=1&Forum_Title=Crossbrowser+DHTML')
  makeMenu('sub','Scripts','forums/forum.asp?FORUM_ID=4&CAT_ID=1&Forum_Title=DHTML+Scripts')
  makeMenu('sub','dhtmlcentral.com','forums/forum.asp?FORUM_ID=5&CAT_ID=1&Forum_Title=dhtmlcentral%2Ecom')
  makeMenu('sub','General','forums/forum.asp?FORUM_ID=6&CAT_ID=1&Forum_Title=General+DHTML+issues')
  makeMenu('sub','Off-topic','forums/forum.asp?FORUM_ID=9&CAT_ID=1&Forum_Title=Off%2Dtopic')
  makeMenu('sub','Active topics','forums/active.asp')

//Menu 4  
makeMenu('top','CoolMenus')
  makeMenu('sub','Examples','coolmenus/examples/')
  makeMenu('sub','Download','coolmenus/download.asp')
  makeMenu('sub','Tutorial','coolmenus/tutorial.asp')
  makeMenu('sub','FAQ','faq/index.asp')

//Menu 5
makeMenu('top','Resources')
  makeMenu('sub','DHTML Links','resources/default.asp')
  
//Menu 6  
makeMenu('top','dhtmlcentral')
  makeMenu('sub','dhtmlcentral','dhtmlcentral/index.asp',"",1)

//Starting the menu
onLoad=SlideMenuInit;