adding virtual keyboard to login form - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: adding virtual keyboard to login form (/showthread.php?tid=54654) |
adding virtual keyboard to login form - El Forum - 09-18-2012 [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 adding virtual keyboard to login form - El Forum - 09-18-2012 [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. adding virtual keyboard to login form - El Forum - 09-19-2012 [eluser]kresimir[/eluser] Thnx, the problem was in a path for css and js file! It work great... adding virtual keyboard to login form - El Forum - 09-20-2012 [eluser]kresimir[/eluser] I installed "Simple Login with CodeIgniter" from: http://www.codefactorycr.com/login-with-codeigniter-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" ? |