Solved

Images & Drop Downs/Selects

Posted on 2003-10-22
3
156 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
superslamwich earned 25 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Session on Html 8 55
Making Table Thru ASP Response.write 5 39
Table header must be on top 2 58
Expanding/Collapsing Tree on SharePoint List 29 68
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

710 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