Lissa Explains it All:  Web Design Forums  

Go Back   Lissa Explains it All: Web Design Forums > LEIA Archives > Web Site Help > JavaScript/DHTML

Notices

 
 
Thread Tools Display Modes
  #1  
Old 06-09-2003, 10:41 PM
hunterjumper hunterjumper is offline
n00bzilla
 
Join Date: Feb 2003
Posts: 8
hunterjumper is an unknown quantity at this point
Script Difficulties

Okay, I am making a website, and I am trying to do a menu with submenus.... I have the following pasted in the web-editing box.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>

<title>Untitled</title>

</head>

<body>
<SCRIPT>/*
* DHTML Menu version 3.3.19
* written by Andy Woolley
* Copyright 2002 Andy Woolley. All Rights Reserved.
*
* Please feel free to use this code on your own website free of charge.
* You can also distribute and modify this source code as long as this
* Copyright notice remains intact and that you send me notice that you
* intend to use this code on your website.
*
* Limited support for this script is provided
* Commercial licence agreements are available on request for use & full support.
* You can send email to menu3@milonic.com

* Script featured on Dynamic Drive (http://www.dynamicdrive.com)
*/</SCRIPT>

<SCRIPT language=JavaScript src="menu_array.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>
<body bg="#000000">
</body>
</html>



And, for the "menu_array.js" the following is downloaded.


/*
DHTML Menu version 3.3.19
Written by Andy Woolley
Copyright 2002 (c) Milonic Solutions. All Rights Reserved.
Plase vist http://www.milonic.co.uk/menu or e-mail menu3@milonic.com
You may use this menu on your web site free of charge as long as you place prominent links to
http://www.milonic.co.uk/menu and
your inform us of your intentions with your URL AND ALL copyright notices remain in place in all files
including your home page
Comercial support contracts are available on request if you cannot comply with the above rules.
This script featured on Dynamic Drive (http://www.dynamicdrive.com)
*/

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than
one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function
addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script
language=javascript>";for(a=1;a<menus.length;a++){ mt+="
menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless
this file is part of a multi pack.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php
for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shad ow(color='#777777',
Direction=135, Strength=5)"
}
else
{
effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using
more than one filter
}


timegap=500 // The time delay for menus to remain visible
followspeed=5 // Follow Scrolling speed
followrate=40 // Follow Scrolling Rate
suboffset_top=10; // Sub menu offset Top position
suboffset_left=10; // Sub menu offset Left position

style1=[ // style1 is an array of properties. You can have as many
property arrays as you need. This means that menus can have their own style.
"navy", // Mouse Off Font Color
"ccccff", // Mouse Off Background Color
"cccc00", // Mouse On Font Color
"4b0082", // Mouse On Background Color
"000000", // Menu Border Color
12, // Font Size in pixels
"normal", // Font Style (italic or normal)
"bold", // Font Weight (bold or normal)
"Verdana, Tahoma, Arial", // Font Name
4, // Menu Item Padding
, // Sub Menu Image (Leave this blank if not needed)
, // 3D Border & Separator bar
"CCCC00", // 3D High Color
"CCCC00", // 3D Low Color
"CCCC00", // Current Page Item Font Color (leave this blank to disable)
"CCCC00", // Current Page Item Background Color (leave this blank
to disable)
, // Top Bar image (Leave this blank to disable)
"ffffff", // Menu Header Font Color (Leave blank if headers are not needed)
"000000", // Menu Header Background Color (Leave blank if headers are
not needed)
]



addmenu(menu=[ // This is the array that contains your menu properties and details
"mainmenu", // Menu Name - This is needed in order for the menu to be called
20, // Menu Top - The Top position of the menu in pixels
200, // Menu Left - The Left position of the menu in pixels
, // Menu Width - Menus width in pixels
1, // Menu Border Width
"center:top", // Screen Position - here you can use
"center;left;right;middle;top;bottom" or a combination of "center:middle"
style1, // Properties Array - this is set higher up, as above
1, // Always Visible - allows the menu item to be visible at all time
(1=on/0=off)
"center", // Alignment - sets the menu elements text alignment, values
valid here are: left, right or center
effect, // Filter - Text variable for setting transitional effects on menu activation
- see above for more info
, // Follow Scrolling - Tells the menu item to follow the user down
the screen (visible at all times) (1=on/0=off)
1, // Horizontal Menu - Tells the menu to become horizontal
instead of top to bottom style (1=on/0=off)
, // Keep Alive - Keeps the menu visible until the user moves over
another menu or clicks elsewhere on the page (1=on/0=off)
, // Position of TOP sub image left:center:right
, // Set the Overall Width of Horizontal Menu to 100% and height
to the specified amount (Leave blank to disable)
, // Right To Left - Used in Hebrew for example. (1=on/0=off)
, // Open the Menus OnClick - leave blank for OnMouseover
(1=on/0=off)
, // ID of the div you want to hide on MouseOver (useful for
hiding form elements)
, // Reserved for future use
, // Reserved for future use
, // Reserved for future use
,"Home","http://www.geocities.com/thoroughbredluv2000/index2.htm",,"Back to Backstretch",1 //
"Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"News&nbsp;sites&nbsp;&nbsp;","show-menu=news",,"",1
,"Webmaster&nbsp;&nbsp;","show-menu=webmaster",,"",1
,"Downloads&nbsp;&nbsp;","show-menu=downloads",,"",1
,"Search&nbsp;&nbsp;","show-menu=search",,"",1
,"Other&nbsp;&nbsp;","show-menu=other",,"",1
])

addmenu(menu=["Office",
,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Committee","http://www.geocities.com/thoroughbredluv2000/committee.html",,,0
,"Updates", "http://www.geocities.com/thoroughbredluv2000/updates.html",,,0
,"Rules", "http://www.geocities.com/thoroughbredluv2000/rules.html,,,0
,"Question & Answer","http://www.geocities.com/thoroughbredluv2000/questions.html",,,0
,"Join","http://"www.geocities.com/thoroughbredluv2000/join.html",,,0
,"Forum","http:// http://backstretch2003.proboards19.com/index.cgi",,,0
,"Links","http://www.geocities.com/thoroughbredluv2000/links.html",,,0
])



addmenu(menu=["Member Establishments",
,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
,"Businesses","http://www.geocities.com/thoroughbredluv2000/business.html",,,0
,"Associations","http://www.geocities.com/thoroughbredluv2000/asso.html",,,0
,"Registries","http://www.geocities.com/thoroughbredluv2000/registries.html",,,0
,"Racetracks","http://www.geocities.com/thoroughbredluv2000/tracks.html",,,0
,"Stables","http://www.geocities.com/thoroughbredluv2000/stables.html",,,0
])

addmenu(menu=["Races",,,120,1,,style1,0,"left",effect,0,,,,,,,,, ,,
,"Upcoming Races","http://www.geocities.com/thoroughbredluv2000/races.html",,,1
,"Results","http://www.geocities.com/thoroughbredluv2000/results.html",,,1
])

addmenu(menu=["Famed",
,,140,1,"",style1,,"",effect,,,,,,,,,,,,
,"Triple Crown Winners","http://www.geocities.com/thoroughbredluv2000/crown.html",,,0
,"Breeeders Cup
Winners","http://www.geocities.com/thoroughbredluv2000/breederscup.html",,,0
,"Track Records","http://www.geocities.com/thoroughbredluv2000/records.html",,,0
,"Stallion List","http://www.geocities.com/thoroughbredluv2000/stallions.html",,,0
,"Top Winners","http://www.geocities.com/thoroughbredluv2000/winners.html",,,0
])



Can anyone tell me why my webpage is coming up blank?? (Also, JavaScript does work on my browser))

http://www.geocities.com/thoroughbredluv2000/index2.htm


Thanks,
Katie
Sponsored Links
  #2  
Old 06-09-2003, 11:07 PM
sebluver's Avatar
sebluver sebluver is offline
one cool daddy-o
 
Join Date: Mar 2003
Location: denial.
Posts: 2,627
sebluver will become famous soon enoughsebluver will become famous soon enough
Erm...just one thing. Geocities may be an okay-ish free web host, but they aren't that technological. If you put too much text on a page, the said page often freaks out, and won't show the data.

That's just what happened to me when I tried to put my blog archive on there...blank, just like your page. =P
__________________
I am pretty sure that it is not legal to do that, whether or not you are McGyver.
  #3  
Old 06-10-2003, 03:34 AM
hunterjumper hunterjumper is offline
n00bzilla
 
Join Date: Feb 2003
Posts: 8
hunterjumper is an unknown quantity at this point
-grimace-

-growls- nope, i tried it on brinkster too, so something is wrong with it.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:27 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.