Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8287043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:55:50+00:00 2026-06-08T11:55:50+00:00

i follow this link to use the keyboard event by using [Simon mac donald

  • 0

i follow this link to use the keyboard event by using [Simon mac donald Defination][1] In that event i show my footer when keyboard hide and hide my footer when keyboard is show.when click the dictonary my keybord is show but the event is goes to keyboard hide function(so my footer is shown) ..i dont know why..

i attached my code and design .Kindly solve this issue

   <script type="text/javascript">
    $(document).ready(function () 
    {
        document.addEventListener("hidekeyboard", onHide, false);
        document.addEventListener("showkeyboard", onShow, false);

    });
    function onHide() 
    {
        $("#footer").show();
    }

    function onShow() 
    {
        $("#footer").hide();
    }
    </script>
<style type="text/css">

#footer {
    position:absolute;
    bottom:0; left:0;
    width:100%;
    height:7%;
    background-color:#00458D;
    padding:0;
    border-width:3px;
    padding-top:3%;
    padding-bottom:2%;
    padding-right:0px;
    padding-left:0px;
    background-color:#00458D;
}

#content {
    position:absolute; bottom:0;
    top:0;
    width:100%;
    overflow:auto;
}
</style>
  </head>
 <body >
    <div id="content">

        <input type="text" style="width=70%">
            <br/>
            <br/>

        <div id="footer" align="center">
            <table width=100%>
                <input type="image" src="../images/Home.PNG" style="width:23%" onClick="home()"/>
                <input type="image" src="../images/messages-menu.jpg" style="width:23%" onClick="inbox()"/>
                <input type="image" src="../images/settings-menu.jpg" style="width:23%" onClick="settings()"/>
                <input type="image" src="../images/close-menu.png" style="width:23%" onClick="callServiceFunction()"/>
            </table>
        </div>
    </div>
  </body>
</html>

images

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T11:55:51+00:00Added an answer on June 8, 2026 at 11:55 am

    Remove the .ready() function and add the listeners in the deviceready

    <style type="text/css">
    
    #footer {
        position:absolute;
        bottom:0; left:0;
        width:100%;
        height:7%;
        background-color:#00458D;
        padding:0;
        border-width:3px;
        padding-top:3%;
        padding-bottom:2%;
        padding-right:0px;
        padding-left:0px;
        background-color:#00458D;
    }
    
    #content {
        position:absolute; bottom:0;
        top:0;
        width:100%;
        overflow:auto;
    }
    </style>
    <script type="text/javascript">
    document.addEventListener("deviceready",onDeviceReady,false);
    
        function onDeviceReady () {
            document.addEventListener("hidekeyboard", onHide, false);
            document.addEventListener("showkeyboard", onShow, false);
    
        }
        function onHide() 
        {
            $("#footer").show();
        }
    
        function onShow() 
        {
            $("#footer").hide();
        }
        </script>
    
      </head>
     <body >
        <div id="content">
    
            <input type="text" style="width=70%">
                <br/>
                <br/>
    
            <div id="footer" align="center">
                <table width=100%>
                    <input type="image" src="../images/Home.PNG" style="width:23%" onClick="home()"/>
                    <input type="image" src="../images/messages-menu.jpg" style="width:23%" onClick="inbox()"/>
                    <input type="image" src="../images/settings-menu.jpg" style="width:23%" onClick="settings()"/>
                    <input type="image" src="../images/close-menu.png" style="width:23%" onClick="callServiceFunction()"/>
                </table>
            </div>
        </div>
      </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If you follow this link to one of the pages on my site and
Ie., follow this link: http://googleblog.blogspot.com/2012/04/toward-simpler-more-beautiful-google.html Notice, you'll see some spinning gears, and then the
I am trying to follow the examples in this link and this one but
Just a follow up question to this one here => link Is it possible
Sorry to follow this topic http://stackoverflow.com/questions/11044825/javascript-run-on-ie-7 I want to use document.GetElementByClassName ON INTERNET EXPLORE
I'm trying to follow this tutorial here but the tutorial seems to use this
I use ListView with link like this: <ul data-dividertheme=d data-theme=c data-role=listview style=width:100%;margin: 0px >
I'm trying to follow this link for help integrating the linkedin gem with an
I'm using Twitter bootstrap's tabs plugin and it requires the link that activates to
I follow this tutorial online exactly but somehow it's giving me errors. Saying there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.