Menu not showing

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Hendrik
Beginner
Beginner
Posts: 7
Joined: Thu Aug 28, 2003 1:29 pm

Menu not showing

Post by Hendrik »

From version 5.32 my menu is not showing at all, I went thru all my code, but can not find the problem,

Can someone please help

index.html file the script look like this

Code: Select all

<SCRIPT language=JavaScript src="java/milonic_src.js" type=text/javascript></SCRIPT>	
<script	language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=java/mmenuns4.js><\/scr"+"ipt>");		
  else _d.write("<scr"+"ipt language=JavaScript src=java/mmenudom.js><\/scr"+"ipt>"); 
</script>
<SCRIPT language=JavaScript src="java/menu_data.js" type=text/javascript></SCRIPT>

in file menu_date.js the code look like this

Code: Select all

_menuCloseDelay=500;		// The time delay for menus to remain visible on mouse out
_menuOpenDelay=150;			// The time delay before menus open on mouse over
_scrollAmount=3;			// Only needed for Netscape 4.x
_scrollDelay=20;			// Only needed for Netcsape 4.x
_followSpeed=5;				// Follow scrolling speed
_followRate=40;				// Follow scrolling Rate
_subOffsetTop=10;			// Sub menu top offset
_subOffsetLeft=10;			// Sub menu left offset

//////////////////
//	            //
// MENU COLOURS //
//		 	    //
//////////////////


with(style1=new mm_style()){
screenposition="center";
offcolor="navy";						// TEXT COLOR OFF
oncolor="#ffebdc";						// TEXT COLOR ON
offbgcolor="#ccccff";					// BAR COLOR OFF
onbgcolor="#4b0082";					// BAR COLOR ON
bordercolor="#000000";					// BAR BORDER COLOUR
borderstyle="solid";					// (solid)
borderwidth=1;							// THE WIDTH OF THE BORDER
fontsize="75%";							// FONT SIZE was 75%
fontstyle="normal";						// FONT STYLE (normal / oblique / italic)
fontweight="bold";						// FONT TYPE (normal / bold / 100-900)
fontfamily="Verdana, Arial";			// FONT
padding=4;								// BAR GAP (4)
subimage="./images/arrowdn.gif";
high3dcolor="#66ffff";					// Not sure if this will be included in final release
low3dcolor="#000099";					// Not sure if this will be included in final release
pagecolor="Purple";						// HOME BUTTON TEXT 	  (Purple)
pagebgcolor="pink";						// HOME BUTTON BACKGROUND (pink)
headercolor="#ffffff";
headerbgcolor="#000099";
separatorcolor="navy";					// BAR SEPERATORS COLOUR
separatorsize =1;						// BAR SEPERATOR THICKNESS

////////////////////////
//				     //
//  EFFECTS FILTERS  //
//				     //
///////////////////////

shadefilter="Alpha(style=0,opacity=92);Shadow(color='#666666', Direction=135, Strength=4)";   // Transparent shaded menus
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
fizzfilter = "randomdissolve(duration=0.2);Shadow(color='#777777', Direction=135, Strength=4)"; // Fizzle in & out menus
fadefilter = "Fade(duration=0.1);Alpha(style=0,opacity=98);Shadow(color='#777777', Direction=135, Strength=5)"
andyfilter = "Pixelate(sqaures=30, duration=0.3)";
radialfilter = "RadialWipe(wipeStyle='radial',duration=0.5);Shadow(color='#777777',Direction=135,Strength=5)";
pixeloutfilter= "Pixelate(sqaures=30, duration=0.6)";
}


/////////////////////////////////////////
//		 							  //
//  MAIN MENU POSITION AND STYLE 	 //  
//									//
/////////////////////////////////////


with(milonic=new menuname("mainmenu")){
top=5;
screenposition="center";
style=style1;
alwaysvisible=1;
alignment="center";
followscroll=1;
orientation="horizontal";
myfilter = "Alpha(style=0,opacity=100);Shadow(color='#666666', Direction=135, Strength=2)";

///////////////////////
//	       	        //
//  MAIN MENU TEXT  //
//	       	       //
////////////////////


aI("text=Home;url=index.html;;status=Back to the home page;separatorsize=1")
aI("text=Main&nbsp;Menu&nbsp;&nbsp;;showmenu=main;;separatorsize=1")
aI("text=News&nbsp;&nbsp;;showmenu=news;;separatorsize=1")
aI("text=Emulators&nbsp;&nbsp;;showmenu=emulators;;separatorsize=1")
aI("text=Retro&nbsp;Games&nbsp;&nbsp;;showmenu=retro;;separatorsize=1")
aI("text=Search&nbsp;&nbsp;;showmenu=search;;separatorsize=1")
aI("text=Just&nbsp;do&nbsp;it&nbsp;&nbsp;;showmenu=just;;separatorsize=1")
aI("text=Games&nbsp;&nbsp;;showmenu=games;;separatorsize=1")
aI("text=Fun&nbsp;&nbsp;;showmenu=fun;;separatorsize=1")
aI("text=Just&nbsp;for&nbsp;me&nbsp;&nbsp;;showmenu=justme;;separatorsize=1")
aI("text=Inspirational&nbsp;&nbsp;;showmenu=inspirational;;separatorsize=1")
}

with(milonic=new menuname("main")){
itemwidth=120;
style=style1;
alignment="left";
aI("text=Make Money;url=money.html;")
aI("text=Personal;url=personal.html;")
aI("text=Religion;url=religion.html;")
aI("text=Links;url=links.html;")
aI("text=Menu Authors Site;url=http://www.milonic.co.uk/menu;")
aI("text=Currency Converter;url=http://www.oanda.com/convert/classic?user=hendrikbez&lang=en;")
}

with(milonic=new menuname("news")){
itemwidth=155;
style=style1;
alignment="left";
aI("text=What is new on this site;url=news.html;")
}

with(milonic=new menuname("emulators")){
itemwidth=100;
style=style1;
alignment="left";
aI("text=Zx Spectrum;url=zx.html;;separatorsize=1")
aI("text=Genessis;url=gen.html;;separatorsize=1")
aI("text=Snes;url=snes.html;;separatorsize=1")
}

with(milonic=new menuname("retro")){
itemwidth=120;
style=style1;
alignment="left";
aI("text=Head over heels 2;url=hoh2.html;;separatorsize=1")
}

with(milonic=new menuname("search")){
itemwidth=100;
style=style1;
aI("text=Google;url=http://www.google.com;;separatorsize=1")
aI("text=Yahoo;url=http://www.yahoo.com;;separatorsize=1")
aI("text=Altavista;url=http://altavista.com;;separatorsize=1")
aI("text=Excite;url=http://www.excite.com;;separatorsize=1")
aI("text=Look Smart;url=http://www.looksmart.com;;separatorsize=1")
aI("text=Lycos;url=http://www.lycos.com;;separatorsize=1")
aI("text=Ask Jeeves;url=http://www.askjeeves.com;;separatorsize=1")
aI("text=Kartoo;url=http://www.kartoo.com;;separatorsize=1")
aI("text=Aardvark;url=http://www.aardvark.co.za;;separatorsize=1")
aI("text=Ananzi;url=http://www.ananzi.co.za;;separatorsize=1")
aI("text=Open Find;url=http://www.openfind.com/;;separatorsize=1")
}

with(milonic=new menuname("just")){
itemwidth=200;
style=style1;
aI("text=Add your own Link;url=http://pub38.bravenet.com/freelink/show.php?usernum=3238345123&cpv=1;;status=Add link;separatorsize=1")
aI("text=Join my Webring;url=http://pub38.bravenet.com/sitering/nav.php?usernum=3238345123&action=join&siteid=35399;;status=Webring;separatorsize=1")
aI("text=Sine my GuestMap;url=http://pub38.bravenet.com/guestmap/show.php?usernum=3238345123&lightmap=0&icons=0&&entrylist=0&zoom=0&welcome=1;;status=Guestmap;separatorsize=1")
aI("text=Sine my Guestbook;url=http://pub38.bravenet.com/guestbook/show.asp?usernum=3238345123&cpv=1;;status=Guestbook;separatorsize=1")
aI("text=Free Classifieds;url=http://pub38.bravenet.com/classified/show.php?usernum=3238345123&cpv=2;;status=Classifieds;separatorsize=1")
aI("text=Advertise on this site;url=ad.html;;status=Ads;separatorsize=1")
aI("text=Give your opinion about this site;url=Formi.html;;status=Form;separatorsize=1")
aI("text=Awards Received;url=awards.html;;status=Form;separatorsize=1")
}

with(milonic=new menuname("games")){
itemwidth=160;
style=style1;
aI("text=Games Online;showmenu=gamesonline;;separatorsize=1")
aI("text=Scratch and win Games;showmenu=scratch;;separatorsize=1")
aI("text=Kewl Box Online Games;showmenu=kewlbox;;separatorsize=1")
}

with(milonic=new menuname("gamesonline")){
itemwidth=110;
style=style1;
aI("text=Battleships;url=./games/battleships.html;;separatorsize=1")
aI("text=Card Game;url=./games/card-game.html;;separatorsize=1")
aI("text=Tic Tac Toe;url=./games/tictactoe.html;;separatorsize=1")
aI("text=Towers of Hanoi;url=./games/hanoi.html;;separatorsize=1")
aI("text=3D Maze;url=maze.html;;separatorsize=1")
aI("text=Draughts;url=./games/draughts/draughts.html;;separatorsize=1")
aI("text=Iceblox;url=./games/Iceblox/iceblox.html;;separatorsize=1")
}

with(milonic=new menuname("scratch")){
itemwidth=110;
style=style1;
aI("text=Scratch and win;url=scratch.html;;separatorsize=1")
}

with(milonic=new menuname("kewlbox")){
itemwidth=210;
style=style1;
aI("text=Braving the Elements;url=Game1.html;;separatorsize=1")
aI("text=Burning Rubber;url=Game2.html;;separatorsize=1")
aI("text=Chef Toss;url=Game3.html;;separatorsize=1")
aI("text=Cookie Crumbler;url=Game4.html;;separatorsize=1")
aI("text=Dallas Burn Swappers Game;url=Game5.html;;separatorsize=1")
aI("text=Frendz;url=Game6.html;;separatorsize=1")
aI("text=Furious George in the Missing Link;url=Game7.html;;separatorsize=1")
aI("text=Holiday Endurance;url=Game8.html;;separatorsize=1")
aI("text=Santa Balls I;url=Game9.html;;separatorsize=1")
aI("text=Santa Balls II;url=Game10.html;;separatorsize=1")
aI("text=Sketchy;url=Game1.html1;;separatorsize=1")
aI("text=Star Wars Swappers;url=Game12.html;;separatorsize=1")
aI("text=Trouble Bubbles;url=Game13.html;;separatorsize=1")
aI("text=TV Nuts;url=Game14.html;;separatorsize=1")
aI("text=Viva Los Straitjackets;url=Game15.html;;separatorsize=1")
}

with(milonic=new menuname("fun")){
itemwidth=125;
style=style1;
aI("text=Are you clever;url=clever.html;;status=Are You Clever;separatorsize=1")
aI("text=Elite Symbols;url=elite.html;;status=Elite Symbols;separatorsize=1")
aI("text=Blokkies Raaisels;url=blok.html;;status=Blokkies Raaisel;separatorsize=1")
}

with(milonic=new menuname("justme")){
itemwidth=170;
style=style1;
aI("text=Password Protected Page;url=http://members.hostedscripts.com/password.cgi?user=hendrikbez;;status=www.hostedscripts.com;separatorsize=1")
}

with(milonic=new menuname("inspirational")){
itemwidth=240;
style=style1;
aI("text=Religion;url=religion.html;;separatorsize=1")
aI("text=Do you care;url=wwjd.html;;separatorsize=1")
aI("text=Gabriel'spromise;url=gabe.html;;separatorsize=1")
aI("text=Could this be you;url=save.html;;separatorsize=1")
aI("text=Things Aren't Always What They Seem;url=things.html;;separatorsize=1")
aI("text=What do you see?;url=javascript:popIt();;separatorsize=1")
aI("text=God's letter to a woman;url=letter.html;;separatorsize=1")
aI("text=The Room;url=room.html;;separatorsize=1")
}

drawMenus();
Thanks
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

You have a few problems that need cleaning up first.

Code: Select all

subimage="./images/arrowdn.gif";
no dot before the slash.

Code: Select all

myfilter = "Alpha(style=0,opacity=100);Shadow(color='#666666', Direction=135, Strength=2)"; 
I don't think myfilter belongs in menu style, I've only seen it in global style.

Code: Select all

aI("text=Braving the Elements;url=Game1.html;;separatorsize=1")
Many of these with double semicolons, it should look like this:

Code: Select all

aI("text=Braving the Elements;url=Game1.html;separatorsize=1")
one semicolon between each, there is no need to place separatorsize in each item, they can go in global styles.

You can create a new global style just give it a new name and call it in the menu style=

Also you have a lot of ///// etc although they might work okay in modern browsers they might cause problems in older browsers, and they also leave room for error.

I prefer to keep it as clean as possible.

maz
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

What version of the menu are you using, and did you convert this file from a version 3 file? I put your data into a file and loaded it on a page and it works fine on my desktop. Have you checked your paths to make srue they are correct and have you uploaded the files to the place from which you call them on the page?

There are some minor things to fix, but they shouldn't prevent the menu from showing. In the menu_data.js file you need to correct the following [I'm not sure I got everything]

1. in your aI strings, as an example this string has an extra semi colon, and is missing two semi-colons.

Code: Select all

aI("text=Are you clever;url=clever.html;;status=Are You Clever;separatorsize=1") 
It should be

Code: Select all

aI("text=Are you clever;url=clever.html;status=Are You Clever;separatorsize=1;") ;
Note I removed the extra ; after html and added two, one after =1 and one after the ending ) That error occurs in most of your aI strings

2. I do not know what this is?

Code: Select all

shadefilter="Alpha(style=0,opacity=92);Shadow(color='#666666', Direction=135, Strength=4)";   // Transparent shaded menus 
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)"; 
outfilter="randomdissolve(duration=0.3)"; 
fizzfilter = "randomdissolve(duration=0.2);Shadow(color='#777777', Direction=135, Strength=4)"; // Fizzle in & out menus 
fadefilter = "Fade(duration=0.1);Alpha(style=0,opacity=98);Shadow(color='#777777', Direction=135, Strength=5)" 
andyfilter = "Pixelate(sqaures=30, duration=0.3)"; 
radialfilter = "RadialWipe(wipeStyle='radial',duration=0.5);Shadow(color='#777777',Direction=135,Strength=5)"; 
pixeloutfilter= "Pixelate(sqaures=30, duration=0.6)"; 
Do you have some kind of javascript code, some function that reads all that and chooses something? The part that goes with the menu is
overfilter and outfilter. The things like Pixelate, RadialWipe, randomdissolve are all Internet Explorer transitions and they get applied in the overfilter and outfilter sections

3. I noticed you have this code in the mainmenu

Code: Select all

myfilter = "Alpha(style=0,opacity=100);Shadow(color='#666666', Direction=135, Strength=2)"; 
again, the function in the menu is overfilter. I don't think it recognizes anything called myfilter=

Ruth
Hendrik
Beginner
Beginner
Posts: 7
Joined: Thu Aug 28, 2003 1:29 pm

Post by Hendrik »

Thanks for the help, I have changed it to look like this, but it still does not show my menu on my website or my pc.

Using the new version




_menuCloseDelay=500; // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150; // The time delay before menus open on mouse over
_scrollAmount=3; // Only needed for Netscape 4.x
_scrollDelay=20; // Only needed for Netcsape 4.x
_followSpeed=5; // Follow scrolling speed
_followRate=40; // Follow scrolling Rate
_subOffsetTop=10; // Sub menu top offset
_subOffsetLeft=10; // Sub menu left offset



with(style1=new mm_style()){
screenposition="center";
offcolor="navy"; // TEXT COLOR OFF
oncolor="#ffebdc"; // TEXT COLOR ON
offbgcolor="#ccccff"; // BAR COLOR OFF
onbgcolor="#4b0082"; // BAR COLOR ON
bordercolor="#000000"; // BAR BORDER COLOUR
borderstyle="solid"; // (solid)
borderwidth=1; // THE WIDTH OF THE BORDER
fontsize="75%"; // FONT SIZE was 75%
fontstyle="normal"; // FONT STYLE (normal / oblique / italic)
fontweight="bold"; // FONT TYPE (normal / bold / 100-900)
fontfamily="Verdana, Arial"; // FONT
padding=4; // BAR GAP (4)
subimage="./images/arrowdn.gif";
high3dcolor="#66ffff"; // Not sure if this will be included in final release
low3dcolor="#000099"; // Not sure if this will be included in final release
pagecolor="Purple"; // HOME BUTTON TEXT (Purple)
pagebgcolor="pink"; // HOME BUTTON BACKGROUND (pink)
headercolor="#ffffff";
headerbgcolor="#000099";
separatorcolor="navy"; // BAR SEPERATORS COLOUR
separatorsize =1; // BAR SEPERATOR THICKNESS
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}


with(milonic=new menuname("mainmenu")){
top=5;
screenposition="center";
style=style1;
alwaysvisible=1;
alignment="center";
followscroll=1;
orientation="horizontal";
aI("text=Home;url=index.html;status=Back to the home page;separatorsize=1;");
aI("text=Main&nbsp;Menu&nbsp;&nbsp;showmenu=main;separatorsize=1;");
aI("text=News&nbsp;&nbsp;showmenu=news;separatorsize=1;");
aI("text=Emulators&nbsp;&nbsp;showmenu=emulators;separatorsize=1;");
aI("text=Retro&nbsp;Games&nbsp;&nbsp;showmenu=retro;separatorsize=1;");
aI("text=Search&nbsp;&nbsp;showmenu=search;separatorsize=1;");
aI("text=Just&nbsp;do&nbsp;it&nbsp;&nbsp;showmenu=just;separatorsize=1;");
aI("text=Games&nbsp;&nbsp;showmenu=games;separatorsize=1;");
aI("text=Fun&nbsp;&nbsp;showmenu=fun;separatorsize=1;");
aI("text=Just&nbsp;for&nbsp;me&nbsp;&nbsp;showmenu=justme;separatorsize=1;");
aI("text=Inspirational&nbsp;&nbsp;showmenu=inspirational;separatorsize=1;");
}

with(milonic=new menuname("main")){
itemwidth=120;
style=style1;
alignment="left";
aI("text=Make Money;url=money.html;");
aI("text=Personal;url=personal.html;");
aI("text=Religion;url=religion.html;");
aI("text=Links;url=links.html;");
aI("text=Menu Authors Site;url=http://www.milonic.co.uk/menu;");
aI("text=Currency Converter;url=http://www.oanda.com/convert/classic?us ... ez&lang=en;");
}

with(milonic=new menuname("news")){
itemwidth=155;
style=style1;
alignment="left";
aI("text=What is new on this site;url=news.html;");
}

with(milonic=new menuname("emulators")){
itemwidth=100;
style=style1;
alignment="left";
aI("text=Zx Spectrum;url=zx.html;separatorsize=1;");
aI("text=Genessis;url=gen.html;separatorsize=1;");
aI("text=Snes;url=snes.html;separatorsize=1;");
}

with(milonic=new menuname("retro")){
itemwidth=120;
style=style1;
alignment="left";
aI("text=Head over heels 2;url=hoh2.html;separatorsize=1;");
}

with(milonic=new menuname("search")){
itemwidth=100;
style=style1;
aI("text=Google;url=http://www.google.com;separatorsize=1;");
aI("text=Yahoo;url=http://www.yahoo.com;separatorsize=1;");
aI("text=Altavista;url=http://altavista.com;separatorsize=1;");
aI("text=Excite;url=http://www.excite.com;separatorsize=1;");
aI("text=Look Smart;url=http://www.looksmart.com;separatorsize=1;");
aI("text=Lycos;url=http://www.lycos.com;separatorsize=1;");
aI("text=Ask Jeeves;url=http://www.askjeeves.com;separatorsize=1;");
aI("text=Kartoo;url=http://www.kartoo.com;separatorsize=1;");
aI("text=Aardvark;url=http://www.aardvark.co.za;separatorsize=1;");
aI("text=Ananzi;url=http://www.ananzi.co.za;separatorsize=1;");
aI("text=Open Find;url=http://www.openfind.com/;separatorsize=1;");
}

with(milonic=new menuname("just")){
itemwidth=200;
style=style1;
aI("text=Add your own Link;url=http://pub38.bravenet.com/freelink/show ... status=Add link;separatorsize=1;");
aI("text=Join my Webring;url=http://pub38.bravenet.com/sitering/nav. ... atorsize=1;");
aI("text=Sine my GuestMap;url=http://pub38.bravenet.com/guestmap/show ... atorsize=1;");
aI("text=Sine my Guestbook;url=http://pub38.bravenet.com/guestbook/sho ... atorsize=1;");
aI("text=Free Classifieds;url=http://pub38.bravenet.com/classified/sh ... atorsize=1;");
aI("text=Advertise on this site;url=ad.html;status=Ads;separatorsize=1");
aI("text=Give your opinion about this site;url=Formi.html;status=Form;separatorsize=1");
aI("text=Awards Received;url=awards.html;status=Form;separatorsize=1;");
}

with(milonic=new menuname("games")){
itemwidth=160;
style=style1;
aI("text=Games Online;showmenu=gamesonline;separatorsize=1;");
aI("text=Scratch and win Games;showmenu=scratch;separatorsize=1;");
aI("text=Kewl Box Online Games;showmenu=kewlbox;separatorsize=1;");
}

with(milonic=new menuname("gamesonline")){
itemwidth=110;
style=style1;
aI("text=Battleships;url=./games/battleships.html;separatorsize=1;");
aI("text=Card Game;url=./games/card-game.html;separatorsize=1;");
aI("text=Tic Tac Toe;url=./games/tictactoe.html;separatorsize=1;");
aI("text=Towers of Hanoi;url=./games/hanoi.html;separatorsize=1;");
aI("text=3D Maze;url=maze.html;separatorsize=1;");
aI("text=Draughts;url=./games/draughts/draughts.html;separatorsize=1;");
aI("text=Iceblox;url=./games/Iceblox/iceblox.html;separatorsize=1;");
}

with(milonic=new menuname("scratch")){
itemwidth=110;
style=style1;
aI("text=Scratch and win;url=scratch.html;separatorsize=1;");
}

with(milonic=new menuname("kewlbox")){
itemwidth=210;
style=style1;
aI("text=Braving the Elements;url=Game1.html;separatorsize=1;");
aI("text=Burning Rubber;url=Game2.html;separatorsize=1;");
aI("text=Chef Toss;url=Game3.html;separatorsize=1;");
aI("text=Cookie Crumbler;url=Game4.html;separatorsize=1;");
aI("text=Dallas Burn Swappers Game;url=Game5.html;separatorsize=1;");
aI("text=Frendz;url=Game6.html;separatorsize=1;");
aI("text=Furious George in the Missing Link;url=Game7.html;separatorsize=1;");
aI("text=Holiday Endurance;url=Game8.html;separatorsize=1;");
aI("text=Santa Balls I;url=Game9.html;separatorsize=1;");
aI("text=Santa Balls II;url=Game10.html;separatorsize=1;");
aI("text=Sketchy;url=Game1.html1;separatorsize=1;");
aI("text=Star Wars Swappers;url=Game12.html;separatorsize=1;");
aI("text=Trouble Bubbles;url=Game13.html;separatorsize=1;");
aI("text=TV Nuts;url=Game14.html;separatorsize=1;");
aI("text=Viva Los Straitjackets;url=Game15.html;separatorsize=1;");
}

with(milonic=new menuname("fun")){
itemwidth=125;
style=style1;
aI("text=Are you clever;url=clever.html;status=Are You Clever;separatorsize=1;");
aI("text=Elite Symbols;url=elite.html;status=Elite Symbols;separatorsize=1;");
aI("text=Blokkies Raaisels;url=blok.html;status=Blokkies Raaisel;separatorsize=1;");
}

with(milonic=new menuname("justme")){
itemwidth=170;
style=style1;
aI("text=Password Protected Page;url=http://members.hostedscripts.com/passwo ... atorsize=1;");
}

with(milonic=new menuname("inspirational")){
itemwidth=240;
style=style1;
aI("text=Religion;url=religion.html;separatorsize=1;");
aI("text=Do you care;url=wwjd.html;separatorsize=1;");
aI("text=Gabriel'spromise;url=gabe.html;separatorsize=1;");
aI("text=Could this be you;url=save.html;separatorsize=1;");
aI("text=Things Aren't Always What They Seem;url=things.html;separatorsize=1;");
aI("text=What do you see?;url=javascript:popIt();separatorsize=1;");
aI("text=God's letter to a woman;url=letter.html;separatorsize=1;");
aI("text=The Room;url=room.html;separatorsize=1;");
}

drawMenus();
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Another couple of things.

make all your paths with only slashes like this:

Code: Select all

/images/arrowdn.gif
you still have a dot in here:

Code: Select all

subimage="./images/arrowdn.gif";

Code: Select all

& is code for & so to end it there you need an end ; semicolon &;showmenu=
You have separator size in global menu, so you don't need them on all those items too. If there are only a few where you don't need it, I think you could use separatorsize=0; in a menu item.

I don't see a url to check the links. Try the slash infront of java.

Code: Select all

<SCRIPT language=JavaScript src="/java/menu_data.js" type=text/javascript></SCRIPT>
Getting closer.

maz
Hendrik
Beginner
Beginner
Posts: 7
Joined: Thu Aug 28, 2003 1:29 pm

Post by Hendrik »

The . must be there, if I take it out, the image is not showing.
subimage="./images/arrowdn.gif";

Even with the / in front of java/menu_data.js it is still not showing

http://myweb.absamail.co.za/hendrikbez/index.html
_
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I just went to your link and the menu appears on the page, and on every page I clicked on the menu, main, news, links etc. The menu_data.js file must be getting downloaded in order for the menu to display. Are you still not seeing the menu?

Ruth
Hendrik
Beginner
Beginner
Posts: 7
Joined: Thu Aug 28, 2003 1:29 pm

Post by Hendrik »

Thanks for looking at the website, then it must be some setting on my PC that don't show the menu.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

What OS and browser are you using? Do you see the menu on Milonic Home page?

Ruth
Hendrik
Beginner
Beginner
Posts: 7
Joined: Thu Aug 28, 2003 1:29 pm

Post by Hendrik »

My Os is windows XP sp1 browser IE6.

Ruth I can see the menu on Milonic Home page.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

If you see that, then there's not a problem as far as OS or browser. I don't think it matters that Milonic is php, but in case try this link. It is html, and I think that would be the same as yours. Turn your speaker volumn down, I haven't gotten the new no auto sound pages up yet. If you see my menu, then I don't know what the problem can be, unless it has something to do with cache and you having an old page cached?

Ruth
Post Reply