PDA

View Full Version : Please Help me create a Simple Combo dropdown box with rollovers



OKIGiveIn
10-19-2006, 06:48 PM
Hi There

I am very new to Javascripting and the last HTML coding I did was about 5 years ago so I am pretty rusty. I have posted this question elsewhere, but maybe it was in the wrong place as I have had not one response.

I am trying to create a simple Select type combo box that opens a formatted text box when each of the items in the list are rolled over.

This appeared a simple task when I first decided on it but I am going in circles and nothing is working.

I don't mind if the text box is in a fixed position on the page or floating or even opens a small new window or popup as long as it works.

I have tried using ideas from
http://www.dynamicdrive.com/dynamicindex1/combodescribe.htm
http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm
http://www.dynamicdrive.com/dynamicindex1/popit.htm

But so far, after many hours of trial, experimenting and testing have produced nothing except a combo box that doesn't do anything.

Can anyone please help me?

blm126
10-20-2006, 01:21 AM
The first link you posted should work "as is". Just pass in the id of a text area.

OKIGiveIn
10-20-2006, 04:32 AM
The first link you posted should work "as is". Just pass in the id of a text area.
Thanks for the response.

Unfortunately the code you described does not use mouseover functions and "passing the id" is where I suspect the problems with my attempts so far lie.

Also I cannot see where in the code I can specify the position on a page for the text box.

As you can see your response gets me nowhere further that I have not already tried and failed.

OKIGiveIn
10-20-2006, 11:01 AM
So far Nothing

Getting desperate - Does anyone have anything useful for me?

I have now tried incorporating code from http://www.dynamicdrive.com/dynamicindex3/dropdownview2.htm

which at least gives a separate box for display of external pages.

Still can't see how to make this dynamically change on mouseover or even on click from items in the dropdown combo box.

Also can't see how to place this display box in a particular cell in a table structured page or for that matter specify where the box goes at all.

Maybe this structure has never been attempted before - even though it would seem a standard item on web pages when it is in a menu form?

My source now has so many snippets of commented out code in it that I have given up and started with a blank page again so I can at least see what is going on.

Are all the "experts" too busy or is this apparently simple request too difficult?