Logout button and Page submission problem

{color:#000080}Hi All,
We have logout buttons on every page of our application. The problem is that if the user clicks on any part of the page, even on the group-panel, the logout button gets the focus and a hit on the enter key causes the user to log-out.
I want that the logout button, should not get any focus unless and until it is clicked by the user to logout.
Any help will be highly appreciated.
Thanks,
Sheen
{color}

Here is what I do.
Create a page fragment that contains the logout link/button.
I use this in a menu panel page fragment or a header panel page fragment.
That way, you can just add the page fragment and don't have to duplicate code on every page.
The only thing you have to do is make sure the navigation is set up properly.
For example. I create a menu page fragment with buttons that go to each page of my application.
The menu page fragment has all the logic to return the proper navigation string.
The page fragment is incorporated into the page.
You have to set up the navigation rules for each page, but do not have to include the button logic since it is included with the page fragment.
This also isolates you from the problem where a return activates the logout button.
As an aside, you might want to trap the return keypress and direct it where you want or toss it.

Similar Messages

  • Hide or disable logout button and welcome text

    How to hide or disable logout button and welcome text in page?

    BODY:
    <div id="header">
      <div id="logo"><a href="#HOME_LINK#">#LOGO##REGION_POSITION_06#</a></div>
      #REGION_POSITION_07#
      <div id="navbar">
        <div class="app-user">#WELCOME_USER#</div>
        #NAVIGATION_BAR#
        #REGION_POSITION_08#
      </div>
    </div>
    <div id="tabs">
      <div class="frame">
        <div class="bg">
          <div class="tab-holder">
          </div>
        </div>
      </div>
    </div>
    <div id="topbar">#REGION_POSITION_01##REGION_POSITION_04#</div>
    <div id="messages">#SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#</div>
    <div id="body">
      <div id="three-col">
        <div id="left-sidebar">#REGION_POSITION_02#</div>
        <div id="two-col-tbl">
          <table class="tbl-body" cellspacing="0" cellpadding="0" border="0" summary="">
            <tbody>
              <tr>
                <td class="tbl-main" width="100%">#BOX_BODY#</td>
                <td class="tbl-sidebar">#REGION_POSITION_03#</td>    
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>

  • Animated gif and page refresh problem

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

  • Home button and page lock

    Is it at all possible to lock the home button and lock the ipad on a
    page/screen? My 17 mo old granddaughter loves to play with her apps but continously hits the home button and gets frustrated when her apps close. Gramma would love to lock the pad on the screen with the baby apps so my calendar, contacts, etc don't get tampered with by my electronic genius baby girl!

    Your granddaughter is likely old enough now that this may not still be a problem for you. But for the sake of information, there are a few solutions, some of which were not around until recently:
    1) Jailbreak your phone and install the IncarcerApp, which can disable the home button. Probably only a solution for those who already have jailbroken their device (which, of course, Apple is not a fan of, so it technically voids the warranty).
    2) Get a BubCap home button cover. It's like your black tape idea, but they are thick enough to physically deter toddlers from pressing the home button. The clever thing is, the BubCaps are still flexible enough for parents to active the home button. They work on iPads, iPhones, and iPod touches.
    3) Coming July 2011 from Fisher-Price is a slobber-proof case for iPhones and iPod touches that actually cover the home button. It won't help with an iPad, but figured the info might help someone reading this thread.

  • Safari back button and page jump

    Hi. I'm using Safari 6.0.3 on MacBook Air.
    When I click the back button the previous page is reloaded fine. However, Safari does not jump down to the place on the page I was last. This is tiresome when dealing with long lists (e.g., ebay results pages). All other browsers I use do this. Any help? Thanks!

    Same thing with my 64GB WIFI/3G iPad after ios 4.2.1 update. However, with me, it is seemingly on a random basis 20-30% of the time.
    Google search---> search results----> view one of the search results----> back button----> EMPTY PAGE.
    However, hitting the reload icon in URL bar on the empty page brings back search results, so livable.

  • Creating Logout button and invalidating session

    Hello All:
    I'm new to java and I'm trying to figure out how to log a user out of a web servlet. Basically I just have a link that returns the user to the first servlet (my login servlet) called log out. I am wondering if when I click on that link (or do I need to make it a button) that I can tell the servlet to invalidate the session I have created, therefore allowing a new user to login from the login servlet.
    I honestly have no idea how to go about this. The following is my code from another servlet in my group:
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * @author Owner
    * @version
    public class Item1ServletHW2 extends HttpServlet {
    /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
    * @param request servlet request
    * @param response servlet response
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html;charset=UTF-8");
    PrintWriter out = response.getWriter();
    HttpSession session = request.getSession(true);
    String getuser = (String)session.getAttribute("getuser");
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Servlet Item1ServletHW2</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("<form action=>");
    out.println("<table border=1 align=center width=65%>");
    out.println("<tr><td align=center bgcolor=blue colspan=3><font color=white size=3>Welcome to the Music CDs Page </font><font color=red size=3><b>"+getuser+"</b></font></td></tr>");
    out.println("<tr><td width=60% bgcolor=green align=center><font size=2 color=white><b>Item</font></td>");
    out.println("<td width=10% bgcolor=green align=center><font color=white size=2><b>Unit Price</b></font></td>");
    out.println("<td width=40% bgcolor=green align=center></td></tr>");
    out.println("<td bgcolor=green align=left><img src=coldplay.jpg><font color=white size=2>ColdPlay X&Y</font></td>");
    out.println("<td bgcolor=green align=center><font color=white size=2>$19.99</font></td>");
    out.println("<td bgcolor=green align=center><input type=button name=addcart2 value=Add to Cart></td>");
    out.println("</tr>");
    out.println("<td bgcolor=green align=left><img src=oakenfold.jpg><font color=white size=2>Oakenfold - The Club</font></td>");
    out.println("<td bgcolor=green align=center><font color=white size=2>$17.99</font></td>");
    out.println("<td bgcolor=green align=center><input type=button name=addcart1 value=Add to Cart></td>");
    out.println("</tr><tr><td colspan=3 align=center><font size=2 color=white><a href=CatServletHW2>Main Catalog</a> | <a href=ShopCartServletHW2>View Cart</a> | <a href=RegLoginServletHW2>Log Out</a></font></td></tr>");
    out.println("</body>");
    out.println("</html>");
    out.close();
    The Log Out link is the one I want to check when clicked, and if so, invalidate my session before the user is redirected to the RegLogin Servlet. Any help would be greatly appreciated. Thanks so much :).

    I understand how to invalidate the session, but with this example:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class logout extends HttpServlet
              public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException
                   res.setContentType("text/html");
                   PrintWriter pw = res.getWriter();
                   HttpSession ses =req.getSession();      
                   ses.removeValue("desi");
                   ses.removeValue("Login");
                   ses.removeValue("password");                    
                   res.sendRedirect("http://localhost:8080/examples/servlets/login.html");                    
    How can I get this to process when clicking a link called "Log Out", or is there a way to create an onClick button that invalidates the session when clicked. Maybe something like this:
    onClick="session.invalidate();response.sendRedirect("somewhere");>
    Thanks for the helps, but I'm still a bit confused :).

  • Hold Button and Headphone Jack problems (not a question, DO NOT ANSWER)

    I received an old iPod with color display when the hold button appeared to be locked. The previous owner gave it to me for free. I waited about 3 years and finally looked into actually opening and fixing it. It turns out that a small ribbon cable connects the headphone jack and hold switch to the motherboard. The cable simply came out of its jack on the motherboard. All that was needed to fix the problem was simply opening the iPod and reconnecting the cable. For information on how to open your iPod's case check this link:
    http://www.youtube.com/watch?v=g21_JdLtJW8
    The blue tool pictured is not necessary. A few flathead precision screwdrivers work perfectly. Try it and good luck!

    P.S.
    The hold button was constantly locked and had no control.

  • Pages and page setup problems

    I love my mac and love pages but sometimes I wanna chuck it out the window.
    Here is why - I have been working on my thesis and was inserting some table in the pages doc. No problem. Except that the tables are in horizontal layout/orientation while the doc is in vertical layout/orientation so the table doesnt fit in. Now on a PC I would to to page setup and change the page layout/orientation for that page only except it seems it doesnt work here. I change the layout/orientation for all pages or no pages. Same thing is if I want to have an envelope and a letter in the same document. Same thing in Word for mac. Which is kind of a problem as it means I have to create a template on my PC and then move it to my mac to work.
    Am I missing something silly? Is there a trick I can do?

    Sparky1979 wrote:
    Which is kind of a problem as it means I have to create a template on my PC and then move it to my mac to work.
    Sparky,
    Creating a template in Word in an attempt to work around a program design choice in Pages would be a very bad option, with little chance of success.
    A landscape page is a portrait page with the content rotated 90 degrees. I think that the only things in your Pages job that can't be rotated are the Header and Footer fields, and those probably are best left alone in this case anyway. So, here's the trick. Insert a table, make sure that it is Floating, not Inline, and then rotate it 90 degrees and adjust it's position on the page. You can edit the table either before or after you rotate it.
    Similarly, envelopes could be included in the document by rotating text fields, but it's not clear to me what purpose it would serve since it would complicate printing.
    Jerry

  • Delete regions items buttons and pages using sql.

    Hi,
    Is there any way to delete from apex pages, regions, items and buttons using sql.
    I noted that in SQL Developer a display of these objects is enabled, but no actions can be carried out on them from what I can see.
    Ben

    Hi and welcome,
    do search in the [Java Database Connectivity (JDBC) forum|http://forum.java.sun.com/forum.jspa?forumID=48], I'm sure you'll find a few examples there.

  • J2ee security and page flow problem

    To give more details about the problem I have, user likes to put a URL in the browser, then press enter. User likes to see the running results. However, user is not able to see the results because j2ee security requires user log in. After sucessful login, user is going to see the index page. My question is how user be able to view his result page after login.
    cheers.

    In the future, please post JSP/Servlet questions in the appropriate forum: http://forum.java.sun.com/category.jspa?categoryID=20
    This is pretty simple to do:
    1) set up a Filter that applies to a specific url pattern, such as " /protected/* " so that the Filter is invoked when resources within the "protected/" path get accessed
    2) in the Filter code, store the user's desired path in the session scope (let's call it "loginRedirectFrom") and redirect the user to the login screen.
    3) in your login servlet/jsp, after the user has been verified, redirect to the url you stored in "loginRedirectForm".

  • On/off button and customer relationship problem in Istanbul

    like most people i have a problem with my on/off button (iphone 5).
    last week i saw the info about Apple's replacement program about iphone 5 with this issue.
    i checked mey serial number and it was eligible for the program.
    yesterday i went to apple store in Istanbul, they also checked my serial number and verified that it is eligible for replacement program.
    they told me to get an appointment from their web site for genius bar.
    last night i checked the site and it told me there is no valid date for appointment.
    i tohught that maybe it was a temporary situtation. i checked this morning and afternoon and still i am getting the same error "no valid date".
    then i decided to call Apple Store Istanbul to see if there is anything else i can do.
    the girl on the phone told me there is a problem of getting an appointment for genius bar online for 3 weeks and you cant get an appointment in any other way.
    actually they dont care what you need or how to solve a problem. i asked her 3 times what should i do now ? she told me maybe you can try after 12 pm on sunday.
    maybe it ll work to get an appointment online. i asked if i can speak to someone who can help me or show me any other way. but the answer is simple; NO.
    what should i do ? i ll be glad if someone can help me or show me a way.
    Thank you
    Can Ozkurt

    Hi Can,
    i wondered if you managed to get an appointment at the Genius Bar in Istanbul.
    I have a iPhone 5s which is completely dead (hardware problem diagnosed by iTunes)  and have been informed by apple support that I'm eligible for a replacement. I'll be traveling from N Cyprus but I'm finding it impossible to get an appointment. I've been trying for days. 
    This as you know is very frustrating. I wondered if you had any advice.
    Many thanks

  • Spry, Mousover-Buttons and Email-Form problem. Site is 100% error free.

    My site: http://www.wientjesvoegwerk.nl/
    Its xhtml1.0 and css validated.
    I have a few problems however.
    This was how i did it first:
    <li class="TabbedPanelsTab" tabindex="0">
              <style>#Home a{display:block;color:transparent;} #Home a:hover{background-position:left bottom;}a#Home {display:none}</style>
              <table id="Home" width=0 cellpadding=0 cellspacing=0 border=0><tr>
              <td style="padding-right:0px" title ="Home">
            <a href="javascript:TabbedPanels1.showPanel(1);" title="Home" style="background-image:url(../Buttons/Home.png);width:172px;height:75px;display:block;"><br/></a></td>
              </tr></table>
              </li>
    As you see i use Spry tabbed panels. In a tab i put code wich shows a button with mouse over.
    Changing the code so my site would be 100% validated resulted in a broken button.
    The button works but loses its mouseover function.
    This is it now:
    <li class="TabbedPanelsTab">
            <table id="THome" >
              <tr>
                <td style="padding-right:0px" title ="Home"><a href="javascript:TabbedPanels1.showPanel(1);" title="Home" style="background-image:url(Buttons/Home.png);width:172px;height:75px;display:block;"><br/>
                </a></td>
              </tr>
            </table>
          </li>
    I tried everything. When using the code above the validator has errors, when using the one below, i lose mouseover...
    The validator says <style> tag isnt allowed.
    How do i solve this problem? I hope someone can help me out...
    Also i have another problem.
    I searched for safe email forms and hit this site: http://www.webbyzone.com/2010/01/10/make-xajax-phpmailer-contact-forms-work/
    It looks pro but i cant get it working. A little help would be appreciated...
    And i cant get my footer down to the bottom since i used Spry. Any help here also would be nice.
    xhtml site:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
         <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
         <title>Wientjes Voegwerk &amp; Renovatie - Home</title>
        <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
        <link href="CSS/Style.css" rel="stylesheet" type="text/css" />
         <meta http-equiv="Content-Language" content="NL" />
         <meta http-equiv="imagetoolbar" content="no" />
         <meta name="MSSmartTagsPreventParsing" content="true" />
        <meta name="description" content="Wientjes Voegwerk en Renovatie is een voeg- en renovatiebedrijf gespecialiseerd in gevelrenovatie. Dagelijkse werkzaamheden zijn het voegen van nieuwbouwwerk, en alle voorkomende vormen van gevelrenovatie. Ik geef uw woning, garage of schoorsteen de aandacht die het verdient en ben trots op het resultaat van mijn werk!"/>
        <meta name="keywords" content="Voegwerk, Renovatie, Reinigen, Impregneren, Muur, Voegen, Steen, Woning, Garage, Schoorsteen, Bedrijf, Gevel, Wientjes, Uitslijten, Kappen, Fundering, Vorstschade, Metselen, Metselwerk, Vocht" />
        <meta name="author" content="Rob Nijlaan" />
    </head>
    <body>
    <div id="WContainer">
           <div id="WHeader" align="center">
             <img src="Pictures/VoegenRenLos.png" width="540" height="58" alt="Voeg en Renovatiebedrijf" /><br />
        <img src="Pictures/WientLogo.png" width="600" height="136" alt="Wientjes Voegwerk &amp; Renovatie" /></div>
         <div id="TabbedPanels1" class="VTabbedPanels">
           <ul class="TabbedPanelsTabGroup">
           <li class="TabbedPanelsTab">
            <table id="THome" >
              <tr>
                <td style="padding-right:0px" title ="Home"><a href="javascript:TabbedPanels1.showPanel(1);" title="Home" style="background-image:url(Buttons/Home.png);width:172px;height:75px;display:block;"><br/>
                </a></td>
              </tr>
            </table>
          </li>
          <li class="TabbedPanelsTab" >
            <table id="TInfo" >
              <tr>
                <td style="padding-right:0px" title ="Info"><a href="javascript:TabbedPanels1.showPanel(2);" title="Info" style="background-image:url(Buttons/Info.png);width:172px;height:75px;display:block;"><br/>
                </a></td>
              </tr>
            </table>
          </li>
          <li class="TabbedPanelsTab" >
            <table id="TGallerij" >
              <tr>
                <td style="padding-right:0px" title ="Gallerij"><a href="javascript:TabbedPanels1.showPanel(3);" title="Gallerij" style="background-image:url(Buttons/Gallerij.png);width:172px;height:75px;display:block;"><br/>
                </a></td>
              </tr>
            </table>
          </li>
          <li class="TabbedPanelsTab" >
            <table id="TContact" >
              <tr>
                <td style="padding-right:0px" title ="Contact"><a href="javascript:TabbedPanels1.showPanel(4);" title="Contact" style="background-image:url(Buttons/Contact.png);width:172px;height:75px;display:block;"><br/>
                </a></td>
              </tr>
            </table>
          </li>
          <li>
            <p class="footer"><br />
              <br />
              <br />
              <br />
              <br />
              Wientjes Voegwerk en Renovatie<br />
              <br />
              tel; 06 - 221 464 28<br />
              <br />
              kvk; <br />
              <br />
              <a href="http://jigsaw.w3.org/css-validator/check/referer"> <img style="border:0;width:88px;height:31px"
            src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
            alt="Valide CSS!" /> </a><br />
            <a href="http://validator.w3.org/check?uri=referer"><img
            src="http://www.w3.org/Icons/valid-xhtml10-blue"
            alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a> </p>
           </li>
          </ul>
           <div class="TabbedPanelsContentGroup">
    <div class="TabbedPanelsContent" id="Home">
                       <h1>Welkom Bij Wientjes Voegwerk en Renovatie!</h1>
          <p>Wientjes Voegwerk en Renovatie is een voeg- en renovatiebedrijf gespecialiseerd in gevelrenovatie.<br />Dagelijkse werkzaamheden zijn het voegen van nieuwbouwwerk, en alle voorkomende vormen van gevelrenovatie.<br />Ik geef uw woning, garage of schoorsteen de aandacht die het verdient en ben trots op het resultaat van mijn werk!<br /><br />Wientjes, J </p>
          <h2>Voegen/Renovatie/Reinigen &amp; Impregneren. </h2>
    <table border="0" align="right"><tr><td>
    <a href="Foto/Foto's telefoon1 075.jpg"><img src="Foto/Foto's telefoon1 075.jpg" alt="Muur met Steiger" width="379" height="354" align="right" />
    </a></td></tr><tr><td><center>klik op de foto voor een groter voorbeeld</center></td></tr></table>
      <p>Vaak wordt er bij het kopen van een woning weinig aandacht besteed aan het voegwerk. Er wordt alleen gekeken naar hoe een woning is gebouwd.<br />Een voeg bepaalt echter wel het aanzicht van een woning. Van een goed aangebrachte voeg heeft u uiteraard veel langer plezier. <br />Renovatie bestaat voornamelijk uit het uitslijpen of kappen van het oude voegwerk. Waar nodig het verwijderen van scheuren die zijn ontstaan door:</p>
      <ul>
        <li>
          <p>
            Verzakking van de fundering
          </p>
        </li>
        <li>
          <p>
            Slecht voegwerk
          </p>
        </li>
        <li>
          <p>
            Vorstschade
          </p>
        </li>
        <li>
          <p>
            Doorhangen of ontbreken van ...
          </p>
        </li>
      </ul>
      <p>Bij gevelvervuiling van uw woning kunnen er problemen ontstaan die het wooncomfort negatief kunnen beïnvloeden.<br />Wanneer de voeg is aangetast of het metselwerk is door vorstschade beschadigd, kunnen er vochtproblemen in huis ontstaan.<br />Mos en alg hechten zich goed aan beschadigde stenen en voegwerk. <br /><br />Door middel van impregnering wordt een woning waterafstotend gemaakt.<br />Dit betekent dat het voeg- en metstelwerk jarenlang wordt beschermd tegen weersinvloeden. <br />Ook is impregnering beter voor de isolatie van de woning.</p>
    <p align="left"><img src="Pictures/TelnrLos.png" width="525" height="49" align="top" alt="Telefoonnummer"/></p>
                             </div>
                       <div class="TabbedPanelsContent" id="Info">
                    test2
                       </div>
                       <div class="TabbedPanelsContent" id="Gallerij">
                    test3
                       </div>
                            <div class="TabbedPanelsContent" id="Contact">
                    <?php echo '<div id="contact_result">'.$form.'</div>'; ?>
                    </div>
        </div>
        </div>
        <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    //-->
    </script>
         <div id="WFooter" align="center">
             <p class="footer">Wientjes Voegwerk &amp; Renovatie     ,    03- '02         »        Site by ;    <b>Rob Nijlaan</b>        »        Problemen of vragen over deze site?    -    <b><a href="mailto:[email protected]">[email protected]</a></b></p>
         </div>
    </div>
    </body>
    </html>
    CSS script:
    @charset "utf-8";
    /* CSS Document */
    html,body {
         height:100%; /* needed for container min-height */
         width:100%;
         background: #FFFFFF url(../Pictures/Background.png) no-repeat center;
         color:#000;
    h1{
    font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; color: #595999;
    font-weight: bold;
    font-style:italic;
    font-size: 230%;
    h2{
    font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; color: #595999;
    font-weight: bold;
    font-size: 180%;
    p{
    font-family: "Verdana", verdana, arial, helvetica, sans-serif;
    font-size: 100%;
    .footer{
    font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
    font-size: 70%;
    text-align:center;
    #WContainer{
         position:absolute;
         margin:0 auto;
         width:80%;
         background:none;
         height:auto;
         height:100%;
         min-height:100%;
         margin-left: 10%;
         margin-right: 10%;
    #WHeader{
         height: 195px;
         width:100%;
         margin-bottom: 10px;
         margin-left: 0px;
         margin-right: 10px;
    .VTabbedPanels .TabbedPanelsTabGroup {
         float: left;
         width: 172px;
         height: 75px;
         background-color: #FFF;
         position: relative;
         border-top: solid 0px #FFF;
         border-right: solid 0px #FFF;
         border-left: solid 0px #FFF;
         border-bottom: solid 0px #FFF;
    .VTabbedPanels .TabbedPanelsTab {
         float: none;
         margin: 0px;
         border-top: none;
         border-left: none;
         border-right: none;
    .VTabbedPanels .TabbedPanelsContentGroup {
         margin-left: 220px;
         width: auto;
         height: auto;
         min-height:50%;
         max-width:83%;
         min-width:500px;
         padding: 20px 20px 20px 20px;
         border-left: solid 1px #999;
         border-bottom: solid 2px #999;
         border-top: solid 1px #999;
         border-right: solid 2px #999;
    #WFooter{
         clear:both;
         height: 30px;
         margin-top:1px;
    ul
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    li
    list-style-type: none;
    padding: 0px;
    margin: 0px;

    I finnaly knew what was wrong with the buttons.
    This is my renewed code:
    HTML:
    <li class="TabbedPanelsTab">
         <table class="Button">
              <tr>
                   <td style="padding-right:0px" title ="Home">
                        <a href="javascript:TabbedPanels1.showPanel(1);" title="Home" style="background-image:url(../Buttons/Home.png);width:172px;height:75px;display:block;"><br /></a>
                   </td>
              </tr>
         </table>
    </li>
    CSS:
    .Button a{display:block;}
    .Button a:hover{background-position:left bottom;}
    a.Button {display:none}
    My only problem is the Footer that is in top instead bottom.
    And the mail form from: http://www.webbyzone.com/2010/01/10/make-xajax-phpmailer-contact-forms-work/
    wich wont work so far...

  • Share Button and Notification Center Problem -  Facebook and Twitter

    My share button (Safari) does not work with Facebook. When I click, it freezes Safari. And Twitter and Facebook Notification Center also not work. I click and nothing happens. My ML is already updated, but not solved the problem.

    I know the ans...first install os x mountain lion again above all your installation..then see the build it should be.. (12c60) then..update every thing..but dont install or update..."update for macbook pro and macbook air 2.0 "it is the culprit ...then hide that update..and remember to install offline version of combo and supplement update 10.8.2..ok..as sometimes when ur notification cetre not work then installoffline "combo and supp" updates...ok..REMEMBER NOT TO INSTALL MACBOOK AIR AND MACBOOK PRO 2.0 UPDATE...PLZ...AND USE UR SYSTEM...!! follow me https://www.twitter.com/ankit8083   https://www.facebook.com/ankit8083...good luck..DONT CHANGE UR BUILD..AS IF U WILL CHANGE IT THEN UR SHARE BUTTON WILL NOT WORK..IN NEW BUILD..!!And wait for apple to get new build after april 2013...but not download macbook pro and macbook air 2.0 update..which help in graphical improvements and some usb devices...!!

  • Buttons and enter key problem

    hello,
    there are a few projects of enterprise quality which I am developing in java swing. I found out through research that many or rather most people involved with java believe that swing is ready for enterprise class robust desktop applications.
    so I as the team leador am starting my new projects in java swing.
    I personally find that the amount of java libraries present provide a rich set of functionality and it gives big mussle power to the developers.
    I am only concerned about one problem which many of you might have solved.
    I find that I have to hit the space bar instead of enter key to fire an action. in languages like vb I can press enter key to fire the click events. specially in menu items I certainly don't expect my clients to press the spacebar. besides there are many people who are so used to the keyboard and enter key in particular that it will be hard or rather next to impossible to change their habbits.
    how can I make the menu items work with the enter key. I mean do I need to create the code for keypress events every time I also create an action performed method? or is there a way where I can do it without extra coding.
    it is just that I don't want to right extra code for enter key along with click events.
    one more important note.
    I am a blind person and I use the access bridge technology of java.
    so when I am involved in coding, I use the same.
    so may be my problem isn't a problem in the first place.
    kindly provide me some help
    thanks
    Krishnakant.

    The enter-key works on menu-items in all my applications. It did so since I started with java few years ago.
    Maybe some other problem (OS-specific) ?

  • Struts html:button and java script problem

    Given code gives an error "equal symbol expected" what may be the error
    <html:button property="back1"
                   onclick="forwardToPreviousPage('<%=(String)session.getAttribute("projectId")%>')">Back</html:button>

    Try changing onclick to onClick and try...
    regards
    shanu

Maybe you are looking for