java menu
Geplaatst: 09 okt 2003, 22:12
hallo ik heb een menu van het I-net geplukt en die wou ik graag in me overall_header hebben staan inplaats van het menu dat ik nu heb.
hierbij staat natuurlijk alleen maar een beschrijving hoe ik het in me html pagina plaats.
ik heb het op verschillende manieren geprobeerd om hem in me overall_header toe te voegen maar dit wil niet echt zou iemand me een beetje op weg kunnen helpen???
dit is de readme die er bij zit:
- SmartMenu v2.0 (last updated July 15th, 2002) cross-browser edition
- By Constantin Kuznetsov Jr.
- Various improvements by DynamicDrive.com
** New futures of SmartMenu v2.1**
Now menu works in NS6, Opera6+
Added window/frame trageting in v2.1
To install this script, do the following 3 steps:
1) Add the following code inside the <HEAD> section of your page:
<style>
all.clsMenuItemNS, .clsMenuItemIE{text-decoration: none; font: bold 12px Arial; color: white; cursor: hand; z-index:100}
#MainTable A:hover {color: yellow;}
</style>
<script language="JavaScript">
//Top Nav Bar I v2.1- By Constantin Kuznetsov Jr.
//Modified by Dynamic Drive for various improvements
//Visit http://www.dynamicdrive.com for this script
var keepstatic=1 //specify whether menu should stay static (works only in IE4+)
var menucolor="#000000" //specify menu color
var submenuwidth=150 //specify sub menus' width
</script>
2) Copy and paste the below code into your webpage, RIGHT AFTER the <body> tag (proceeding any other tags):
<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="menucontext.js"></script>
<script language="JavaScript">
showToolbar();
</script>
<script language="JavaScript">
function UpdateIt(){
if (ie&&keepstatic&&!opr6)
document.all["MainTable"].style.top = document.body.scrollTop;
setTimeout("UpdateIt()", 200);
}
UpdateIt();
</script>
3) Upload the files "menu.js" and "menucontext.js" into your webpage directory (along with the above webpage, of course), and you're done!
The contents of the menu is stored inside "menucontext.js" To edit them, simply open up "menucontext.js" using any text editor, and change the links/text to your own. Save the modified file, and reupload it.
hierbij staat natuurlijk alleen maar een beschrijving hoe ik het in me html pagina plaats.
ik heb het op verschillende manieren geprobeerd om hem in me overall_header toe te voegen maar dit wil niet echt zou iemand me een beetje op weg kunnen helpen???
dit is de readme die er bij zit:
- SmartMenu v2.0 (last updated July 15th, 2002) cross-browser edition
- By Constantin Kuznetsov Jr.
- Various improvements by DynamicDrive.com
** New futures of SmartMenu v2.1**
Now menu works in NS6, Opera6+
Added window/frame trageting in v2.1
To install this script, do the following 3 steps:
1) Add the following code inside the <HEAD> section of your page:
<style>
all.clsMenuItemNS, .clsMenuItemIE{text-decoration: none; font: bold 12px Arial; color: white; cursor: hand; z-index:100}
#MainTable A:hover {color: yellow;}
</style>
<script language="JavaScript">
//Top Nav Bar I v2.1- By Constantin Kuznetsov Jr.
//Modified by Dynamic Drive for various improvements
//Visit http://www.dynamicdrive.com for this script
var keepstatic=1 //specify whether menu should stay static (works only in IE4+)
var menucolor="#000000" //specify menu color
var submenuwidth=150 //specify sub menus' width
</script>
2) Copy and paste the below code into your webpage, RIGHT AFTER the <body> tag (proceeding any other tags):
<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="menucontext.js"></script>
<script language="JavaScript">
showToolbar();
</script>
<script language="JavaScript">
function UpdateIt(){
if (ie&&keepstatic&&!opr6)
document.all["MainTable"].style.top = document.body.scrollTop;
setTimeout("UpdateIt()", 200);
}
UpdateIt();
</script>
3) Upload the files "menu.js" and "menucontext.js" into your webpage directory (along with the above webpage, of course), and you're done!
The contents of the menu is stored inside "menucontext.js" To edit them, simply open up "menucontext.js" using any text editor, and change the links/text to your own. Save the modified file, and reupload it.