Solved

javascript drop down menu question

Posted on 2006-10-22
2
166 Views
Last Modified: 2010-04-09
Hi

if i download a free javascript drop down menu from other site and trying to implement to my web page,
how should i do beside copy paste it.

let say: there is a centered banner/logo image on my page.
and i want the menu to be appear right under the image.

which html tag code to use or do i need to create some table ?


Thank you
0
Comment
Question by:ilovekeat
[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
2 Comments
 
LVL 20

Accepted Solution

by:
dsacker earned 125 total points
ID: 17788851
There are a number of ways. Using <DIV>s would make your page easily styled by CSS:

<DIV id=banner><img src=yourbanner.gif></DIV>
<DIV id=dropdown>
  <select id=whatever>
    <option value="1">Example 1</option>
    <option value="2">Example 3</option>
    <option value="3">Example 3</option>
  </select>
</DIV>

If you wanted to do it the old-fashioned "table" way, complete with centering:

<TABLE align=center>
  <TR><TD><img src=yourbanner.gif></TD></TR>
  <TR><TD>
    <select id=whatever>
      <option value="1">Example 1</option>
      <option value="2">Example 3</option>
      <option value="3">Example 3</option>
    </select>
  </TD></TR>
</TABLE>

You could also simply use paragraphs and center them:

<P align=center><img src=yourbanner.gif></P>
<P align=center>
  <select id=whatever>
    <option value="1">Example 1</option>
    <option value="2">Example 3</option>
    <option value="3">Example 3</option>
  </select>
</P>

Hope any of these three suggestions help.
0
 
LVL 20

Expert Comment

by:dsacker
ID: 18122981
B?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
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.…

730 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