Solved

Images & Drop Downs/Selects

Posted on 2003-10-22
3
153 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 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now