adding virtual keyboard to login form |
[eluser]kresimir[/eluser]
Hi, i found nice keyboard.js code for using virtual keyboard on input data via touchpanel. It works great in input form like: Code: <h3>Login form</h3> Code: <tr> I found it on:http://www.greywyvern.com/code/javascript/keyboard
[eluser]yacman[/eluser]
Your code is producing the following html source: Code: <input type="text" name="username" value="" class="keyboardInput" size="20"> Make sure that you are wrapping your <table> with a <form> element. This may be why you don't see the JS binding.
[eluser]kresimir[/eluser]
Thnx, the problem was in a path for css and js file! It work great...
[eluser]kresimir[/eluser]
I installed "Simple Login with CodeIgniter" from: http://www.codefactorycr.com/login-with-...r-php.html. I installed files under ci/application folder maps:views,models and controllers. Also i installed keyboard.js keyboard.css and keyboard.png file. For them i opened under ci/css ci/js and ci/images maps. In the keyboard.js i change the path for the picture keyboard.png from:"keyboard.png" to "images/keyboard.png" On opening the local site http://localhost/ci i get login form and picture of the keyboard. All work fine till i press Login button. Than CI change my base url from: http://localhost/ci to http://localhost/ci/index.php/verifylogin and i lost keyboard.png picture. In config.php i have: Code: $config['base_url'] = ''; I lost the virtual keyboard. How can I get the same screen like on openning the initial site: "localhost/ci" instad of the "localhost/ci/index.php/verifylogin" ? |
Welcome Guest, Not a member yet? Register Sign In |