Q: Another jsp drop-down menu problem+propeblem with savng button

Well i have many problems:
Starters i use eclipse with tomcat and postgres. I have to create a jsp page that shows some data directly from database.
This is what i have so far:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import="property.core.Property"  %>
<jsp:useBean id="PropertyDAO" scope="page" class="property.dao.PropertyDAO" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Vaata Vara</title>
</head>
<body>
<script>
function salvesta(){
document.forms[0].mida_teha.value='salvestada' ; //salvesta=save and mida_teha=action
document.forms[0].submit();
</script>
<input type='hidden' name='mida_teha' value='<%=request.getParameter("mida_teha") %>'>
<form action='pg?mode=vaata_vara' method=POST>
<input type='hidden' name='property' value='<%=request.getParameter("property") %>'>
Valitud vara: <br>
<% if((request.getParameter("property"))!=null){
int property = Integer.valueOf(request.getParameter("property")).intValue();//
String property_type="";
String property_name ="";
String property_created = "" ;
String property_created_by ="" ;
String property_updated = "" ;
String property_updated_by ="" ;
property.core.Property my_property ;
if (request.getParameter("mida_teha") != null){
     my_property = PropertyDAO.GetProperty_fromDB(property);
     my_property.setProperty_name(request.getParameter("property_name"));
     my_property.setProperty_updated(request.getParameter("property_updated"));
     //my_property.getProperty_updated_by(request.getParameter("property_updated_by"));
     PropertyDAO.UpdateProperty_to_DB(my_property);
out.println("<table border=1 cellpadding=0 cellspacing=0><tr><td><table"+
          "width=100% border=1 cellpadding=2 cellspacing=1>");
if ((my_property = PropertyDAO.GetProperty_fromDB(property)) != null){
     property= my_property.getProperty() ;
    property_type = my_property.getProperty_type() ;
        property_name = my_property.getProperty_name() ;
    property_created = my_property.getProperty_created() ;
    property_created_by= my_property.getProperty_created_by() ;
    property_updated = my_property.getProperty_updated() ;
    property_updated_by= my_property.getProperty_updated_by() ;
     out.println("<TR BGCOLOR='#ffffff'><TD BGCOLOR='#cccccc' nowrap>ID</td><td> " + property + " </TD></tr>");
     out.println("<TR BGCOLOR='#ffffff'><TD BGCOLOR='#cccccc' nowrap>Tyyp</td><td> <SELECT ><OPTION value="+my_property.getProperty_name()+" 'name='property_type'>"+property_type+"</OPTION></SELECT> </TD></tr>");
     out.println("<TR BGCOLOR='#ffffff'><TD BGCOLOR='#cccccc' nowrap>Nimetus</td><td> <b><font color='#0000ff'><input type='text' value='"+ property_name + "' name='name'></font></b></TD></tr>");
     out.println("<TR BGCOLOR='#ffffff'><TD BGCOLOR='#cccccc' nowrap>Loodud</td><td> "+ property_created + " </TD></tr>");
     out.println("<TR BGCOLOR='#ffffff'><TD BGCOLOR='#cccccc' nowrap>Looja</td><td> " + property_created_by + " </TD></tr>");     
     out.println("<TR BGCOLOR='#ffffff'><TD BGCOLOR='#cccccc' nowrap>Uuendatud</td><td> <b><font color='#0000ff'><input type='text' value='"+ property_updated + "' name='updated'></font></b></TD></tr>");
     out.println("<TR BGCOLOR='#ffffff'><TD BGCOLOR='#cccccc' nowrap>Uuendaja</td><td> " + property_updated_by + " </TD></tr>");     
out.println("</table></td></tr></table>");
%>
<input type="button" value="muuda vara" onClick="muuda_vara()">
<input type="button" value="salvesta" onClick="salvesta()">
</form>
</body>
</html>The problem is that i have no clue(allthough i have chekced the forums for help and experimented and i still could not make it work) how to make a dropdown menu for out.println("<TR BGCOLOR='#ffffff'><TD BGCOLOR='#cccccc' nowrap>Tyyp</td><td> <SELECT ><OPTION value="+my_property.getProperty_name()+" 'name='property_type'>"+property_type+"</OPTION></SELECT> </TD></tr>"); this. I have tryed http://forum.java.sun.com/thread.jspa?forumID=45&threadID=5241837 this page and that messes my "" up. If anyone can give me any tips how to integrate that code what is posted in the link to mine please let me know.
Second problem is that when i push the save button, then i get a runtime error and a joyce to i want to debug or not. And as well in the example which i got from the teacher works just fine.
     //my_property.getProperty_updated_by(request.getParameter("property_updated_by")); this without the // get the not aplicable error as well(that in my other class file which is linked to this jsp the parameter is not aplicable). i managed to make in other jsp problem identical problem go away by adding a declaration of string and adding that string into the getParameter and this case everything should be okei, but it is not :(
Anyway property.jsp uses property.java to get the getParameter and setParameter, PropertyDAO is the database stuff (connecting to database, getting data from the database).
To be on the safe side i will add my propertyDAO.java
package property.dao;
import java.sql.* ;
import property.core.Property ;
import property.log.MyLogger ;
import java.util.*;
public class PropertyDAO {
    private int propertycount ;
    ResultSet VaraHulk ;
    String sql ;
    String url = "jdbc:postgresql://localhost/database";
    String usr = "";
    String pwd = "";
    Connection db ;     
    Statement  st ;
    Property [] VaraMassiiv  ;
    Property Current_Property ;
  public PropertyDAO(){
       try{
               ResourceBundle bundle = ResourceBundle.getBundle("DBConnection");
                this.url = bundle.getString("URL");
                this.usr = bundle.getString("usr");
                this.pwd = bundle.getString("pwd");
                Class.forName(bundle.getString("Driver"));
       }catch(Exception ex){
            MyLogger MyLogger = new MyLogger();
           MyLogger.Log("dao.propertyDAO():",ex.getMessage());
       public Property [] getProperty_fromDB(){
            try{
                 this.db = DriverManager.getConnection(this.url, this.usr, this.pwd);
                 this.st = this.db.createStatement();
                sql = "select count(*) as varade_arv from property" ;
                VaraHulk = this.st.executeQuery(sql);
                while(VaraHulk.next()){
                     this.propertycount = VaraHulk.getInt("varade_arv");
                sql = "select property, property_type.name AS property_type, property.name AS property_name, " +
                          "property.created AS property_created, employee.first_name "+
              "AS property_created_by, property.updated AS property_updated,employee.first_name AS property_updated_by" +
              " from property, property_type, employee where property_type."+
              "property_type=property.property_type and property.created_by=employee.employee ORDER by property" ;
                VaraHulk = this.st.executeQuery(sql);
                VaraMassiiv = new Property[this.propertycount];
                int cnt = 0;
                while(VaraHulk.next()){
                     Current_Property = new Property();   
                     Current_Property.setProperty(VaraHulk.getInt("property"));
                     Current_Property.setProperty_type(VaraHulk.getString("property_type"));
                  Current_Property.setProperty_name(VaraHulk.getString("property_name"));
                  System.out.println("getProperty_name:" + Current_Property.getProperty_name() );
                  Current_Property.setProperty_created(VaraHulk.getString("property_created"));
                  System.out.println("getProperty_created:" + Current_Property.getProperty_created() );
                  Current_Property.setProperty_created_by(VaraHulk.getString("property_created_by"));
                  System.out.println("getProperty_created_by:" + Current_Property.getProperty_created_by() );
                  Current_Property.setProperty_updated(VaraHulk.getString("property_updated"));
                  System.out.println("getProperty_updated:" + Current_Property.getProperty_updated() );
                  Current_Property.setProperty_updated_by(VaraHulk.getString("property_updated_by"));
                  System.out.println("getProperty_updated_by:" + Current_Property.getProperty_updated_by() );
                  VaraMassiiv[cnt] = Current_Property ;
                  cnt =  cnt + 1;
                   this.db.close();
            }catch(Exception ex){
                 MyLogger MyLogger = new MyLogger();
                MyLogger.Log("property.getProperty_fromDB():",ex.getMessage());
            return VaraMassiiv;
       public Property GetProperty_fromDB(int property){
            try{
                 this.db = DriverManager.getConnection(this.url, this.usr, this.pwd);
                this.propertycount = 0;
                this.st = this.db.createStatement();
                sql = "select property, property_type.name AS property_type, property.name AS property_name, property.created AS property_created, employee.first_name "+
              "AS property_created_by,property.updated AS property_updated, employee.first_name AS property_updated_by" +
              " from property, property_type, employee where property_type."+
              "property_type=property.property_type and property.created_by=employee.employee and property.property =" + Integer.toString(property) ;
                VaraHulk = this.st.executeQuery(sql);
                while(VaraHulk.next()){
                     Current_Property = new Property();
                  Current_Property.setProperty(VaraHulk.getInt("property"));
                  Current_Property.setProperty_type(VaraHulk.getString("property_type"));
                  Current_Property.setProperty_name(VaraHulk.getString("property_name"));
                  System.out.println("getProperty_name:" + Current_Property.getProperty_name() );
                  Current_Property.setProperty_created(VaraHulk.getString("property_created"));
                  System.out.println("getProperty_created:" + Current_Property.getProperty_created() );
                  Current_Property.setProperty_created_by(VaraHulk.getString("property_created_by"));
                  System.out.println("getProperty_created_by:" + Current_Property.getProperty_created_by() );
                  Current_Property.setProperty_updated(VaraHulk.getString("property_updated"));
                  System.out.println("getProperty_updated:" + Current_Property.getProperty_updated() );
                  Current_Property.setProperty_updated_by(VaraHulk.getString("property_updated_by"));
                  System.out.println("getProperty_updated_by:" + Current_Property.getProperty_updated_by() );
                  this.propertycount =   this.propertycount + 1;
                this.db.close();
            } catch(Exception ex){
                 MyLogger MyLogger = new MyLogger();
                MyLogger.Log("PropertyDAO.GetProperty_fromDB():",ex.getMessage());
            return Current_Property ;
      public void UpdateProperty_to_DB (Property updated_property){
            try{
                 this.db = DriverManager.getConnection(this.url, this.usr, this.pwd);
                 this.st = this.db.createStatement();
                 int stmtInt = this.st.executeUpdate("update property set property_type='" + updated_property.getProperty_type() +
                           "',name=" +  updated_property.getProperty_name() + ",created=" + updated_property.getProperty_created() +
                           ",'created_by='" + updated_property.getProperty_created_by() +  ",updated="+updated_property.getProperty_updated()+
                           ",updated_by="+updated_property.getProperty_updated_by()+
                           "' where property=" + Integer.toString(updated_property.getProperty() ));
                 this.db.close(); 
            }catch(Exception ex){
                    MyLogger MyLogger = new MyLogger();
                    MyLogger.Log("PropertyDAO.UpdateProperty_to_DB():",ex.getMessage());
       public void finalize(){
             try{
               System.out.println("finalize");
              }catch(Exception ex){ 
                MyLogger MyLogger = new MyLogger();
                MyLogger.Log("PropertyDAO.finalize():",ex.getMessage());
}Property.java
package property.core;
import property.log.MyLogger ;
public class Property {
    //private int propertycount ;
    private int property ;
    //private int current_property ;
    private String property_type ;
    private String property_name ;
    private String property_created ;
    private String property_created_by;
    private String property_updated_by;
    private String property_updated;
    public Property(){
         try{
         }catch(Exception ex){
               MyLogger MyLogger = new MyLogger();
               MyLogger.Log("core.Property():",ex.getMessage());
    public void setProperty (int property){
         this.property = property;
    public void setProperty_type (String property_type){
         this.property_type = property_type;
    public void setProperty_name (String property_name){
         this.property_name = property_name;
    public void setProperty_created ( String property_created){
         this.property_created = property_created;
    public void setProperty_created_by (String property_created_by){
         this.property_created_by = property_created_by;
    public void setProperty_updated ( String property_updated){
         this.property_updated = property_updated;
    public void setProperty_updated_by (String property_updated_by){
         this.property_updated_by = property_updated_by;
    public int getProperty () {
         return this.property ;
    public String getProperty_type () {
         return this.property_type ;
    public String getProperty_name () {
         return this.property_name ;
    public String getProperty_created () {
         return this.property_created;
    public String getProperty_created_by () {
         return this.property_created_by;
    public String getProperty_updated () {
         return this.property_updated;
    public String getProperty_updated_by () {
         return this.property_updated_by;
    public void finalize(){
         try{
              System.out.println("finalize");
         }catch (Exception ex){
               MyLogger MyLogger = new MyLogger();
               MyLogger.Log("core.Property():",ex.getMessage());
}(well it took me 3 days to get the code to work that much as it does anyways)
hope someone here can help
Edited by: kohuke on May 30, 2008 11:27 AM
Added few codes that is connected with the current jsp page

are you sure your stop() are in the right place??
eg.. on the last frame of the onRollOver animation??
also... why have you got on(releaseOutside); ???
onRollOut will suffice.

Similar Messages

  • Execute option missing from JSP drop down menu

    I'm going through a Java Web Development class and trying to produce a small web app through Sun Java Studio Enterprise 7 2004Q4. I have two servlets, a couple of classes and two JSPs. At seemingly random times the "Execute" and "Execute (force reload)" options from the drop down menu you get when you right click a JSP fails to show up. It isn't grayed out, it just isn't there. Most of the time these options are there. And they can be there one time and then for the same project, same set of JSPs everything, they just disappear.
    Can anyone tell me what dumb thing I'm doing to cause this?
    And can anyone tell me how to fix it once I've done it?
    Thanks
    DR Crowley

    First of all thank you for all the time you are spending on this. Believe me I know how frustrating it can be to figure out what is happening when you can't reproduce the problem.
    On to your questions: I am running Windows XP Professional. I have checked and made sure that the extension is still .jsp and that it isn't changing. No I don't have the IDE set up to show extensions, however the icon beside the file is the jsp icon and when I go to Windows explorer (where I do have it set to show known extensions) it is a .jsp file and does not have the ever exasperating hidden extension that windows is infamous for. Sun Studio seems to recognize the file as a proper jsp (due to the icon).
    As to your further questions. I am executing it by right clicking on the jsp file itself. And the jsp file is in the documents folder not in the web/inf folder.
    At this point we are out of the class and it isn't nearly as important that I get an fix. We (our company) will probably not do jsp files and servlets thourgh Sun Java Studio Enterprsise. Instead we are looking at using Sun Java Studio Creater to do the view layer.
    Thanks for all your help and the time you took to try to figure this out.

  • Drop down menu problem IE7

    I have a small problem, don't know if you can help at all. I have have upgraded to the latest version of spry and created my spry menu in Dreamweaver CS3. It works great in firefox, but in IE7 the drop down menu jumps up to the top of the browser window, instead of below the menu bar.
    When I check using the browser compatibility function in CS3, I get a message "Expanding Box Problem" with the following lines of code highlighted:
    <ul>
              <li><a href="testimonials extra.html">Extra</a></li>
              <li><a href="testimonials defender.html">Defender II</a></li>
            </ul>
    Here is link to the site, so you can take a look
    http://www.efptproducts.com/
    Any ideas or help would be greatly appreciated ?
    regards,
    Bill

    Hi again,
    Not sure if you need it, but following is the spry css file code:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - Revision: Spry Preview Release 1.4 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin
    or padding */
    ul.MenuBarHorizontal
    /* Set the active Menu Bar with this class, currently setting z-index to
    accomodate IE rendering bug:
    http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
         z-index: 1000;
         height: 33px;
         font-family: Trebuchet, "Trebuchet MS", sans-serif;
         color: #FFFF00;
         font-weight: bold;
    /* Menu item containers, position children relative to this container and
    are a fixed width */
    ul.MenuBarHorizontal li
    /* Submenus should appear below their parent (top: 0) with a higher z-index,
    but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we
    set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    /* Submenus should appear slightly overlapping to the right (95%) and up
    (-5%) */
    ul.MenuBarHorizontal ul ul
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we
    set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    /* Menu items that have mouse over or focus have a blue background and white
    text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    /* Menu items that are open with submenus are set to MenuBarItemHover with a
    blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal
    a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
         background-color: #33C;
         color: #333333;
         font-family: Trebuchet, "Trebuchet MS", sans-serif;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation
    MenuBarItemSubmenu and are set to use a background image positioned on the
    far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
         background-image: url(../images/MB%20Dark%20Thin.jpg);
         background-repeat: repeat-x;
         background-position: 95% 50%;
         font-family: Trebuchet, "Trebuchet MS", sans-serif;
         font-size: 14px;
         font-style: normal;
         font-weight: bold;
         color: #FFFF00;
    /* Menu items that have a submenu have the class designation
    MenuBarItemSubmenu and are set to use a background image positioned on the
    far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
         background-image: url(../images/MB%20Light%20Thin.jpg);
         background-repeat: repeat-x;
         background-position: 95% 50%;
         font-family: Trebuchet, "Trebuchet MS", sans-serif;
         font-size: 14px;
         font-style: normal;
         font-weight: bold;
         color: #000000;
         width: 120px;
    /* Menu items that are open with submenus have the class designation
    MenuBarItemSubmenuHover and are set to use a "hover" background image
    positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
         background-image: url(../images/MB%20Light%20Thin.jpg);
         background-repeat: repeat-x;
         background-position: 95% 50%;
         font-family: Trebuchet, "Trebuchet MS", sans-serif;
         font-size: 14px;
         font-style: normal;
         font-weight: bold;
         color: #000000;
    /* Menu items that are open with submenus have the class designation
    MenuBarItemSubmenuHover and are set to use a "hover" background image
    positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
         background-image: url(../images/MB%20Light%20Thin.jpg);
         background-repeat: no-repeat;
         background-position: 95% 50%;
         font-family: Trebuchet, "Trebuchet MS", sans-serif;
         font-size: 14px;
         font-style: normal;
         font-weight: bold;
         color: #000000;
    BROWSER HACKS: the hacks below should not be changed unless you are an
    expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we
    underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is
    to keep IE 5.0 from parsing */
    @media screen, projection
         ul.MenuBarHorizontal li.MenuBarItemIE
         display: inline;
         f\loat: left;
         background: #FFF;
         font-family: Trebuchet, "Trebuchet MS", sans-serif;

  • Serial resourse name drop down menu problem in built versions of software.

    Hi,
    I have developed Labview programs to test new PCBs as they come off the production line, by stimulating the PCBs via RS232 serial.  These programs work well on my development PC, and have been built as appilcations with installer ready to be transferred to the test PC, so our production department can use them.  The problem is that when I install the built applications onto the production PC, the serial resource name selection drop down menu is grayed out and disabled.  This stops anyone from being able to select the correct serial port.
    I am using Labview 6.1, Windows XP.
    Regards,
    Wardo.

    My first guess is that you have not installed VISA on the target machine.
    See the link below: -
    http://search.ni.com/nisearch/nisearchservlet?nist​ype=default&ddown=2&filter=%2Btaxonomy:%22Drivers+​And+Updates%22&q=visa+windows
    My second is that there is no serial port.

  • Fireworks drop down menu problem in explorer 7 help

    I created a fireworks drop down menu for my website which
    usually shows the 'up' label, in this case January, February etc
    once activated, but now this only shows when the mouse moves over
    it and then the 'down' state shows correctly. Has anyone
    experienced this problem and if so can you offer a solution? The
    drop down is at
    http://www.laserbattlefield.co.uk/index.html
    and its the photo gallery label which has the drop down.
    Thanks.

    Debbie
    Welcome to the Apple Discussions.
    when I attempt to use these programs, and I choose a drop down menu from the top title bar, a lot of the options on the menus are in gray, and they do not work. Does this mean the only give you the preview of the program?
    No Debbie you have the full version. However, if these options and commands are not available (are gray) then it means that the objects the operate on are not selected. So, in iPhoto for instance, under the File menu, I cannot ‘Edit a Smart Album’ unless I have selected a Smart Album first. I cannot create an Event unless I have selected a photo to make that Event with, and so on.
    If you’re new to Macs check out here: http://www.apple.com/support/mac101/
    If you’ve switched from Windows, check out here: http://www.apple.com/support/switch101/
    For help with the iLIfe applications specifically: http://www.apple.com/ilife/tutorials/#iphoto
    Regards
    TD

  • Drop Down Menu Problems

    Hello all
    I have a webpage with a separate Css. File, I am trying to use a basic drop down menu but struggling!
    I have used one these free menu generators which looks exactly how I want, it them gives me a code in HTML & CSS and I down know where I copy and paste it into!, I have tried several times but fails to work.
    can anyone help me?

    Hello
    sorry I thought I attached it. please see below...
    its from where it says homepage (in bold)
    HTML PAGE CODE:
    <head>
    <meta name="description" content="Ultra Finish have over 10 years experience in Valeting & Detailing based in Milton Keynes, Buckinghamshire." />
    <meta name="keywords" content="Ultra, Finish, UltraFinish, UltraFinish.co.uk, Valet, Valeting, Detail, Detailing, Milton Keynes, Cars, Car, Van, Vans, Vehicles" />
    <title>Ultra Finish Valeting &amp; Detailing Services</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="style.css" />
    <style type="text/css">
    <!--
    .style3 {font-size: 18px}
    body {
    margin-top: 0px;
    margin-bottom: 0px;
    #apDiv1 {
    position:absolute;
    width:866px;
    height:29px;
    z-index:1;
    top: 19px;
    left: 58px;
    .style13 {
    font-size: 18px;
    font-style: italic;
    color: #333333;
    .style16 {font-family: Arial, Helvetica, sans-serif}
    .style20 {
    font-size: 18px;
    color: #2C2B2B;
    font-family: Arial, Helvetica, sans-serif;
    .style21 {font-size: 24px}
    .style26 {
    color: #999999;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 24px;
    .style29 {
    color: #999999;
    font-size: 24px;
    .style33 {
    font-size: 24px;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-weight: bold;
    .style38 {color: #333333; font-family: Arial, Helvetica, sans-serif; font-style: italic; font-size: 24px;}
    .style42 {
    font-size: 16px;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    .style51 {
    font-size: 18px;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    .style52 {
    font-size: 18px;
    color: #333333;
    .style60 {
    font-style: italic;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    .style61 {font-size: 16px}
    -->
    </style>
    </head>
    <body>
    <div id="wrapper">
    <div id="header">
      <div id="slogan">
        <h2 align="center"><span class="style26 style3"> Based in Milton Keynes, Buckinghamshire<br />
        </span><span class="style29 style21">Tel: 07511 567 320</span></h2>
        <h2 align="center"><span class="style29 style3">Email Us: <a href="mailto: [email protected]">Contact @UltraFinish.co.uk</a></span><span class="style3"><br />
            <a href="https://www.facebook.com/UltraFinishCarValetingandDetailingServices"><img src="images/FacebookLogo.gif" alt="Our Facebook Page" width="105" height="35" border="0" longdesc="https://www.facebook.com/UltraFinishCarValetingandDetailingServices" /></a><br />
        </span></h2>
        <h2><span class="style3"><br />
        </span></h2>
      </div>
    </div>
    <div id="menu">
    <ul class="style16">
       <li class="first current_page_item">
         <div align="center"><a href="index.html">Homepage</a></div>
       </li>
           <li></li>
        </ul>
      </div>
    <div id="splashIndex">
      <div align="center">
        <p><span class="style33">Our Website Is Currently Undergoing Maintenance<br />
          Business Is Open As Usual! <br />
        </span><span class="style38"><span class="style61">Ultra Finish have over 10 years experience in Valeting &amp; Detailing,<br />
          using some of the  best methods and products on the market to date
          so we always guarantee
          a good  quality finish,
          every ounce of care is taken on every vehicle whether it be a
          Renault Clio or a Lamborghini Gallardo,<br />
          all cars are treated as
          if they were  our own and in most cases spending anything from 4-5+ hours for a complete  valet.<br />
          <br />
          Here at Ultra Finish we aim to exceed expectations and  standards of every customer<br />
          with more than just a sponge and a little bit of car  shampoo.</span></span></p>
        <p class="style42">Ultra Finish know that a product that works well on one car  may not work well on another<br />
          by using a variety of different products, brands and methods  we always aim to give best results and give<br />
          you for reflection that your car deserves!</p>
        <p align="center" class="style20 style21"><span class="style13"><strong>For Any Quotes Or Other Information Please Call</strong> <br />
            <strong>Stuart Chambers - 07511 567 320</strong></span><span class="style52"><br />
            <span class="style60">Alternatively Visit Our Facebook Page Below</span></span><span class="style51"><br />
            <strong><a href="https://www.facebook.com/UltraFinishCarValetingandDetailingServices">Ultra Finish Valeting &amp; Detailing Services</a></strong></span><span class="style3"><br />
          </span></p>
        </div>
    </div>
    <div id="page-bottom">
      <div id="apDiv1">
        <div align="center">Copyright (c) 2015  All rights reserved</div>
      </div>
    </div>
    </div>
    </body>
    </html>
    CSS CODE:
    margin: 0;
    padding: 0;
    a {
    text-decoration: underline;
    color: #0F8C8C;
    a:hover {
    text-decoration: none;
    body {
    font-size: 11.5pt;
    color: #5C5B5B;
    line-height: 1.75em;
    background: #E0DCDC url(images/img01.gif) repeat-x top left;
    body,input {
    font-family: Georgia, serif;
    strong {
    color: #2C2B2B;
    br.clearfix {
    clear: both;
    h1,h2,h3,h4 {
    font-weight: normal;
    letter-spacing: -1px;
    h2 {
    font-size: 2.25em;
    h2,h3,h4 {
    color: #2C2B2B;
    margin-bottom: 1em;
    h3 {
    font-size: 1.75em;
    h4 {
    font-size: 1.5em;
    img.alignleft {
    margin: 5px 20px 20px 0;
    float: left;
    img.aligntop {
    margin: 5px 0 20px 0;
    img.pic {
    padding: 5px;
    border: solid 1px #D4D4D4;
    p {
    margin-bottom: 1.5em;
    ul {
    margin-bottom: 1.5em;
    ul h4 {
    margin-bottom: 0.35em;
    .box {
    overflow: hidden;
    margin-bottom: 1em;
    .date {
    background: #6E6E6E;
    padding: 5px 6px 5px 6px;
    margin: 0 6px 0 0;
    color: #FFFFFF;
    font-size: 0.8em;
    border-radius: 2px;
    #content {
    width: 665px;
    float: left;
    padding: 0;
    #content-box1 {
    width: 320px;
    float: left;
    #content-box2 {
    margin: 0 0 0 345px;
    width: 320px;
    #footer {
    margin: 40px 0 120px 0;
    text-align: center;
    color: #8C8B8B;
    #footer a {
    color: #8C8B8B;
    #header {
    height: 60px;
    position: relative;
    background: #6E6E6E url(images/img03.jpg) top left no-repeat;
    padding: 45px;
    color: #FFFFFF;
    width: 888px;
    border: solid 1px #7E7E7E;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden;
    background-image: url(images/Banner.jpg);
    #logo {
    line-height: 160px;
    height: 162px;
    padding: 5px 0 0 0;
    position: absolute;
    top: 0px;
    left: 4px;
    width: 527px;
    #logo a {
    text-decoration: none;
    color: #FFFFFF;
    text-shadow: 0 1px 1px #3E3E3E;
    #logo h1 {
    font-size: 3.25em;
    #Menu2 {
    line-height: 16px;
    height: 15px;
    padding: 5px 0 0 0;
    position: absolute;
    right: 1162px;
    top: 83px;
    z-index:1;
    #slogan {
    line-height: normal;
    height: 147px;
    padding: 5px 0 0 0;
    position: absolute;
    right: 253px;
    top: 2px;
    width: 420px;
    #slogan h2 {
    color: #BEBEBE;
    font-size: 1.25em;
    text-shadow: 0 1px 1px #3E3E3E;
    #menu {
    position: relative;
    margin: 0;
    height: 30px;
    line-height: 30px;
    width: auto;
    border-top: solid 1px #5AD7D7;
    text-shadow: 0 1px 1px #007D7D;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 25px;
    background-color: #FFFFFF;
    background-image: url(images/img02.gif);
    background-repeat: repeat-x;
    background-position: center;
    #menuBodyworkServices {
    position: relative;
    margin: 0;
    height: 60px;
    line-height: 60px;
    width: auto;
    border-top: solid 1px #5AD7D7;
    text-shadow: 0 1px 1px #007D7D;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 25px;
    background-color: #FFFFFF;
    background-image: url(images/img02.gif);
    background-repeat: repeat-x;
    background-position: left top;
    #menu a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 1.20em;
    letter-spacing: -1px;
    #menu ul {
    list-style: none;
    #menu ul li {
    padding: 0 20px 0 20px;
    display: inline;
    #menu ul li.first {
    padding-left: 0;
    #page {
    padding: 45px 45px 15px 45px;
    position: relative;
    width: 890px;
    margin: 0;
    #page .section-list {
    list-style: none;
    padding-left: 0;
    #page .section-list li {
    clear: both;
    padding: 30px 0 30px 0;
    #page ul {
    list-style: none;
    #page ul li {
    border-top: solid 1px #D4D4D4;
    padding: 15px 0 15px 0;
    #page ul li.first {
    padding-top: 0;
    border-top: 0;
    #page-bottom {
    position: relative;
    margin: 0;
    background: #6E6E6E url(images/img03.jpg) top left no-repeat;
    border: solid 1px #7E7E7E;
    width: 888px;
    padding: 45px 45px 0 45px;
    color: #DCDCDC;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-image: url(images/img04.jpg);
    height: 5px;
    background-color: #000000;
    #page-bottom a {
    color: #F5F5F5;
    #page-bottom h2, #page-bottom h3, #page-bottom h4 {
    color: #FFFFFF;
    #page-bottom ul {
    list-style: none;
    #page-bottom ul li {
    border-top: solid 1px #8F8F8F;
    padding: 15px 0 15px 0;
    #page-bottom ul li.first {
    padding-top: 0;
    border-top: 0;
    #page-bottom-content {
    width: 665px;
    float: left;
    #page-bottom-sidebar {
    width: 200px;
    margin: 0 0 0 690px;
    #search input.form-submit {
    margin-left: 1em;
    color: #FFFFFF;
    padding: 10px;
    background: #2FACAC;
    border: 0;
    #search input.form-text {
    border: solid 1px #8F8F8F;
    padding: 10px;
    #sidebar {
    width: 200px;
    padding: 0;
    margin: 0 0 0 690px;
    #splashIndex {
    margin: 0;
    height: 540px;
    position: relative;
    width: 890px;
    background-color: #FFFFFF;
    background-image: url(images/Photo Index-1.jpg);
    background-image: url(images/Photo%20Index-1.jpg);
    padding-top: 5px;
    padding-right: 45px;
    padding-bottom: 10px;
    padding-left: 45px;
    #splashWheelRefurb {
    margin: 0;
    height: 500px;
    position: relative;
    width: 890px;
    background-color: #FFFFFF;
    background-image: url(images/Photo WheelRefub-1.jpg);
    background-image: url(images/Photo%20WheelRefub-1.jpg);
    padding-top: 45px;
    padding-right: 45px;
    padding-bottom: 10px;
    padding-left: 45px;
    #splashBodyworkServices {
    margin: 0;
    height: 500px;
    position: relative;
    width: 890px;
    background-color: #FFFFFF;
    background-image: url(images/Photo BodyworkServices-1.jpg);
    background-image: url(images/Photo%20BodyworkServices-1.jpg);
    padding-top: 45px;
    padding-right: 45px;
    padding-bottom: 10px;
    padding-left: 45px;
    #splashAirRideHydro {
    margin: 0;
    height: 500px;
    position: relative;
    width: 890px;
    background-color: #FFFFFF;
    background-image: url(images/Photo AirRideHydro-1.jpg);
    background-image: url(images/Photo%20AirRideHydro-1.jpg);
    padding-top: 45px;
    padding-right: 45px;
    padding-bottom: 10px;
    padding-left: 45px;
    #splashCarAudio {
    margin: 0;
    height: 500px;
    position: relative;
    width: 890px;
    background-color: #FFFFFF;
    background-image: url(images/Photo CarAudio-1.jpg);
    background-image: url(images/Photo%20CarAudio-1.jpg);
    padding-top: 45px;
    padding-right: 45px;
    padding-bottom: 10px;
    padding-left: 45px;
    #splashTestimonials {
    margin: 0;
    height: 500px;
    position: relative;
    width: 890px;
    background-color: #FFFFFF;
    background-image: url(images/Photo Testimonials-1.jpg);
    background-image: url(images/Photo%20Testimonials-1.jpg);
    padding-top: 45px;
    padding-right: 45px;
    padding-bottom: 10px;
    padding-left: 45px;
    #splashBodyworkDamage {
    margin: 0;
    height: 500px;
    position: relative;
    width: 890px;
    background-color: #FFFFFF;
    background-image: url(images/Photo BodyworkDamage-1.jpg);
    background-image: url(images/Photo%20BodyworkDamage-1.jpg);
    padding-top: 45px;
    padding-right: 45px;
    padding-bottom: 10px;
    padding-left: 45px;
    #splashFullRestore {
    margin: 0;
    height: 500px;
    position: relative;
    width: 890px;
    background-color: #FFFFFF;
    background-image: url(images/Photo FullRestore-1.jpg);
    background-image: url(images/Photo%20FullRestore-1.jpg);
    padding-top: 45px;
    padding-right: 45px;
    padding-bottom: 10px;
    padding-left: 45px;
    #splashBodyworkCustom {
    margin: 0;
    height: 500px;
    position: relative;
    width: 890px;
    background-color: #FFFFFF;
    background-image: url(images/Photo BodyworkCustom-1.jpg);
    background-image: url(images/Photo%20BodyworkCustom-1.jpg);
    padding-top: 45px;
    padding-right: 45px;
    padding-bottom: 10px;
    padding-left: 45px;
    #PictureGallery {
    margin: 0;
    height: 1125px;
    position: relative;
    width: 890px;
    background-color: #C0C0C0;
    padding-top: 45px;
    padding-right: 45px;
    padding-bottom: 10px;
    padding-left: 45px;
    #splash .pic {
    padding: 9px;
    #wrapper {
    position: relative;
    width: 980px;
    margin: 15px auto 0 auto;
    background: #FFFFFF;
    height: 0;

  • CSS Drop Down Menu Problem (only in IE)

    Hi Folks,
    I have just added a new drop down menu and it seems to work perfectly in every other browser except IE.
    In IE the cursor makes the next menu item along drop down and not the one that's hovered over.
    I have removed the jquery script and the same problem occurs, so I reckon it must be a CSS problem. Here's the CSS code in case anyone has any ideas what the problem is.
    Any suggestions would be hugely appreciated cos I can't figure it out .
    Cheers
    Dave
    /*Navigation Menu Style*/
    #topmenu{
    #topmenu #nav, #nav ul{
    font-size:10.5px;
    font-weight:bold;
    margin:0;
    list-style-type:none;
    list-style-positionutside;
    position:relative;
    line-height:35px;
    background-color:#006699;
    width:100%;
    text-align:left;
    #topmenu #nav a{
    display:block;
    padding:0px 5px 0px 10px;
    width:145px;
    border-left-color:#006699;
    background-color:#006699;
    color:#fff;
    text-decoration:none;
    text-transform:uppercase;
    #topmenu #nav a:hover{
    color:#CFF;
    #topmenu #nav li{
    float:left;
    position:relative;
    #topmenu #nav ul {
    position:absolute;
    display:none;
    width:160px;
    top:35px;
    #topmenu #nav li ul{
    /*padding-bottom:20px;*/
    #topmenu #nav li ul a{
    width:180px;
    height:35px;
    float:left;
    text-transform:capitalize;
    #topmenu #nav li ul a:hover{
    text-decoration:underline;
    #topmenu #nav ul ul{
    top:auto;
    #topmenu #nav li ul ul {
    left:180px;
    margin:0px 0px 0px 10px;
    #topmenu #nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
    display:none;
    #topmenu #nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
    display:block;
    /*Navigation Menu Style Ends */

    I think that is fine but it did get converted to a smiley face you are right. This is how it looks
    #topmenu #nav, #nav ul{
    font-size:10.5px;
    font-weight:bold;
    margin:0;
    list-style-type:none;
    list-style-position:outside;
    position:relative;
    line-height:35px;
    background-color:#006699;
    width:100%;
    text-align:left;
    it's all on a local set up right non but I will try to pop it up and post a link.
    The symptoms are easy to describe though. When you hover over a top level menu item, the list drops down under the link directly to the right.The positioning isn't random, it is exactly in line, just under the wrong heading.
    In every other browser it seems to be fine.

  • [JS][CS3] Drop down menu problem

    Hi
    I am trying to use a drop down menu inone of my dialogs.  The emnu is showing, but i cannot select it.
    myDialog = new Window ('dialog', 'Name',[50,50,350,370]);
    myDialog.frameLocation = [300,200];
    var myListItems = ["One","Two","Three"];
    var myList = myDialog.add('dropdownlist',undefined,myListItems);
    myList.selection = 1;
    myList.bounds = [20,200,100,20];
    myDialog.show();
    Any ideas where I cam going wrong?
    It seems to be when I am entering the bounds of the list, but I do need to place this list carefully.
    Roy

    Harbs. wrote:
    Or Rapid ScriptUI...
    http://www.scriptui.com/
    Harbs
    Thanks for the plug...
    I was really trying hard not to advertise, but rather to advocate the correct way to use ScriptUI.
    However once it was brought up let me just say a word. Most apps that automatically create dialogs will use co-ordinates and bounds, overriding the default layout manager. In that Rapid ScriptUI is different, since it shows you how to manipulate position of elements without using layout manager.
    The $2 script, while still existing, is a really old version of the library, however the professional version is extremely capable and outputs code which is really easy to understand and edit if necessary.
    I did not realize that some countries don't allow paypal. But if its an issue, contact me via prvt or contact page on scriptui.com and we could try to work something out.
    Steven Bryant
    http://scriptui.com

  • Selection Box and some repeats in drop down menu problems, please help

    Hello,
    I'm not quite sure what i have managed to turn on but everytime i click anything on my mac it gets a black box around it... I have no idea how to turn it off... can someone help me?
    Also my restart, Log out and Shut down seem to be repeating themselves in my apple drop down menu... is the normal? I don't remember it before. I'm working on a Mac Pro using Mac OS X 10.4.7.
    Any help would be much appreciated.

    Ahh thank you so much!
    I don't know how I managed it but it was really annoying me and now its gone. Wonderful.
    Thank you again.

  • Drop Down Menu Problem

    I followed the instructions on cssmenumaker.com, made my menu, downloaded, FTP'd menu folder to site root, placed code in a HTML snippet & published.
    Menu displays on the page, and works, until you actually click a link. The associated page loads in the snippet frame, (unless the link is designated to load in a new window.)
    To be safe, the menu was placed on one page only, a test scratch page that is sort of hidden in the site.
    Here's the link to it. http://www.realtyphotosnw.com/SCRATCH.html
    I'm a shooter, not a coder. Just doing the menu was foreign to me. I have too many pages now to not use a drop down menu. Ideally, I need to make changes to the site and hopefully click to publish without having to manually re-code a page each time it gets a change. Maybe that's wishful thinking, but that's the goal.
    Any help or recommendations are greatly appreciated. Thank You in advance.
    Chris

    Bonjour
    In the code, replace
    target="_self"
    by
    target="_top"

  • Drop Down menu problem/hyperlink

    In the attached file, I cannot get the links on the drop down menu to work (schools, contact us, etc.)  I need them to hyperlink to other pages.
    Any help is appreciated.

    The dropdown links have arrow src refereneces but the last link 'Geom Prod Specifications' doesn't but the arrow is still showing.
    My guess is that the right arrow is hard coded to appear when a child menu is linked to a submenu item.
    Why do you have an arrow on submenu items which don't have child menus linked to them?

  • Drop down menu problem in iPhoto

    Hi, I am new to your forum but I have a question that has been driving me nuts. I bought my first Apple computer last Sept. 8, 2008 after a long time in saving for it. Anyway, I was told that iLife came with it which also included iPhoto, iDVD, Garage Band and a few others.
    Now, when I attempt to use these programs, and I choose a drop down menu from the top title bar, a lot of the options on the menus are in gray, and they do not work. Does this mean the only give you the preview of the program? You can then decide later if you want the full version? Is that how this works? If so, can you tell me how to get the full version.
    Thank you for all your help.
    Sincerely,
    Debbie Cummings

    Debbie
    Welcome to the Apple Discussions.
    when I attempt to use these programs, and I choose a drop down menu from the top title bar, a lot of the options on the menus are in gray, and they do not work. Does this mean the only give you the preview of the program?
    No Debbie you have the full version. However, if these options and commands are not available (are gray) then it means that the objects the operate on are not selected. So, in iPhoto for instance, under the File menu, I cannot ‘Edit a Smart Album’ unless I have selected a Smart Album first. I cannot create an Event unless I have selected a photo to make that Event with, and so on.
    If you’re new to Macs check out here: http://www.apple.com/support/mac101/
    If you’ve switched from Windows, check out here: http://www.apple.com/support/switch101/
    For help with the iLIfe applications specifically: http://www.apple.com/ilife/tutorials/#iphoto
    Regards
    TD

  • No RT drop down menu in sequence with multiclip??

    No RT settings in Multiclip??
    Hi, I'm using an iMac8,1, 2.8 GHz Intel Core 2 Duo, 2 GB 800 MHz DDR2 SDRAM, Mac OS X 10.5.8 with FCP 7.0.2. I shot a live music performance with some VERY low end cameras...just a Sony Cybershot in movie mode: 1280x720, 29.97 frame rate, and a Canon in movie mode: 640x480 (VGA), 30 frame rate, and an iphone 640x480, 17 frame rate.
    I've converted my files in Compressor. I've tried a few different Codecs listed in my Easy Setup such as Apple ProRes 422 (regular, LT, and Proxy) and the Apple Intermediate Codec (AIC). I make the sizes all VGA and make my frame rates all 30. When I put them in my multiclip viewer, there are no RT settings in my sequence; the RT drop down menu on my timeline has no option to select for multiclip playback. All it says is " Play base layer only, use playback seetings, or full quality. I did select multiclip playback in my sequence settings menu but still no luck. I see my 3 angles, I have open selected in my viewer and I'm playing from the timeline.
    Can anyone help? (By the way, this is my first week video editing)... next time I'll try to use 2 of the same cameras!!!

    Greetings.
    Where is your source media located? Internal Drive? External Drive?
    Since you're able to make a Multiclip, it sounds like you've encoded your sources properly. However, I'm a bit confused by your terminology.
    When I put them in my multiclip viewer, there are no RT settings in my sequence
    Can you clarify this statement? How are you creating your multiclip? I've never encountered an issue with RT settings not being selectable. You may need to trash your FCP preferences. There's a free utility that you can download that will help you with that. Preference Manager

  • There used to be a drop-down menu by the foward/back buttons, showing what pages I've visited -- where did that go?

    There used to be a drop-down menu next to the forward/backward arrows, showing the pages that I've visited in that tab and allowing me to skip back to a certain page. Now, in version 4, I have to manually back up to the desired page. One or two pages is fine, but 12 or 20?

    You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
    If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • IE drop down menu problems

    I am currently redesigning a website for the company I work
    in-house for and am having IE problems.
    The site includes both a Accordion Spry and a Spry menu.
    Which look and function as they should in all other browsers except
    IE (but of coarse). What happens is when the site is viewed in IE
    the drop down links have space between them and a gray border
    around the drop down. Also for some strange reason the word "false"
    apaers in the background of the drop down.
    Which I can only conclude is from the imported style sheet,
    but I have no idea why. I have tried removing the spry menu and
    create the menu in css but still no luck.
    If any one can help it will be appreciated.
    Thank you
    The test site is at:
    http://www.leaf-financial.com/newsite/index.html

    Hello,
    The problem for the false is a known bug we have for the Spry
    Menu in a solution for another IE bug. You'll have to go in your
    CSS and look for this class "ul.MenuBarVertical iframe". Inside you
    should add the following line:
    filter:alpha(opacity:0.1);
    and that element behind the menu will disappear. I am not yet
    sure why you have the other problem with the menu spacing but I
    will try to investigate later.
    Cristian

Maybe you are looking for