Computer Forums

Computer Forums (http://www.geekboards.com/forums/index.php)
-   Building Websites (http://www.geekboards.com/forums/forumdisplay.php?f=3)
-   -   JavaScript codes for Web DEV (http://www.geekboards.com/forums/showthread.php?t=4000)

JavaScriptBank 11-29-2009 07:15 PM

JavaScript codes for Web DEV
 
Good and Nice JavaScripts

Virtual Keyboard

This JavaScript integrates complete virtual keyboard solution to the any web page. It does support mouse input, as well as keyboard input translation. Plain text and rich te... detail at JavaScriptBank.com - 2.000+ free JavaScript codes


How to setup

Step 1: Copy & Paste JavaScript code below in your HEAD section
JavaScript
Code:

<script type="text/javascript" src="vk_loader.js" ></script>
        <!--
            This script downloaded from www.JavaScriptBank.com
            Come to view and download over 2000+ free javascript at www.JavaScriptBank.com
        -->

Step 2: Copy & Paste HTML code below in your BODY section
HTML
Code:

<form action="no.cgi" method="get">
      <div>
      Subject:<br />

      <input name="testa" id="testa" type="text" onfocus="VirtualKeyboard.attachInput(this)" /><br />
      Password (has keyboard animation disabled):<br />
      <input name="test_pwd" id="test_pwd" type="password" class="VK_no_animate" onfocus="VirtualKeyboard.attachInput(this)" /><br />
      Text:<br />
      <textarea name="testb" id="testb" type="text" cols="55" rows="10" wrap="soft" onfocus="VirtualKeyboard.attachInput(this)"></textarea>
      <br />
      <br />

      <div id="td"></div>
      <br />
      <input id="showkb" type="button" value="Keyboard" onclick="VirtualKeyboard.toggle('testb','td'); return false;" />
      </div>
      <div id="dbg">
      </div>
    </form>
    <script type="text/javascript">
        EM.addEventListener(window,'domload',function(){
            /*
            *  open the keyboard
            */
            VirtualKeyboard.toggle('testb','td');
            var el = document.getElementById('sul')
                ,lt = VirtualKeyboard.getLayouts()
                ,dl = window.location.href.replace(/[?#].+/,"")
            for (var i=0,lL=lt.length; i<lL; i++) {
                var cl = lt[i];
                cl = cl[0]+" "+cl[1];
                lt[i] = "<a href=\""+dl+"?vk_layout="+cl+"\" onclick=\"VirtualKeyboard.switchLayout(this.title);return false;\" title=\""+cl+"\" alt=\""+cl+"\" >"+cl+"</a>"
            }
            el.innerHTML += "<li>"+lt.join("</li><li>")+"</li>";
        });
    </script>
        <!--
            This script downloaded from www.JavaScriptBank.com
            Come to view and download over 2000+ free javascript at www.JavaScriptBank.com
        -->

Step 3: Download files below
Files
Virtual_Keyboard.zip






JavaScript Line Graph script - JavaScript Virtual Keyboard - JavaScript Horizontal Slider
Quote:

Originally Posted by Copyright
The Site may provide, or third parties may provide, links to non-JavaScriptBank.com Internet World Wide Web sites or resources. Because JavaScriptBank.com has no control over such sites and resources, you acknowledge and agree that JavaScriptBank.com is not responsible for the availability of such external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. You further acknowledge and agree that JavaScriptBank.com shall not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods or services available on or through any such site or resource.



All times are GMT -5. The time now is 10:33 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.