Drop down menu for a list

Hi, I need to create a type of drop down menu for a
navigation list. Only one button needs a drop down option. I was
wondering if anyone had any suggestion on the best way to go about
it? Is there a way to make the list that drops down to the right
instead of dropping straight down in order to keep the opening
window from getting in the way of the button beneath it. I would
like to do it without changing the order of the navigation list and
having to make it the last button.
Thanks

Check the uberlink and MacFly tutorials at PVII -
http://www.projectseven.com/
and the Navbar tutorial/articles at Thierry's place
http://tjkdesign.com/articles/dropdown/
Or this one (more recent article):
http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
Or to get it done fast, go here -
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"PENONE" <[email protected]> wrote in
message
news:fk2jpl$412$[email protected]..
> Hi, I need to create a type of drop down menu for a
navigation list. Only
> one
> button needs a drop down option. I was wondering if
anyone had any
> suggestion
> on the best way to go about it? Is there a way to make
the list that drops
> down
> to the right instead of dropping straight down in order
to keep the
> opening
> window from getting in the way of the button beneath it.
I would like to
> do it
> without changing the order of the navigation list and
having to make it
> the
> last button.
>
> Thanks
>

Similar Messages

  • How to configure drop down menu in custom list

    Hi,
    I want to create custom list with 3 options. Active, Proposal and Completed. How can I create drop down menu like this (look at picture). 

    Hi,
    According to your post, my understanding is that you wanted to configure drop down menu in custom list.
    I suggest to modify the view to group by Preposition Status.
    You can follow the steps as below:
    Create list, add choice column named Preposition Status.
    Add items.
    Modify the view as below:
    Then the result is as below:
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Drop down menu for services button

    This is the code i have for the buttons on the website.
    <div id="cssButton" align="center">
        <a href="index3.html" class="button custom">HOME</a>  
        <a href="news.html" class="button custom">NEWS</a>  
        <a href="services.html" class="button custom">SERVICES</a>    
        <a href="portfolio.html" class="button custom">PORTFOLIO</a>    
        <a href="about.html" class="button custom">ABOUT US</a>    
        <a href="contact.html" class="button custom">CONTACT US</a>            
      </div>
    I'm trying to create a drop down menu for the services button, but not sure how to go about it.
    Any help would be much appreciated.
    Aaron

    Structurally, you really should use unordered lists for menus.  And use sub-lists for your drop-menus.
    <nav>
    <ul id="menu">
    <li>Menu 1</li>
    <li>Menu 2</li>
    <li>Menu 3</li>
    <li>Menu 4<ul>
         <li>Sub-Menu 4.1</li>
         <li>Sub-Menu 4.2</li>
         <li>Sub-Menu 4.3</li>
    </ul>
    </li>
    <li>Menu 5</li>
    </ul>
    </nav>
    With some creative CSS, you can have button styled lists that drop.  See links below for details:
    CSS Menu - JSFiddle
    http://jsfiddle.net/zN7fU/28/
    Nancy O.

  • How can i create a drop down menu for set qty in my store?

    I'm wondering how i can create a drop down menu for the qty module that sits on the individual product page. My client sells in quantities of 6 packs. I currently have the minimum order at 6 but i would like to give consumers the option for 6,12,18...and so forth. I was told that it could be accomplished? Hopefully someone can help me.

    Hi Chris -
    Thank you for your reply! I had seen your article before, and just now again attempted to follow it, but I get stuck. There are two things that I'm confused by.
    First off, toward the top, referring to the initial button, you say to add this interaction:
    ON CLICK; Play Transition to comboBox: selected
    ON ROLL OUT; Play Transition to comboBox normal if comboBox is in over state
    ON ROLL OVER; Play Transition to comboBox over if comboBox is in normal
    However, I do not see these transition options. When I select the button, the only interactions I have are to Play transistion to state, Play action sequence, Go to URL, and two for videos. So that's the first roadblock for me.
    But, trying to get passed that, I went down to the portion of the article that refers to adding interaction to the dataset items. Again, I don't get it, as I see no way to add interaction to a dataset item. When I open my design-time data menu, I do see the items, and am able to rename each item, add additional rows, and change the shape of the datalist layout. However, I see no way to add an interaction to a dataset item. I must be missing a step ... Can you help with this?
    Again, thank you!
    Amy

  • Need help fixing a CSS Drop-Down menu for IE6

    Hello.
    I have created an entirely CSS drop down menu for my website
    which works perfect in Firefox, Safari, Opera and IE7 however when
    I tested in IE6 it displayed like this -->
    image
    here or go to http://www.runecentral.net/index.php (Must have
    /index.php as i have redirected / to the community forum.)
    Here is my code

    Thank you for your reply.
    To answer your first question, I tried it with just one
    before and it caused Internet Explorer to display the background
    incorrectly so I just kept them both.
    I have replaced background-image with background:
    url(/img/defmenu.png) repeat-x;
    But, I cannot access my XP machine until tomorrow so I cannot
    view the site in IE6, if you could test it and tell me if it is the
    same as the image linked to in my first post that would be great.
    Kind Regards,
    Perry

  • Drop Down menu for navigation bar

    I created a site a couple years ago (with GoLive) with a
    navigation bar with rollover states. I would like to create
    something very similar to it now in Dreamweaver CS3 but with the
    addition of a drop down menu for just a couple of the navigation
    icons. I have been told by Adobe tech support on the phone that I
    need some custom coding to do this.
    To see what the navigation bar looks like now go to
    www.aimeeastvillage.com
    I DON"T need the drop down choices to be in a whimsical font.
    I just don't want to have to direrct the reader to go to an
    additional page. PLEASE tell me this is possible for a relative
    beginner! Thanks.

    Check the uberlink and MacFly tutorials at PVII -
    http://www.projectseven.com/
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Purple Mango" <[email protected]> wrote in
    message
    news:fpv17r$gsp$[email protected]..
    >I created a site a couple years ago (with GoLive) with a
    navigation bar
    >with
    > rollover states. I would like to create something very
    similar to it now
    > in
    > Dreamweaver CS3 but with the addition of a drop down
    menu for just a
    > couple of
    > the navigation icons. I have been told by Adobe tech
    support on the phone
    > that
    > I need some custom coding to do this.
    > To see what the navigation bar looks like now go to
    > www.aimeeastvillage.com
    > I DON"T need the drop down choices to be in a whimsical
    font. I just don't
    > want to have to direrct the reader to go to an
    additional page. PLEASE
    > tell me
    > this is possible for a relative beginner! Thanks.
    >

  • Drop down menu for all ipad and samsung tablets and desktop

    Does anyone know any drop down menu that works in all ipad and other mobile devices (like samsung tab 2) and desktop and how to use it in Oracle APEX? I played with the "pull down menu" in theme 24 - to replace page tabs - and it didn't work very well with sublists. Since the "hover" event didn't work in mobile devices, it already navigated to the target before the sublists showed.
    Thanks.

    I am still new in this area but this is what I would suggest:
    Depending on with Apex Version you are working with - and as I understand, a lot gets far easier with 4.2, when it comes to development for mobile devices - I would work with jQuery Mobile.
    A very nice introduction (at least for me) was this youtube Video with Peter Raganitsch.
    JQuery Mobile gives you the tools to create a very nice touch-friendly popup list.

  • How do I aphabetize the drop down menu for favorites?

    I have been able to sort my bookmarks menu from A>Z while in the "organize bookmarks" view, BUT that doesn't change the bookmarks drop-down menu, which is what I want to do so I can find bookmarks quickly. How to I re-sort the bookmarks drop-down menu list?

    The Views menu in the Bookmarks Manager (Bookmarks > Show All Bookmarks) is for viewing the bookmarks in a different sorting order (hence the name Views) and doesn't sort bookmarks permanently.<br />
    Clicking the column header does the same.<br />
    If you want to sort bookmarks then you need to right-click a folder and use "Sort By Name" to sort that folder.<br />
    You can't sort individual bookmarks, only folders can be sorted this way.
    * http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox

  • How can i get a drop down menu or check list control

    i want to give the user a choice between 7 options on the front panel. i want either a check list or drop down menu.thanks

    You can use any of the ring controls to generate a drop down list. The ring controls are found on the Controls >> Ring & Enum palette. You program the drop down items the same way with any of these controls. Type the first drop down item on the control. Right click on the control and select "add item after". The controls text field will blank out and you can enter your second item. Repeat for every item on the list you need to generate. After you are done entering items, click on the control with the application tool and you will see a drop down menu of all the items you entered.

  • I use QVC online a lot. When hovering over a catagory headings at the top of the page, a drop down menu shows a list of subcategories. Is this feature available in Firefox 4 & 5? If so, how do I turn it on?

    I use QVC online a lot. When hovering over a category heading in IE9 a drop down menu appears with detailed subheadings for that category. Is this feature available in Firefox versions 4 and 5? Is this something that can be turned on in Firefox 4 & 5? If so, how do I turn this feature on?

    Hey Dave,
    How did you get on with this?
    Have you tried CSS position:fixed?  I have been playign around with it on my own project  (and in fact are just about to post a related question)  and can confirm that it works with a plain old DIV.
    SVG I can't be sure though..
    Certainly give it a try.
    Cheers

  • How to find the size and resolution option in the aspect ratio drop down menu for the crop tool

    while looking through certain tutorials on the new crop system i came across many that referenced the above mentioned size and resolution option in the  access ratio drop down menu.  They all mention a dialog box which then appears which looks really useful, however my version doesnt have this option. any help would be appreciated.

    Trevor.Dennis wrote:
    John, are there already differences?  I thought 13.1 was mainly about retina display support, but I guess there would also be other fixes released while they were at it.
    Yes, definitely already differences. I sympathize with Photoshop instructors (online and offline).
    The headline change was Retina support but that was also made available to non-Cloud versions.
    Other Cloud-only changes in 13.1 are listed here
    http://helpx.adobe.com/photoshop/using/whats-new.html
    http://psd.tutsplus.com/articles/news/cs6_1/
    Non-Cloud CS6 users have been very vocal and disgruntled about some of these changes.

  • How do i create a drop down menu for selecting from the drop down arrow

    how can i create a drop down menu so that when i click on the arrow in the cell i can select from the menu that appears

    katiesandell wrote:
    how can i create a drop down menu so that when i click on the arrow in the cell i can select from the menu that appears
    Hi Katie,
    Welcome to Apple Discussions and the Numbers '09 forum.
    Numbers vocabulary for this feature is a "Pop-up Menu". It's available as a Cell Format, and is set and edited in the Cell Format Inspector.
    See "Using a Checkbox, Slider, Stepper, or Pop-Up Menu in Table Cells" starting on page 96 of the Numbers '09 User Guide.
    This guide, and the equally useful iWork Formulas and Functions User Guide are available for download through the Help menu in Numbers.
    Regards,
    Barry

  • Making drop down menu for entry fields in database

    <%@ page language="java" contentType="text/html" %>
    <%@ page import="java.io.*" %>
    <%@ page import="java.math.*" %>
    <%@ page import="java.util.*" %>
    <%@ include file="/global/util.inc" %>
    <%@ include file="/global/user_session.jsp" %>
    <%@ include file="/global/connection_prepare_marketing.jsp" %>
    <html>
    <head>
    <title>Marketing Data Entry</title>
    <LINK REL=STYLESHEET HREF="/global/app_main.css">
    <BODY bgcolor=#FEFFE8>
    <%
    int     CID = 0;     
         CID = Integer.parseInt(request.getParameter("cid"));
    if (request.getParameter("delete") != null) {
         // Do the delete via a PreparedStatement
            java.sql.PreparedStatement ps = null;
         ps = db.prepareStatement("delete from hit_or_miss where hom_ID = ?");
         ps.setInt(1, CID);
         ps.executeUpdate();
         CID = 0;
         out.print ("<font color=darkblue>The record has been deleted successfully</font>");
    if (request.getParameter("update") != null) {
           // Set inputs in order to evaluate
            String          DE = request.getParameter("date_entered");
                   DE = DE.replaceAll("[a-zA-Z]","");             // Get rid of letters
         String          SI = request.getParameter("summit_ID");
                   SI = SI.replaceAll(",","");                 //Get rid of commas
         String          TT = request.getParameter("transaction_type");    //No change needed
           String            NL = request.getParameter("notional");
                     NL = NL.replaceAll("[a-zA-Z]","");               // Get rid of letters
                     NL = NL.replaceAll(",","");                  // Get rid of commas
           BigDecimal      NTL = new BigDecimal(NL);
         String          ST = request.getParameter("structure");
         String          CP = request.getParameter("counterparty");
         String          ED = request.getParameter("expiry_date");
                   ED = ED.replaceAll("[a-zA-Z]","");                // Get rid of letters
         String          SD = request.getParameter("start_date");
                   SD = SD.replaceAll("[a-zA-Z]","");                // Get rid of letters
         String          MD = request.getParameter("maturity_date");
                   MD = MD.replaceAll("[a-zA-Z]","");                // Get rid of letters
         String          CT = request.getParameter("currency_type");
         String          MRKTR = request.getParameter("marketer");
           String            SSC = request.getParameter("sales_credit");
                     SSC = SSC.replaceAll("[a-zA-Z]","");         // Get rid of letters
                     SSC = SSC.replaceAll(",","");                 // Get rid of commas
           BigDecimal      SC = new BigDecimal(SSC);
         String          MRKP = request.getParameter("markup");
                   MRKP = MRKP.replaceAll("[a-zA-Z]","");    // Get rid of letters
                   MRKP = MRKP.replaceAll(",","");           // Get rid of commas
         BigDecimal     MP = new BigDecimal(MRKP);
         String          CC = request.getParameter("comments_color");
      if (     SD != null && MD != null && ED != null ) {
         // First get the ID to use     
            String sql = " "+
              "begin "+
                "declare @new_id int "+
                 "if (select count(*) from hit_or_miss ) = 0 "+
                 "       begin "+
                 "       select @new_id = 1 "+
                 "       end   "+
                 "else "+
                 "       begin "+
                "       select @new_id = max(hom_ID) + 1 from hit_or_miss "+
                 "       end "+
              "select newID=@new_id "+
           "end";
         int nID = 0;
         rs = st.executeQuery(" "+ sql + " ");
         while (rs.next()) {
              nID = rs.getInt("newID");
         // Get timestamp for insert
         java.util.Date curr_dt = new java.util.Date();
            java.sql.Timestamp dt = new java.sql.Timestamp(curr_dt.getTime());
         // Now we check if it is an insert or update based on the passed ID
         if (CID == 0) {
              // Do the insert via a PreparedStatement
              java.sql.PreparedStatement ps = null;
              ps = db.prepareStatement("insert into hit_or_miss values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)");
              ps.setInt(1, nID);
              ps.setString(2, DE);
              ps.setString(3, SI);
              ps.setString(4, TT);
              ps.setBigDecimal(5, NTL);
              ps.setString(6, ST);
              ps.setString(7, CP);
              ps.setString(8, ED);
              ps.setString(9, SD);
              ps.setString(10, MD);
              ps.setString(11, CT);
              ps.setString(12, MRKTR);
              ps.setBigDecimal(13, SC);
              ps.setBigDecimal(14, MP);
              ps.setString(15, CC);
              ps.executeUpdate();
              out.print("<font color=darkblue>The new record has been inserted into the database successfully</font>");
         } else {
              // Do the update via a PreparedStatement
              // First we insert a row into the archive table
                 java.sql.PreparedStatement ps = null;
                    ps = db.prepareStatement("update hit_or_miss set date_entered = getdate(), summit_ID = ?, transaction_type = ?, notional = ?, structure = ?, counterparty = ?, expiry_date = ?, start_date = ?, maturity_date = ?, currency_type = ?, marketer = ?, sales_credit = ?, markup = ?, comments_color = ? where hom_ID ="+CID+" ");
              ps.setString(1, DE);
              ps.setString(2, SI);
              ps.setString(3, TT);
              ps.setBigDecimal(4, NTL);
              ps.setString(5, ST);
              ps.setString(6, CP);
              ps.setString(7, ED);
              ps.setString(8, SD);
              ps.setString(9, MD);
              ps.setString(10, CT);
              ps.setString(11, MRKTR);
              ps.setBigDecimal(12, SC);
              ps.setBigDecimal(13, MP);
              ps.setString(14, CC);
              ps.executeUpdate();
              out.print("<font color=darkblue>This record has been updated successfully</font>");
      } else {
         out.print("<font color=red>You must fill in the date and amount sections of this form in order the write to the database to occur - please try again</font>");
         String DateEntered_text = null;
         String SummitID_text = null;
         String TransactionType_text = null;
         String Amount_text = "0000000.00";
         String Structure_text = null;
         String Counterparty_text = null;
         String ExpiryDate_text = null;
         String StartDate_text = null;
         String MaturityDate_text = null;
         String CurrencyType_text = null;
         String Marketer_text = null;
         BigDecimal SalesCredit_text = new BigDecimal(0.0);
         BigDecimal Markup_text = new BigDecimal(0.0);
         String CommentsColor_text = null;
         String Notional_text = null;
    if (CID == 0) {
         String Expiry_Date_text = "";
            String Start_Date_text = "";
            String Maturity_Date_text = "";
    } else {
         rs = st.executeQuery("select o.hom_ID, DateEntered=convert(varchar(10),o.date_entered,101), o.summit_ID, o.transaction_type, Notional=convert(varchar(100),convert(money,o.notional),1), o.structure, o.counterparty, ExpiryDate=convert(varchar(10),o.expiry_date,101), StartDate=convert(varchar(10),o.start_date,101), MaturityDate=convert(varchar(10),o.maturity_date,101), o.currency_type, o.marketer, o.sales_credit, o.markup, o.comments_color from hit_or_miss o where o.hom_ID =  "+CID+ " ");
         while (rs.next()) {
              DateEntered_text = rs.getString("DateEntered");
              SummitID_text = rs.getString("summit_ID");
              TransactionType_text = rs.getString("transaction_type");          
              Amount_text = rs.getString("Notional");
              Structure_text = rs.getString("structure");
              Counterparty_text = rs.getString("counterparty");
              ExpiryDate_text = rs.getString("ExpiryDate");
              StartDate_text = rs.getString("StartDate");
              MaturityDate_text = rs.getString("MaturityDate");
              CurrencyType_text = rs.getString("currency_type");
              Marketer_text = rs.getString("marketer");
              SalesCredit_text = rs.getBigDecimal("sales_credit",8);
              Markup_text = rs.getBigDecimal("markup",5);
              CommentsColor_text = rs.getString("comments_color");
    %>
    <table id="main" border=0 cellspacing="4" cellpadding=3 bgcolor="buttonface">
         <tr><td ><form name="myform" method="post" action="/applications/marketing/hit_or_miss.jsp">
    <table  border="0" cellspacing="4" cellpadding="3">
         <tr class=tableHeader>
              <td valign=top colspan=2 >Marketing Form</td>
         </tr>
         <tr>
              <td valign=top><font size="-1"><b>Date Entered:</b></font></td>
              <td>     
                   <input type=text name=date_entered size=8 value='<%=DateEntered_text%>'>
                   <a href="javascript: void(0);"
                   onmouseover="if (timeoutId) clearTimeout(timeoutId); window.status='Show Calendar'; return true;"
                   onmouseout="if (timeoutDelay) calendarTimeout(); window.status='';"
                   onclick="g_Calendar.show(event, 'myform.date_entered', false, 'mm/dd/yyyy'); return false;">
                   <img src='/images/calendar.gif' name='imgCalendar' width=20 height=10 border=0 alt=''></a>
              </td>
         </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Summit ID:</b> </font></td>
                    <td><input type=text name=summit_ID size=25 value='<%=SummitID_text%>'></td>
            </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Transaction Type:</b> </font></td>
                    <td><input type=text name=transaction_type size=25 value='<%=TransactionType_text%>'></td>
            </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Notional:</b> </font></td>
                    <td><input type=text name=notional size=25 value='<%=Notional_text%>'></td>
            </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Structure:</b> </font></td>
                    <td><input type=text name=structure size=25 value='<%=Structure_text%>'></td>
            </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Counterparty:</b> </font></td>
                    <td><input type=text name=counterparty size=25 value='<%=Counterparty_text%>'></td>
            </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Expiry Date:</b></font></td>
                    <td>   
                            <input type=text name=expiry_date size=8 value='<%=ExpiryDate_text%>'>
                            <a href="javascript: void(0);"
                            onmouseover="if (timeoutId) clearTimeout(timeoutId); window.status='Show Calendar'; return true;"
                            onmouseout="if (timeoutDelay) calendarTimeout(); window.status='';"
                            onclick="g_Calendar.show(event, 'myform.expiry_date', false, 'mm/dd/yyyy'); return false;">
                            <img src='/images/calendar.gif' name='imgCalendar' width=20 height=10 border=0 alt=''></a>
                    </td>  
            </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Start Date:</b></font></td>
                    <td>   
                            <input type=text name=start_date size=8 value='<%=StartDate_text%>'>
                            <a href="javascript: void(0);"
                            onmouseover="if (timeoutId) clearTimeout(timeoutId); window.status='Show Calendar'; return true;"
                            onmouseout="if (timeoutDelay) calendarTimeout(); window.status='';"
                            onclick="g_Calendar.show(event, 'myform.start_date', false, 'mm/dd/yyyy'); return false;">
                            <img src='/images/calendar.gif' name='imgCalendar' width=20 height=10 border=0 alt=''></a>
                    </td>  
            </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Maturity Date:</b></font></td>
                    <td>   
                            <input type=text name=maturity_date size=8 value='<%=MaturityDate_text%>'>
                            <a href="javascript: void(0);"
                            onmouseover="if (timeoutId) clearTimeout(timeoutId); window.status='Show Calendar'; return true;"
                            onmouseout="if (timeoutDelay) calendarTimeout(); window.status='';"
                            onclick="g_Calendar.show(event, 'myform.maturity_date', false, 'mm/dd/yyyy'); return false;">
                            <img src='/images/calendar.gif' name='imgCalendar' width=20 height=10 border=0 alt=''></a>
                    </td>  
            </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Currency Type:</b> </font></td>
                    <td><input type=text name=currency_type size=25 value='<%=CurrencyType_text%>'></td>
            </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Marketer:</b> </font></td>
                    <td><input type=text name=marketer size=25 value='<%=Marketer_text%>'></td>
            </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Sales Credit:</b> </font></td>
                    <td><input type=text name=sales_credit size=8 value='<%=SalesCredit_text%>'><b>%</b></td>
            </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Markup:</b> </font></td>
                    <td><input type=text name=markup size=8 value='<%=Markup_text%>'><b>%</b></td>
            </tr>
         <tr>
                    <td valign=top><font size="-1"><b>Comments/Color:</b> </font></td>
                    <td><input type=text name=comments_color size=8 value='<%=CommentsColor_text%>'><b>%</b></td>
            </tr>
         <tr>
              <td colspan=2><hr width=100%></td>
         </tr>
         <tr>
              <td colspan=2>     <input type="submit" name="update" value="Update Record"
                        style='width:100px;font:9px verdana;'>
         <% if (CID != 0) { %>
                            <input type="submit" name="delete" value="Delete Record"
                                    onclick="return confirm('Are you sure you want to delete this record?');"
                                    style='width:100px;font:9px verdana;'>
            <% } %>
                   <input type="button" name="close" value="Close Window"
                        style='width:100px;font:9px verdana;'
                   onclick='javascript:window.close();'>
              </td>
         </tr>
    </table>
    </td>
    </tr>
    </table>
    <input type=hidden name=login_id value=<%= request.getParameter("login_id") %>>
    <input type=hidden name=cid value=<%=CID%>>
    <SCRIPT LANGUAGE="JavaScript">
    opener.myform.submit();
    </SCRIPT>
    </form>
    </body>
    </html>thats my code for part of database, in the parts that go "if CID = 0", thats the new record field, in there right now i just have users put in info into blank input fields, however, i would like to know if i can make certain fields, like Mraketer, and Counterparty fields to have drop down menus, Anyone know??

    So basically the main focus of what I was askin is in this block of code below:
    if (CID == 0) {
              // Do the insert via a PreparedStatement
              java.sql.PreparedStatement ps = null;
              ps = db.prepareStatement("insert into hit_or_miss values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)");
              ps.setInt(1, nID);
              ps.setString(2, DE);
              ps.setString(3, SI);
              ps.setString(4, TT);
              ps.setBigDecimal(5, NTL);
              ps.setString(6, ST);
              ps.setString(7, CP);
              ps.setString(8, ED);
              ps.setString(9, SD);
              ps.setString(10, MD);
              ps.setString(11, CT);
              ps.setString(12, MRKTR);
              ps.setBigDecimal(13, SC);
              ps.setBigDecimal(14, MP);
              ps.setString(15, CC);
              ps.executeUpdate();
              out.print("<font color=darkblue>The new record has been inserted into the database successfully</font>");
         } else {
              // Do the update via a PreparedStatement
              // First we insert a row into the archive table
                 java.sql.PreparedStatement ps = null;
                    ps = db.prepareStatement("update hit_or_miss set date_entered = getdate(), summit_ID = ?, transaction_type = ?, notional = ?, structure = ?, counterparty = ?, expiry_date = ?, start_date = ?, maturity_date = ?, currency_type = ?, marketer = ?, sales_credit = ?, markup = ?, comments_color = ? where hom_ID ="+CID+" ");
              ps.setString(1, DE);
              ps.setString(2, SI);
              ps.setString(3, TT);
              ps.setBigDecimal(4, NTL);
              ps.setString(5, ST);
              ps.setString(6, CP);
              ps.setString(7, ED);
              ps.setString(8, SD);
              ps.setString(9, MD);
              ps.setString(10, CT);
              ps.setString(11, MRKTR);
              ps.setBigDecimal(12, SC);
              ps.setBigDecimal(13, MP);
              ps.setString(14, CC);
              ps.executeUpdate();
              out.print("<font color=darkblue>This record has been updated successfully</font>");
         }     when CID = 0, what it does is it pops up a new window called "New Record" and in this new window, there are boxes where inputs can be made, so that when u hit submit, it submits into the database.
    What I want to do is, for example, there is a input field called "Marketer" where one can type in his own name as the Marketer, I want make this into a drop down box, where you can pick the marketer, and not have to type it in.
    You know how websies have New User, where you create a new user that is added to their database, and usually the COUNTRY field is a drop down menu where you pick the country from. I would like to do that to my database, and this is the area, or the code, that deal w/ new record "IF CID =0" and edit record "ELSE"
    Is this possible?
    Thanks in Advance

  • No languages visible in drop down menu for spelling under preferences

    My IT department just gave me a new computer and we downloaded a copy of Dreamweaver 4 (we use this version for various reasons although it is old). When I went tot he preferences, under 'General' and 'Spelling Dictionary' the drop down menu is blank and I cannot select anything. The spell checker works but I no longer get the red squiggly line under spelling errors when working on a web page (like you get in a Word document). I don't know how to get this feature back.

    Spell check in DW, at least the built in spell checker, is a manual process with a dialogue pop up that allows you to Ignore, Change, Ignore All or Change All on a word by word basis. There's never been a live red squiggly line like Word, and just about every other program under the sun, as far back as at least DWCS3 (the oldest version I've used).
    You should still have a little over a dozen options in the language drop-down though.
    I'd try clearing the cache/personal config file for the program: Deleting a corrupted cache file
    Then restore preferences if that doesn't work: Restore preferences | Dreamweaver CS4, CS5, CS5.5, CS6

  • I've lost my drop down menu for my back and forward buttons. I use them constantly. How do I add this or is that option gone for good?

    There used to be a drop down menu along side the forward and back buttons so you could skip several pages in between. I couldn't find that as an option to customize that feature back is that option no longer available?

    Hi Emclatchy,
    In Firefox 4 you should be able to get the history drop-down menu by left-clicking on the back button or the forward button and holding the mouse button down for a few seconds.
    Or, you can try installing this add-on:
    https://addons.mozilla.org/en-us/firefox/addon/backforedrop/
    I haven't tried it myself but it is supposed to add the history drop-down indicator back to Firefox 4, same as it was in previous versions.
    Hope that helps,
    --Jono Xia, Mozilla

Maybe you are looking for

  • Slow iMac after Yosemite update

    I have an older iMac that seems to be very slow on start up and sometimes I just get a white page and have to restart. Any ideas how to fix? Thanks

  • I am unable to export pdf to word

    error displayed: file failed to be converted using adobe exportpdf online

  • Migrated away and BT still charging for broadband!...

    Title says it all really. We applied for our MAC via the BT website and handed it to the new bb supplier who took it up and started our new BB on the 2nd August 2012. Then last week (3 weeks later) the normal BT phone bill is still showing the BB cha

  • Connect Selected End Point Question

    Hi everyone: I am trying to connect selected end points. I have drawn my open path and Illustrator is not letting me select my two anchor points. I keep getting selections of the entire path. So, of course, the connect selected end points icon is gre

  • Ipfw in Leopard 10.5.2

    I don't get it, it just doesn't work with GUI in System Preferences--Security-Firewall. So, everyone should be at least unix sys admin. Please give it back all Firewall settings in GUI that MacOS X 10.4 had. You made 10.5 firewall GUI is easy but it'