PDA

Click to See Complete Forum and Search --> : Challenge!!


atif
Feb 15th, 2001, 10:25 AM
okay its not really a big one. I'm making a web site for this company and I would like to do one thing with the help of JAVA i guess. so here we go Java gurus:

You know how when you bring your mouse to a link called for example "Contact Us", when we bring our mouse on it, it automatically drops another menu, and you can select other option listed within "Conatct Us". the way microsoft.com has it on their front page. Any code or idea would be apprciated. thanks....

Feb 15th, 2001, 11:18 AM
At http://msdn.microsoft.com/ the URL gets rewritten to "msdn.microsoft.com/default.asp" and also in the source, HREF="/isapi/gomscom.asp?Target=/products/" TARGET=_top><FONT COLOR=#FFFFFF>All Products

You may know that ASP is MS's Active Server Pages
So I'd assume you can use JSP Java Server Pages. I don't think vb-world has a specific JSP forum, so the closest forum is Java or ASP. Check with the ASP guru's for most likely identical JSP code.

billrogers
Feb 16th, 2001, 09:58 AM
That is really not java technology being used to create those drop down menus, most times, it is javascript and dhtml. dhtml is rather new and implementation on the different browsers can very greatly at times. For a great example of javascript, dhtml to create drop down menus, please look at the following link. A developer at netscape made up a javascript file, that is object oriented and allows you to create submenus by simply calling a constuctor, and adding stuff to that is also very simple, he also went through the trouble of giving several examples of using this great feature he has built.

http://developer.netscape.com/viewsource/smith_menu/smith_menu.html

Oh he also made improvements upon the first article and object, taking feedback from other developers and created an improved artical and object at ...

http://developer.netscape.com/viewsource/smith_menu2/smith_menu2.html

Hope this helps you out, let me know I might be able to help ya out if this does or doesnt work

atif
Feb 16th, 2001, 03:06 PM
which compiler or developer i need to write this script in? Can i paste the code into my FrontPage HTML tag?
pls reply soon thanks for the great help though

billrogers
Feb 19th, 2001, 09:23 AM
Its javascript

It is an interpreted language like vbscript, just place it inbetween the <head> tags in <script> tags in an html document. The article should give you the stuff you need to know in order to create menus.

Sorry for the delay in reply, I was out of town all weekend, left after posting the first reply to you.

atif
Feb 19th, 2001, 10:12 AM
thanks bill. appreciate your help....