Få script til at virke
hejhvordan får jeg nedenstående script til at virke?
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Ny side 1</title>
</head>
<style>
_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_followSpeed=5 // Follow scrolling speed
_followRate=50 // Follow scrolling Rate
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
_scrollAmount=3 // Only needed for Netscape 4.x
_scrollDelay=20 // Only needed for Netcsape 4.x
with(menuStyle=new mm_style()){
onbgcolor="#4F8EB6";
oncolor="#ffffff";
offbgcolor="#DCE9F0";
offcolor="#515151";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="menuimagesarrow.gif";
subimagepadding="2";
overfilter="Fade(duration0.2)";
outfilter="randomdissolve(duration0.3)";alpha(opacity:90); shadow(color:#777777, Direction135, Strength5)
}
</style>
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>
<body>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=220;
left=180;
alwaysvisible=1;
overflow="scroll";
aI("text=Home;url=http://www.milonic.co.uk/;status=Back To Home Page;");
aI("text=Menu Samples;showmenu=Samples;");
aI("text=Milonic;showmenu=Milonic;");
aI("text=Partners;showmenu=Partners;");
aI("text=Links;showmenu=Links;");
aI("text=My Milonic;showmenu=My Milonic;");
}
with(milonic=new menuname("Samples")){
style=menuStyle;
overflow="scroll";
aI("text=Horizontal Navigation Bar;url=menusample.php?sampleid=1;");
aI("text=Vertical Navigation Bar;url=menusample.php?sampleid=2;");
aI("text=All Horizontal Menus;url=menusample.php?sampleid=25;");
aI("text=Using \"popup\" based on HTML Objects with fixed Position;url=menusample.php?sampleid=3;");
aI("text=Using 'popup()' Bound to Images;url=menusample.php?sampleid=24;");
aI("text=Image Map Sample;url=menusample.php?sampleid=4;");
aI("text=Multiple Styles;url=menusample.php?sampleid=5;");
aI("text=Multiple Properties;url=menusample.php?sampleid=6;");
aI("text=Multiple Colors;url=menusample.php?sampleid=7;");
aI("text=Menu Items as Headers;url=menusample.php?sampleid=8;");
aI("text=Relative Positioning (Table Bound);url=menusample.php?sampleid=9;");
aI("text=100% Width Span Menu;url=menusample.php?sampleid=26;");
aI("text=Follow Scrolling;url=menusample.php?sampleid=10;");
aI("text=Positioning with 'screenposition' & 'offsets';url=menusample.php?sampleid=23;");
aI("text=Opening Windows & Frames;url=menusample.php?sampleid=11;");
aI("text=XP Style;url=menusample.php?sampleid=12;");
aI("text=Windows 98 Style;url=menusample.php?sampleid=13;");
aI("text=Activating MouseOver & MouseOut Functions;url=menusample.php?sampleid=15;");
aI("text=Static Images Sample;url=menusample.php?sampleid=16;");
aI("text=RollOver Images;url=menusample.php?sampleid=17;");
aI("text=All Images;url=menusample.php?sampleid=18;");
aI("text=Images as Menu Backgrounds;url=menusample.php?sampleid=19;");
aI("text=Background Menu Item Images;url=menusample.php?sampleid=20;");
}
with(milonic=new menuname("Milonic")){
style=menuStyle;
aI("text=Product Purchasing Page;url=http://www.milonic.co.uk/cbuy.php;");
aI("text=Contact Us;url=http://www.milonic.co.uk/contactus.php;");
aI("text=Newsletter Subscription;url=http://www.milonic.co.uk/newsletter.php;");
aI("text=FAQ;url=http://www.milonic.co.uk/menufaq.php;");
aI("text=Discussion Forum;url=http://www.milonic.co.uk/forum/;");
aI("text=Software License Agreement;url=http://www.milonic.co.uk/license.php;");
aI("text=Privacy Policy;url=http://www.milonic.co.uk/privacy.php;");
}
with(milonic=new menuname("Partners")){
style=menuStyle;
aI("text=(aq) Web Hosting;url=http://www.a-q.co.uk/;status=(aq) Web Server Hosting & Services;");
aI("text=SMS 2 Email;url=http://www.sms2email.com/;");
aI("text=WebSmith;url=websmith;");
}
with(milonic=new menuname("Links")){
style=menuStyle;
aI("text=Apache Web Server;url=http://www.apache.org/;status=Apache Web Server, the basis of Milonic's Web Site;");
aI("text=MySQL Database Server;url=http://ww.mysql.com/;status=MySQL, Milonic's Prefered Choice of Database Server;");
aI("text=PHP - Development;url=http://www.php.net/;status=PHP - Web Server Scripting as used by Milonic;");
aI("text=phpBB Web Forum System;url=http://www.phpbb.net/;status=PHP Based Web Forum, Milonic's Recommended Forum Software;");
aI("text=Anti Spam Tools;showmenu=Anti Spam;status=Anti Spam Solutions, as used by Milonic;");
}
with(milonic=new menuname("Anti Spam")){
style=menuStyle;
aI("text=Spam Cop;url=http://www.spamcop.net/;");
aI("text=Mime Defang;url=http://www.mimedefang.org/;");
aI("text=Spam Assassin;url=http://www.spamassassin.org/;");
}
with(milonic=new menuname("My Milonic")){
style=menuStyle;
aI("text=Login;url=http://www.milonic.co.uk/login.php;");
aI("text=Licenses;url=http://www.milonic.co.uk/mylicenses.php;");
aI("text=Invoices;url=http:/www.milonic.com/myinvoices.php;");
aI("text=Make Support Request;url=http://www.milonic.co.uk/reqsupport.php;");
aI("text=View Support Requests;url=http://www.milonic.co.uk/mysupport.php;");
aI("text=Your Details;url=http://www.milonic.co.uk/mydetails.php;");
}
drawMenus();
</body>
</html>
mvh
Fejehund