Can't move NavBar vertically

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.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

No problem. Sorry for the trouble.

I don't see 2 menus there yet... ;)
John
spraine
Super Advanced
Super Advanced
Posts: 45
Joined: Thu Jan 23, 2003 7:24 am

Post by spraine »

Hi John--

Have been experimenting with next step, but hit a wall again.

RE http://our.homewithgod.com/spr/

(If I can explain this clearly... )

When someone goes to Family... Photos... Steve

I want the photo of Steve to appear in a detached open area (e.g., near the right border). ("Detached" means separated/away from the menu's "expanding structure"...)

but I want the name "Steve" to be the clickable link to the affiliated site.

So someone who goes to the "Steve" and sees the photo,
will click the "Steve" to go to that site.

Make sense?

Steve
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

See you've got 3 menus up there...

Probably use DHTML and do what's called a swap image. If you use Dreamweaver (doesn't look like it in your source) it's just a few clicks to set up. If you hand code you'd better check the book - it can be a little tough to explain :?
John
spraine
Super Advanced
Super Advanced
Posts: 45
Joined: Thu Jan 23, 2003 7:24 am

Post by spraine »

Hi John--

Putting "image-swapping" on hold for now.

Next... (Another VERY muddled question)

I'd like to add a top header to each menu (probably Bold Text and ability to change colors, etc.) (I don't want Section Hdrs, as in the example, only one at the top.)


RE http://our.homewithgod.com/spr/

Really confused how to do this.

Can I do it without adding "HeaderStyle=" ?

I KNOW I don't want to reconfig all my code under "Header menu".


Simply: I want to add Headers to the existing menus, and have separate control over features.


Steve
spraine
Super Advanced
Super Advanced
Posts: 45
Joined: Thu Jan 23, 2003 7:24 am

Post by spraine »

Hi--

RE horizontal menu @ http://our.homewithgod.com/spr/

Expected that

,"HOME","# align=center;type=header","http://our.homewithgod.com/spr/",,,1

would center the text in the Headers...
no such luck. Tried numerous other options, as well.

Correct coding?


Thanks,
Steve
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Code: Select all

,"HOME","# align=center;type=header","http://our.homewithgod.com/spr/",,,1
Try...

Code: Select all

,"HOME","# type=header;align=center;","http://our.homewithgod.com/spr/",,"",1
Suggestion (and don't take this wrong because I certainly don't mind helping!). Most of what you've asked is available just by looking at the numerous demos Andy has on the main site. Find what you want to do (this centered header, for instance), check his code, and it's done. Main problem is sometimes I'm not able to get on here for days and you'll find answers a lot more quickly this way (assuming nobody else answers first - I certainly don't know it all!).
John
spraine
Super Advanced
Super Advanced
Posts: 45
Joined: Thu Jan 23, 2003 7:24 am

Post by spraine »

Hi John--

Believe it or not, I have been viewing Andy's coding.

I got the "align line"

,"Main Menu","# align=center;type=header;",,,1

from

http://www.milonic.co.uk/menu/menusampl ... ampleid=15
(it's also in other examples).

Unfortunately, neither his line nor yours work in my menu when I include the link.

I believe--(and again this is from code visits)--that the structure is standardized. I don't know what the commas indicate, but I assume they are field separators. Given the standardization, I also assume the particular fields--used or unused--are ordered and specific. Make sense?

Inotherwords, the line above ends with ;",,,1

I don't know why there are 3 commas instead of 2 or 1.


Bottom line: where do I go to learn what the acceptable syntax is? (and judging from the forum questions, I am definitely not alone in this)


Bottom line: I don't know what proper syntax is, so I don't know how to modify/alter/change a line. For example, when I want to incorporate features from 3 or 4 of Andy's examples.

I want to learn. Just don't know where to go. And please don't tell me to go to one of the plethora of online javascript tutorials. Zzzzzz...

Anyway, my last failure was

,"HOME","show-menu=Personal","# type=header;align=center;","http://our.homewithgod.com/spr/",,"",1

I'm thinking the error is in the end -- ,,"",1

(but again, not knowing correct syntax means I don't know when and what is wrong).

Thanks,
Steve
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Steve -

The reason I kicked this one out...

Code: Select all

,"HOME","# align=center;type=header","http://our.homewithgod.com/spr/",,,1
...is because you were missing the ; after the type=header.

As for the link, I'm really not sure if you can link a header. After all, it's really a 'title' for the items that appear below it. Maybe Kevin can help me out on this one.
I believe--(and again this is from code visits)--that the structure is standardized. I don't know what the commas indicate, but I assume they are field separators. Given the standardization, I also assume the particular fields--used or unused--are ordered and specific. Make sense?

Inotherwords, the line above ends with ;",,,1

I don't know why there are 3 commas instead of 2 or 1.
The menus you are adding are in exactly the same structure as those further up in the code - the ones with all the comments...

This...

Code: Select all

addmenu(menu=[		// This is the array that contains your menu properties and details
"sidemenu",			// Menu Name - This is needed in order for the menu to be called
145,				// Menu Top - The Top position of the menu in pixels
20,					// Menu Left - The Left position of the menu in pixels
150,				// Menu Width - Menus width in pixels
1,					// Menu Border Width 
,					// 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)
"left",				// 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
...is exactly the same as this...

Code: Select all

addmenu(menu=["sidemenu",145,20,150,1,,style1,1,"left",effect,
...etc., just without all the comments and fancy formatting. So if you see something in the 7th position and don't know what it is just go up to the menu with the comments, count down to the 7th item, and there's the description (in this example it's style1, defined as the Properties Array). Trust me, all the commas must be in place, otherwise the script will lose its place as to what goes where in the definition.
John
spraine
Super Advanced
Super Advanced
Posts: 45
Joined: Thu Jan 23, 2003 7:24 am

Post by spraine »

Thanks John--

,"HOME","http://our.homewithgod.com/spr/",,,1
,"PERSONAL","show-menu=Personal","# type=header;align=center;",,1


HOME line produces Header with a link, but not centered.

PERSONAL line produces a centered Header with a drop-down menu.


Now...
just need to center the "HOME" at

http://our.homewithgod.com/spr/


I've been able to center "HOME" or to link "HOME", but not simultaneously.

Andy's example at

http://www.milonic.co.uk/menu/menusample.php?sampleid=1

appears to do what I seek: center all Headers, AND have "HOME" linked.

But I don't see anything in the coding that does the Centering.

Plus I don't see anything in the KEY at the top of the samples that indicates 'this is where you put a link'.

Some of it--obviously--is VERY straight forward. Some still remains a mystery.


Steve
spraine
Super Advanced
Super Advanced
Posts: 45
Joined: Thu Jan 23, 2003 7:24 am

Post by spraine »

OK...

fixed centering issue when I found the Alignment option.

Now have Hdr centered and linked.

Thanks for your patience, John.

Steve
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

No problem. That'll be 4 bucks, please (per answer, of course :P ).
John
spraine
Super Advanced
Super Advanced
Posts: 45
Joined: Thu Jan 23, 2003 7:24 am

Post by spraine »

John--

At $4 per answer I owe you a whole bunch of bucks...!

Good news (perhaps)--

I think I've found the answer to the Show-Menu AND be a link:

http://www.milonic.co.uk/menu/menusample.php?sampleid=5

Just beginning to try it.


By the way (and its hardly worth mentioning), I used to come to Tempe for Six Sigma training when I was with AlliedSignal (now Honeywell).

Back to the menu...

Thanks,
Steve
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Six Sigma. Haven't heard that since I worked for Motorola.

I'm actually on the West campus, which is NW on the Phoenix/Glendale border.
John
spraine
Super Advanced
Super Advanced
Posts: 45
Joined: Thu Jan 23, 2003 7:24 am

Post by spraine »

Hi John--

RE http://our.homewithgod.com/spr/

Got MAIN centered, linked, and with drop-down.

Is there such a thing as "onfontweight"?

When the mouse is over a menu selection, I'd like to make the font Bold.

Experimented with "onfontcolor"--

,"MAIN","show-menu=Personal","# onfontcolor=333333;","http://our.homewithgod.com/spr/",1

Finally realized--add a feature and subtract a comma.

I may be slow, but at least I'm stupid.

Anyway, got onfontcolor working, but onfontweight doesn't do anything--doesn't blow up, doesn't work, just is ignored.

So I presume there is no such thing.


Any way to make this happen? In the back of my mind, I have an awful thought about another Style that's applied to "on..."

Hmmm.

Steve
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Sorry, that one doesn't ring a bell at all. :cry:
John
spraine
Super Advanced
Super Advanced
Posts: 45
Joined: Thu Jan 23, 2003 7:24 am

Post by spraine »

Hi John--

Do you see a problem here? I can't seem to find it.

If all 4 "admenu's" of section 2 are disabled, the site works.
Totally fails if any of the 4 are enabled.

(links are irrelevant, and only serve as place holders)

Sorry to send so much, but it's much easier than looking at the entire thing.

Steve



SECTION 1

addmenu(menu=[
"Study",
,
,
125,
1,
,
Gray3DStyle,
//PlainStyle,
0,
,
effect,
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Bible","show-menu=Bible1",,,1
,"Publications","show-menu=Publications1",,,1
,"Science","show-menu=Science1",,,1
,"Universities","show-menu=Universities1",,,1

])



SECTION 2


addmenu(menu=[
"Bible1",
,
,
125,
1,
,
Gray3DStyle,
//PlainStyle,
0,
,
effect,
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Scriptures'',"show-menu=Scriptures1","http://www.pacificnet.net/~fpcb/",,1
,"Languages","show-menu=Languages1","http://www.spbts.org/",,1
,"History","show-menu=BibleHistory1","http://www.palipres.org/",,1
,"Documents","show-menu=BibleDocuments1","http://www.calvarychapel.com/redlands/C ... s.htm/",,1

])


addmenu(menu=[
"Publications1",
,
,
125,
1,
,
Gray3DStyle,
//PlainStyle,
0,
,
effect,
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"'',"http://www.pacificnet.net/~fpcb/",,,1
,"","http://www.spbts.org/",,,1
,"","http://www.palipres.org/",,,1
,"","http://www.calvarychapel.com/redlands/C ... .htm/",,,1

])


addmenu(menu=[
"Science1",
,
,
125,
1,
,
Gray3DStyle,
//PlainStyle,
0,
,
effect,
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"'',"http://www.pacificnet.net/~fpcb/",,,1
,"","http://www.spbts.org/",,,1
,"","http://www.palipres.org/",,,1
,"","http://www.calvarychapel.com/redlands/C ... .htm/",,,1

])



addmenu(menu=[
"Universities1",
,
,
125,
1,
,
Gray3DStyle,
//PlainStyle,
0,
,
effect,
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Fuller Seminary'',"http://www.pacificnet.net/~fpcb/",,,1
,"Princeton Seminary","http://www.spbts.org/",,,1
,"University of Redlands","http://www.palipres.org/",,,1
,"Point Loma University","http://www.calvarychapel.com/redlands/C ... .htm/",,,1

])
spraine
Super Advanced
Super Advanced
Posts: 45
Joined: Thu Jan 23, 2003 7:24 am

Post by spraine »

Hi John--

Got it working. Never found a problem.
Just deleted several "addmenu's" and re-entered.


With a menu displayed vertically...
how do you "deploy it" two-items wide?

i.e., vertical menu with 6 items total, displayed as 3 rows of 2 items each, side-by-side.

Thanks,
Steve
spraine
Super Advanced
Super Advanced
Posts: 45
Joined: Thu Jan 23, 2003 7:24 am

Post by spraine »

Hi John--

Still playing around with menu variations, etc.

Is there a way to put a horizontal menu at the bottom of the screen and have the menus open/expand UP? I looked at the alterable choices, and nothing jumped out at me as the answer.

Any examples you've seen of really creative ways of deploying these menus?

Thanks,
Steve
Post Reply