Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: drop-down menu


Message #1 by philip.moh@a... on Mon, 26 Feb 2001 02:46:57
Hello Friends:



I have posted the following problem into Java_HowTo section but I don't 

get any reply...As such, I would like to re-post the problem here. Hope 

will get some reply from, thanks in advance.





----

Does anyone know how to do the drop-down menu when user point to the manu

bar? For example, I have a menu bar contain 3 sections, when the user 

point at the 1 section, the drop-down menu will appear and user can select 

the choice from the drop-down menu... ah...a very good example, go to 

www.microsoft.com, point your mouse to the "Contact Us" section, then the 

drop-down menu will appear...got it? can java/ASP do this? How? Please 

advise... very urgent !!!



Thanks in advance...



--

Batman

Message #2 by "Ken Schaefer" <ken@a...> on Mon, 26 Feb 2001 21:21:24 +1100
The example at Microsoft is entirely *client-side* - why don't you go to the

Microsoft site and choose "View Source" from your menu in IE?



Cheers

Ken



----- Original Message -----

From: <philip.moh@a...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Monday, February 26, 2001 2:46 AM

Subject: [asp_web_howto] drop-down menu





> Hello Friends:

>

> I have posted the following problem into Java_HowTo section but I don't

> get any reply...As such, I would like to re-post the problem here. Hope

> will get some reply from, thanks in advance.

>

>

> ----

> Does anyone know how to do the drop-down menu when user point to the manu

> bar? For example, I have a menu bar contain 3 sections, when the user

> point at the 1 section, the drop-down menu will appear and user can select

> the choice from the drop-down menu... ah...a very good example, go to

> www.microsoft.com, point your mouse to the "Contact Us" section, then the

> drop-down menu will appear...got it? can java/ASP do this? How? Please

> advise... very urgent !!!

>

> Thanks in advance...

>

> --

> Batman





Message #3 by philip.moh@a... on Tue, 27 Feb 2001 10:50:53 +0800
No. I have actually copied all the code from Microsoft and I got error

during the run-time, the menu bar didn't appear either... So, I think it s

not "client-side" script...









> -----Original Message-----

> From:	Ken Schaefer [SMTP:ken@a...]

> Sent:	Monday, February 26, 2001 6:21 PM

> To:	ASP Web HowTo

> Subject:	[asp_web_howto] Re: drop-down menu

> 

> The example at Microsoft is entirely *client-side* - why don't you go to

> the

> Microsoft site and choose "View Source" from your menu in IE?

> 

> Cheers

> Ken

> 

> ----- Original Message -----

> From: <philip.moh@a...>

> To: "ASP Web HowTo" <asp_web_howto@p...>

> Sent: Monday, February 26, 2001 2:46 AM

> Subject: [asp_web_howto] drop-down menu

> 

> 

> > Hello Friends:

> >

> > I have posted the following problem into Java_HowTo section but I don't

> > get any reply...As such, I would like to re-post the problem here. Hope

> > will get some reply from, thanks in advance.

> >

> >

> > ----

> > Does anyone know how to do the drop-down menu when user point to the

> manu

> > bar? For example, I have a menu bar contain 3 sections, when the user

> > point at the 1 section, the drop-down menu will appear and user can

> select

> > the choice from the drop-down menu... ah...a very good example, go to

> > www.microsoft.com, point your mouse to the "Contact Us" section, then

> the

> > drop-down menu will appear...got it? can java/ASP do this? How? Please

> > advise... very urgent !!!

> >

> > Thanks in advance...

> >

> > --

> > Batman

> 

> 
Message #4 by "Ken Schaefer" <ken@a...> on Tue, 27 Feb 2001 17:44:35 +1100
It is a client-side script - you also need to download the externally

referenced .js files.



I guarantee that it is client-side script. Just because you can't get it to

work doesn't mean that it is server-side script.



Cheers

Ken



----- Original Message -----

From: <philip.moh@a...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Tuesday, February 27, 2001 1:50 PM

Subject: [asp_web_howto] Re: drop-down menu





> No. I have actually copied all the code from Microsoft and I got error

> during the run-time, the menu bar didn't appear either... So, I think it s

> not "client-side" script...

>

> > -----Original Message-----

> > From: Ken Schaefer [SMTP:ken@a...]

> > Sent: Monday, February 26, 2001 6:21 PM

> > To: ASP Web HowTo

> > Subject: [asp_web_howto] Re: drop-down menu

> >

> > The example at Microsoft is entirely *client-side* - why don't you go to

> > the

> > Microsoft site and choose "View Source" from your menu in IE?

> >

> > Cheers

> > Ken





Message #5 by philip.moh@a... on Tue, 27 Feb 2001 15:07:20 +0800
really? where can I download the .js file?? please advise, thanks.







> -----Original Message-----

> From:	Ken Schaefer [SMTP:ken@a...]

> Sent:	Tuesday, February 27, 2001 2:45 PM

> To:	ASP Web HowTo

> Subject:	[asp_web_howto] Re: drop-down menu

> 

> It is a client-side script - you also need to download the externally

> referenced .js files.

> 

> I guarantee that it is client-side script. Just because you can't get it

> to

> work doesn't mean that it is server-side script.

> 

> Cheers

> Ken

> 

> ----- Original Message -----

> From: <philip.moh@a...>

> To: "ASP Web HowTo" <asp_web_howto@p...>

> Sent: Tuesday, February 27, 2001 1:50 PM

> Subject: [asp_web_howto] Re: drop-down menu

> 

> 

> > No. I have actually copied all the code from Microsoft and I got error

> > during the run-time, the menu bar didn't appear either... So, I think it

> s

> > not "client-side" script...

> >

> > > -----Original Message-----

> > > From: Ken Schaefer [SMTP:ken@a...]

> > > Sent: Monday, February 26, 2001 6:21 PM

> > > To: ASP Web HowTo

> > > Subject: [asp_web_howto] Re: drop-down menu

> > >

> > > The example at Microsoft is entirely *client-side* - why don't you go

> to

> > > the

> > > Microsoft site and choose "View Source" from your menu in IE?

> > >

> > > Cheers

> > > Ken

> 

> 
Message #6 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Tue, 27 Feb 2001 10:09:29 -0000
I've actually done this myself, I "stole" the menu functions from the

microsoft site and used them on the intranet at my previous employers.  A

word of warning - these functions seemed to have a great deal of unnecessary

complexity built in, which made getting them to work for us extremely

difficult, and resulted in many weeks of work.  You would be far better off

either writing your own from scratch, or using one of the samples provided

by the gurus here in a recent conversation thread.



In any case, if you do choose to write them from scratch, I would certainly

recommend building structured arrays which contain all your menu options,

and writing a function that builds the menus from the arrays.  This is the

approach that the Microsoft site takes.



-----Original Message-----

From: Ken Schaefer [mailto:ken@a...]

Sent: Tuesday, February 27, 2001 6:45 AM

To: ASP Web HowTo

Subject: [asp_web_howto] Re: drop-down menu





It is a client-side script - you also need to download the externally

referenced .js files.



I guarantee that it is client-side script. Just because you can't get it to

work doesn't mean that it is server-side script.



Cheers

Ken



----- Original Message -----

From: <philip.moh@a...>

To: "ASP Web HowTo" <asp_web_howto@p...>

Sent: Tuesday, February 27, 2001 1:50 PM

Subject: [asp_web_howto] Re: drop-down menu





> No. I have actually copied all the code from Microsoft and I got error

> during the run-time, the menu bar didn't appear either... So, I think it s

> not "client-side" script...

>

> > -----Original Message-----

> > From: Ken Schaefer [SMTP:ken@a...]

> > Sent: Monday, February 26, 2001 6:21 PM

> > To: ASP Web HowTo

> > Subject: [asp_web_howto] Re: drop-down menu

> >

> > The example at Microsoft is entirely *client-side* - why don't you go to

> > the

> > Microsoft site and choose "View Source" from your menu in IE?

> >

> > Cheers

> > Ken



________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com

Message #7 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Tue, 27 Feb 2001 10:37:02 -0000
do view source on the microsoft home page.  Read through it and make a note

of every reference to an external js file.  Then simply type the filenames

into the url bar.  You should be prompted to open or save the file.  Save

it.



-----Original Message-----

From: philip.moh@a... [mailto:philip.moh@a...]

Sent: Tuesday, February 27, 2001 7:07 AM

To: ASP Web HowTo

Subject: [asp_web_howto] Re: drop-down menu





really? where can I download the .js file?? please advise, thanks.







> -----Original Message-----

> From:	Ken Schaefer [SMTP:ken@a...]

> Sent:	Tuesday, February 27, 2001 2:45 PM

> To:	ASP Web HowTo

> Subject:	[asp_web_howto] Re: drop-down menu

> 

> It is a client-side script - you also need to download the externally

> referenced .js files.

> 

> I guarantee that it is client-side script. Just because you can't get it

> to

> work doesn't mean that it is server-side script.

> 

> Cheers

> Ken

> 

> ----- Original Message -----

> From: <philip.moh@a...>

> To: "ASP Web HowTo" <asp_web_howto@p...>

> Sent: Tuesday, February 27, 2001 1:50 PM

> Subject: [asp_web_howto] Re: drop-down menu

> 

> 

> > No. I have actually copied all the code from Microsoft and I got error

> > during the run-time, the menu bar didn't appear either... So, I think it

> s

> > not "client-side" script...

> >

> > > -----Original Message-----

> > > From: Ken Schaefer [SMTP:ken@a...]

> > > Sent: Monday, February 26, 2001 6:21 PM

> > > To: ASP Web HowTo

> > > Subject: [asp_web_howto] Re: drop-down menu

> > >

> > > The example at Microsoft is entirely *client-side* - why don't you go

> to

> > > the

> > > Microsoft site and choose "View Source" from your menu in IE?

> > >

> > > Cheers

> > > Ken

> 

________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com

Message #8 by philip.moh@a... on Wed, 28 Feb 2001 09:12:28 +0800
thanks... do you have the sample code?



> -----Original Message-----

> From:	Alex Shiell, ITS, EC, SE [SMTP:alex.shiell@s...]

> Sent:	Tuesday, February 27, 2001 6:09 PM

> To:	ASP Web HowTo

> Subject:	[asp_web_howto] Re: drop-down menu

> 

> I've actually done this myself, I "stole" the menu functions from the

> microsoft site and used them on the intranet at my previous employers.  A

> word of warning - these functions seemed to have a great deal of

> unnecessary

> complexity built in, which made getting them to work for us extremely

> difficult, and resulted in many weeks of work.  You would be far better

> off

> either writing your own from scratch, or using one of the samples provided

> by the gurus here in a recent conversation thread.

> 

> In any case, if you do choose to write them from scratch, I would

> certainly

> recommend building structured arrays which contain all your menu options,

> and writing a function that builds the menus from the arrays.  This is the

> approach that the Microsoft site takes.

> 

Message #9 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Wed, 28 Feb 2001 10:10:37 -0000
it was at my previous employer's that I did this, so I don't have the code

here ... sorry



-----Original Message-----

From: philip.moh@a... [mailto:philip.moh@a...]

Sent: Wednesday, February 28, 2001 1:12 AM

To: ASP Web HowTo

Subject: [asp_web_howto] Re: drop-down menu





thanks... do you have the sample code?



> -----Original Message-----

> From:	Alex Shiell, ITS, EC, SE [SMTP:alex.shiell@s...]

> Sent:	Tuesday, February 27, 2001 6:09 PM

> To:	ASP Web HowTo

> Subject:	[asp_web_howto] Re: drop-down menu

> 

> I've actually done this myself, I "stole" the menu functions from the

> microsoft site and used them on the intranet at my previous employers.  A

> word of warning - these functions seemed to have a great deal of

> unnecessary

> complexity built in, which made getting them to work for us extremely

> difficult, and resulted in many weeks of work.  You would be far better

> off

> either writing your own from scratch, or using one of the samples provided

> by the gurus here in a recent conversation thread.

> 

> In any case, if you do choose to write them from scratch, I would

> certainly

> recommend building structured arrays which contain all your menu options,

> and writing a function that builds the menus from the arrays.  This is the

> approach that the Microsoft site takes.

> 





________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com




  Return to Index