Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Images & Drop Downs/Selects

Posted on 2003-10-22
3
Medium Priority
?
159 Views
Last Modified: 2010-04-09
I have navigation menu with images that are appearing underneath my drop down boxes which are near where the menus are to unfold.  

Here's the question . . .
Is it possible to display an image over a select?
If not do you have any good samples of how to perform a select with
DHTML so we can pop up an image over it.
0
Comment
Question by:kbsitz
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
superslamwich earned 100 total points
ID: 9603386
better idea, just hide the selects when dropping the menu.  DHTML selects are very confusing and require a lot of code that is unecessary if you just use a normal select and hide it:

<script type='text/javascript'>
<!--

  function DropMenu()  {               //This is whatever function drops the menu
    for(i=0;i<document.childNodes.length;i++)  {
      if(document.childNodes[i].tagName == "select")  {
        document.childNodes[i].style.visibility = "hidden"
      }
    }

    //Rest of your function goes here

  }

  function unDropMenu()  {
    for(i=0;i<document.childNodes.length;i++)  {
      if(document.childNodes[i].tagName == "select")  {
        document.childNodes[i].style.visibility = "visible"
      }
    }

   //Rest of the function here

  }

{Slam}
0
 

Author Comment

by:kbsitz
ID: 9606443
excellent, i will try it
0
 
LVL 3

Expert Comment

by:superslamwich
ID: 9610490
Happy to help ;-)

{Slam}
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question