Top Bar Image wont show when changed to vertical

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
GVCC
Beginner
Beginner
Posts: 4
Joined: Wed Jun 18, 2003 7:14 am

Top Bar Image wont show when changed to vertical

Post by GVCC »

Hi,

I have the menu working great horizontally, but when I change it to vertical, the top bar image wont show, where it does show when horizontal.

Copy of code:

Code: Select all

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect = "wheel(spokes=2, duration=0.5);Alpha(style=0,opacity=70);Shadow(color='#777777', 
Direction=135, Strength=5)"
}


timegap=100				
followspeed=5			
followrate=40			
suboffset_top=10;		 
suboffset_left=-2;		
style1=[			
"ffffff",			// Mouse Off Font Color
"004578",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"08558c",			// Mouse On Background Color
"ffffff",			// Menu Border Color 
12,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"Tahoma,Helvetica",	                // Font Name
3,			// Menu Item Padding
,			// Sub Menu Image
,			// 3D Border & Separator bar
"",			// 3D High Color
"",			// 3D Low Color
"ffffff",			// Current Page Item Font Color
"008000",			// Current Page Item Background Color
"arrowdn.gif",		// Top Bar image 
"",			// Menu Header Font
"",			// Menu Header Background Color 
]

addmenu(menu=[		
"boundmenu",		
369,			// Menu Top 
75,			// Menu Left
120,			// Menu Width - Menus width in pixels
1,			// Menu Border Width 
,			// Screen Position  of "center:middle"
style1,			// Properties Array
1,			// Always Visible
"left",			// Alignment
effect,			// Filter
,			// Follow Scrolling
1, 			// Horizontal Menu
,			// Keep Alive
,			// Position of TOP sub image 
,			// Set the Overall Width
,			// Right To Left
,			// Open the Menus OnClick
,			// ID of the div you want to hide
,			// Reserved for future use
,			// Reserved for future use
,			// Reserved for future use

,"  Home ","index.html",,"Take me back to the home page",1 
,"  Our Products  ","show-menu=Our Products",,"",1
,"  Our Sketches  ","show-menu=Our Sketches",,"",1
,"  About Us ","about_us.html",,"About Orawia Gardens",1
,"  Contact Us ","contactus.html",,"Contact Us",1 
])

addmenu(menu=["Our Products",,,100,1,,style1,0,"left",effect,0,,,,,,,,,,,
	,"Flowers","flowers.html",,,1
	,"Plants","plants.html",,,1
	,"Seedlings","seedlings.html",,,1
	,"Plant Supplies","supplies.html",,,1
	])
	
addmenu(menu=["Our Sketches",,,100,1,,style1,0,"left",effect,0,,,,,,,,,,,
	,"Pre-Drawn","predrawn.html",,,1
	,"Original","original.html",,,1
	])

dumpmenus()
Can anyone please explain this, because it is really baffling me.

Thanks

Darryl :?:
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi Darryl,

Your code works for me, vertically as well as horizontally, when I substitute it into my own test page. Possibly something else on your page causing it? Can you provide a URL to a site, or is it not on line?

One notable thing... the code you provided is missing the "critical" line at the top that loads the menus, but I assume you just forgot to paste that part, since your menus wouldn't display at all (horizontally or vertically) without that line.

Another comment in passing... the way you've defined effect will be a problem unless you define it for other browsers... i.e., maybe use an else statement to assign a null string for all other browsers. If you don't, then effect will only be defined for appVersion = MSIE 6.0; other browsers will throw an "effect not defined" error.

Kevin
GVCC
Beginner
Beginner
Posts: 4
Joined: Wed Jun 18, 2003 7:14 am

Post by GVCC »

kevin3442 wrote:Hi Darryl,

Your code works for me, vertically as well as horizontally, when I substitute it into my own test page. Possibly something else on your page causing it? Can you provide a URL to a site, or is it not on line?

Another comment in passing... the way you've defined effect will be a problem unless you define it for other browsers... i.e., maybe use an else statement to assign a null string for all other browsers. If you don't, then effect will only be defined for appVersion = MSIE 6.0; other browsers will throw an "effect not defined" error.

Kevin
Hi Kevin,

Thanks for your reply. I did intentionally leave out the critical line. Here is the url for you to have a look at.

http://www.gvcc.com.au/test/index.html

I have the menu inside a table, and now have it set to negative positions so it doesnt show until page finished loading.

How do I get it the effect so most modern browsers can view the JS Applet?

Regards

Darryl
Post Reply